Support » Plugin: WP Featured Content Slider » [Plugin: WP Featured Content Slider] Images don't show

Viewing 1 replies (of 1 total)
  • Seems to be a problem with the timthumb.php that the plugin uses to crop the thumbnails. At least that was it for me. If you change line 144 in content-slider.php, you can get rid of that problem. Not sure if this is really best practice, but it did allow the images to start showing up again.

    Line 144 tries to get

    <img src="<?php echo $direct_path;?>/timthumb.php?src=<?php echo $thumb;?>&h=<?php $img_height = get_option('img_height'); if(!empty($img_height)) {echo $img_height;} else {echo "200";}?>&w=<?php $img_width = get_option('img_width'); if(!empty($img_width)) {echo $img_width;} else {echo "320";}?>&zc=1" />

    And there’s something wrong with that path. I changed it to

    <img src="<?php echo $thumb;?>&h=<?php $img_height = get_option('img_height'); if(!empty($img_height)) {echo $img_height;} else {echo "200";}?>&w=<?php $img_width = get_option('img_width'); if(!empty($img_width)) {echo $img_width;} else {echo "320";}?>&zc=1" />

    and I just make sure that the images are a good size to start with.

    Would welcome any advice to do this better!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Featured Content Slider] Images don't show’ is closed to new replies.