Please fix broken image when file name contains spaces
-
Hi,
can you fix the plugin :
When the images names contains spaces, the plugins returns a broken image ?
It’s just 2 modifications in select-random-image.php.
If anyone else need a dirty fix for the widget (you can change the “~” whith anything you want) :Open select-random-image.php.
line 39, change
$imglist .= "$file ";
to
$imglist .= "$file~";
Then line 46 change :
$imglist = explode(" ", $imglist);
to
$imglist = explode("~", $imglist);
Same problem/fix in the random-image-gallery-with-pretty-photo-zoom.php
- The topic ‘Please fix broken image when file name contains spaces’ is closed to new replies.