Support Forum

Theme/Styles/Images for plugin icons

DA Dave
Dave
Member

I’m sorry for creating another topic, but I remember Mr. Papa explaining that plugin icons can now be stored in sp_resources/forum-themes/THEME/styles/images to prevent the plugin updates from overwriting the custom icons. I believe he also stated that the above location would be checked prior to the plugin image folders to display the icons.

I’ve searched and checked all threads I’ve participated in and can’t find the reference.

Anyway, I do so with my custom icons for the plugins and today’s Admin Bar plugin update did not function that way. The old default icons have returned.

12 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

I can’t replicate any problem. Have you cleared your browser cache? Actually Firefos sometimes seems to need more than that to completely reload image files!

DA Dave
Dave
Member

It loaded the default icons from the update immediately after the update. I re-uploaded the correct icons and then showed immediately also.

MP Mr Papa
Mr Papa
Member

update of what?  the plugin?  or theme?  do  you have your own theme?

DA Dave
Dave
Member

Plugin updates. I have my own theme. Based on a previous post I moved my custom plugin icons to THEME/styles/images as the post said SP would look there prior to the plugin image folder.

MP Mr Papa
Mr Papa
Member

It does for me… did you name exactly the same as in the plugin?

DA Dave
Dave
Member

Yes, named correctly. When I created the icons I also copied the new icons to the resources/forum-plugins/ root as I suspected they would be overwritten upon updates. Once I read the post about moving to THEME/styles/images I moved the whole bunch to that location and uploaded.

YS Yellow Swordfish
Yellow Swordfish
Member

THEME/styles/images is the wrong folder. That is for images used by the CSS

You want THEME/images.

MP Mr Papa
Mr Papa
Member

ah yes…  tested what I knew, not what I saw in your post… sorry – good catch Andy…

DA Dave
Dave
Member

OK, I’ll make the changes locally and on the host.

Can we correct this post please (found it) to prevent this from happening to someone else? – https://simple-press.com/support-forum/sp5-plugin-topics/related-to-bug-tracker-0002694-plug-in-icon-locations/#p98095