Checks twice for GIF, no PNG
-
Line 158 in random-image-gallery-with-pretty-photo-zoom.php and line 36 in select-random-image.php checks twice for GIF images.
if(strpos(strtoupper($file), '.JPG') > 0 or strpos(strtoupper($file), '.GIF') >0 or strpos(strtoupper($file), '.GIF') > 0 )
Should be
if(strpos(strtoupper($file), '.JPG') > 0 or strpos(strtoupper($file), '.GIF') >0 or strpos(strtoupper($file), '.PNG') > 0 )
https://wordpress.org/plugins/random-image-gallery-with-pretty-photo-zoom/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Checks twice for GIF, no PNG’ is closed to new replies.