WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
[Plugin: Lightbox Plus] Printing PHP 5.x HTML comment in post code (2 posts)

  1. conualfy
    Member
    Posted 3 years ago #

    Lightbox Plus is echo-ing a <!-- PHP 5.x --> code in the content of the posts. Usually it should not have any effect as it's a HTML comment, but as I'm also printing other pieces of code, it's interfering my code.

    This is one example of interference:

    <div class="flickr"><img src="http://localhost/porttricoultau/wp-content/themes/ppt/timthumb.php?src=http://farm6.static.flickr.com/5050/5321877603_9dc2890a8c_b.jpg
    <!-- PHP 5.x -->&h=281&w=342&zc=1&q=100&siteName=devsally" alt="Port tricoul tau Nume sponsor srl"/></div><div class="flickr"><img src="http://localhost/porttricoultau/wp-content/themes/ppt/timthumb.php?src=http://farm6.static.flickr.com/5162/5322480386_a4a0257151_b.jpg
    <!-- PHP 5.x -->&h=281&w=342&zc=1&q=100&siteName=devsally" alt="Port tricoul tau Nume sponsor srl"/></div>

    As you can see, it's printing <!-- PHP 5.x --> in my TimThumb image link and it's not the effect I would expect.

    I don't really understand why you used that echo in line 148 of filter.class.php of Lightbox Plus, but I would suggest to remove it from the following releases.

    Thanks,
    Florin

  2. pvutrix
    Member
    Posted 2 years ago #

    +1

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic