I have been using the code found here: http://theundersigned.net/2006/09/slideshowpro-and-wordpress/
to make my slideshowpro work with wordpress. However, when I upload an image with the extension JPG instead of jpg, the thumbnails don’t work because the str_replace only replaces the “.jpg” with “.thumbnail.jpg” but NOT “.JPG”
Is there a way to make wordpress change the extension from JPG to jpg on upload?
figured another way around it
In the post_gallery file where the str_replace occurs, replace:
<?php echo str_replace(“.jpg”, “.thumbnail.jpg”, $image->guid); ?>
————————–
with:
<?php $albumthumb=str_replace(“.jpg”, “.thumbnail.jpg”, $image->guid)?><?php echo str_replace(“.JPG”, “.thumbnail.JPG”, $albumthumb)?>
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Image file extensions- Slideshowpro and WordPress’ is closed to new replies.