General plugins

Slideshow module again

 
 
Picture of Michael Veit
Re: Slideshow module again
 

"The thumbnails in the caption page will be displayed only if the file is really ending with the extension jpg.

I haven't been able to reproduce this, .png and .jpg files both show the thumbnail on the caption editing page for me."

 

OK. Probably it is caused by the uppercase. To accept uppercase and lowercase in the file extension, add in lib.php in line 345 "i":

Zele 345: if (  preg_match("/\.jpe?g$/i", $file_record->filename) || preg_match("/\.gif$/i", $file_record->filename) || preg_match("/\.png$/i", $file_record->filename))

Regards
Michael

 
Average of ratings: -
Picture of PBSL John
Re: Slideshow module again
 

Fixed it and pushed to the repo. Thanks for your input smile

 
Average of ratings: -