Support » Plugin: Lightbox Plus Colorbox » Don't work on WP 4.4

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello admin found the problem, the problem is the new parameter that is added in images: rel=”attachment wp-att-xxxx”

    When I remove the parameter (rel=”attachment wp-att-xxxx”), the plugin works.

    Example:

    Don’t Work:

    <a href="http://www.myweb.com/wp-content/uploads/2015/12/image.jpg" rel="attachment wp-att-1234"><img src="http://www.myweb.com/wp-content/uploads/2015/12/image.jpg" alt="" width="1000" height="460" class="aligncenter size-full wp-image-1234" /></a>

    Work:

    <a href="http://www.myweb.com/wp-content/uploads/2015/12/image.jpg"><img src="http://www.myweb.com/wp-content/uploads/2015/12/image.jpg" alt="" width="1000" height="460" class="aligncenter size-full wp-image-1234" /></a>

    Please can you fix it?.

    Thank you.

    Here is the solution:
    https://core.trac.wordpress.org/ticket/34826
    For german users (or translate with google) read this tutorial.
    …and lightbox plus worked fine 🙂
    May be is fixed in next wordpress release (4.4.1).

    m266, if I understand you correctly you are saying it’s not a plugin problems but a WP problem.

    Yes, I think.
    Please read this information:
    https://core.trac.wordpress.org/ticket/34826
    Test it self and give feedback in this forum.

    I do mini test – old post, created before WP 4.4 and Lightbox Plus Colorbox work OK.

    Code:

    <a href=".../image.png" rel="lightbox[1234]" title="TITLE"><img class="aligncenter wp-image-1234 size-full" src=".../image.png" alt="ALT" width="1000" height="800" srcset=".../image-650x415.png 650w, .../image.png 1000w" sizes="(max-width: 1000px) 100vw, 1000px" /></a>

    Next I edit that post, remove image and insert once again. Save and Lightbox Plus Colorbox not work at this img:

    <a href=".../image.png" rel="attachment wp-att-1234" title="TITLE"><img class="aligncenter size-full wp-image-1234" src=".../image.png" alt="ALT" width="1000" height="800" srcset=".../image-650x415.png 650w, .../image.png 1000w" sizes="(max-width: 1000px) 100vw, 1000px" /></a>

    Work: <a… rel=”lightbox[1234]”
    Not work: <a… rel=”attachment wp-att-1234″

    Have you read this information?
    https://core.trac.wordpress.org/ticket/34826

    You must edit the file “media.php”.
    See my german tutorial, picture 1:
    http://www.web266.de/tutorials/wordpress/wordpress-update/update-4-4/

    I have tested with posts and pages and it works.

    Working!!
    Thank you so much, m266 san.

    Thanks for the fix! But I’ve now got nearly 15,000 old posts for which the Lightbox no longer is being utilized, and I’ll be damned if I’m going to go in and delete the link reference to each of those images. That’s a shame.

    I know this “problem”, but mod WP core is only temp fix – I install other lightbox plugin, and they work at new post and old (!).

    @m266: Your “german tutorial” link give 403 error code.

    @firsttracks:
    Old posts and pages worked in lightbox plus without the hack in media.php. Only new posts/pages don’t work.

    @prcpl:
    Which other plugin do you use?

    (Your “german tutorial” link give 403 error code)
    What country are you calling my websites? I have blocked some countries because of spam.

    @266 From PL and I don’t SPAM 🙂

    Now I use/test: Responsive Lightbox by dFactory

    + Responsive
    + Work for new (4.4+) and old (<4.4) post

    Best regards

    @prcpl:
    I have PL temporarily allowed and hope it does not come back spam 🙂
    # SetEnvIf GEOIP_COUNTRY_CODE PL BlockCountry
    You can now read my tutorial.
    Responsive Lightbox by dFactory is an alternative.

    The same problem on WP 4.4.1 🙁
    Please use my solution.

    Best regards

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Don't work on WP 4.4’ is closed to new replies.