Using PNG images
-
The FAQ gives instructions for using PNG instead of GIF images. But, those instructions are not correct because the PNG stars are not actually located in the same directory and changing the extension constant does not change the folder where the stars should be located. To make it work you need to also copy the PNG stars to the /images/stars directory.
But, I have more general questions:
1. The PNG images are 16×16 whereas the GIF images are 12×12. Not a problem really, but why?
2. Why use GIF at all? It is a small thing (literally and figuratively), but since Google prefers optimized PNG images in their speed test why not just use PNG for all images. Conversion and optimization is easy to accomplish.
3. Offering alternatives is great, but why not offer them in the options page?
4. Changing the core code of your plugin directly just means that when you update your plugin the changes will be lost which kind of defeats the purpose. Since no sort of enqueueing is used and neither are the stars loaded via CSS, it is hard to make good child theme modifications that will survive plugin updates.
I think this is a great plugin, but these are small changes that I hope you will consider which will improve the plugin further.
- The topic ‘Using PNG images’ is closed to new replies.