WordPress.org

Ready to get started?Download WordPress

Forums

WP Smart Image II
[resolved] Bug in Version: 0.2 (4 posts)

  1. dariodev
    Member
    Posted 3 years ago #

    Hello and first of all thanks for this great plugin.

    I have found a bug in Version 0.2. In WP 3.0.1 after upgrading 0.1.5 to 0.2 all thumbnails from "Image to show" box are missing. Also in WP Smart Image II - Settings there is Warning: Cannot modify header information - headers already sent by (output started at ...\wp-admin\admin-header.php:19) in ...\wp-content\plugins\wp-smart-image-ii\wpsi.php on line 612.

    I have found workaround for missing thumbnails. In wpsi.php at line 841 I have changed operator "==" in "=". So "if ( $item == wp_get_attachment_image_src($imagen->ID, 'thumbnail') )" becomes "if ( $item = wp_get_attachment_image_src($imagen->ID, 'thumbnail') )".
    This is workaround for missing thumbnails in "Image to show" box, but Warning in Settings remains. Don't know are those two things connected or not.

    http://wordpress.org/extend/plugins/wp-smart-image-ii/

  2. Dario Ferrer
    Member
    Plugin Author

    Posted 3 years ago #

    dariodev,

    Thank you for the missing image solution. Works fine on my end :D

    On the other hand, sorry for the time off. I hadn't seen this post till now.

    About the "headers sent" error, only appears on PHP 5.2.X and below. On the next version I'll remove all redirections while this issue is not resolved.

    Thanks again.

  3. thatwastaxing
    Member
    Posted 3 years ago #

    Thanks dariodev. That fixed it for me.

  4. dariodev
    Member
    Posted 3 years ago #

    I'm glad I was able to help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic