WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
[resolved] JQuery Colorbox and WP 3.5 broken (13 posts)

  1. Stargazer74
    Member
    Posted 1 year ago #

  2. Brain Power
    Member
    Posted 1 year ago #

    Yeap, broken.
    Wait when author update plugin.

  3. techotronic
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    what else have you updated along with WordPress?
    Your theme? Other Plugins?

    I don't want to sound condescending, but problems come almost always from changed Themes or other Plugins interfering with the JavaScript that my plugin includes.

    I run multiple WordPress sites with WordPress 3.5.x and my own plugins and never had a problem.

    A link to the site would help.

    Cheers,
    Arne

  4. Stargazer74
    Member
    Posted 1 year ago #

    Hi,

    I've updated nothing than WordPress. The other PlugIn I use is WPCycle.

    The site is http://www.fotocouch.net

    Maybe it's because I updated to 3.5.1?

    BR
    Chris

  5. Stargazer74
    Member
    Posted 1 year ago #

    I have made a test now, installing a complete fresh WP 3.5.1 on my localhost and only the colorbox Plugin. Testing the twenty eleven and twenty twelve theme and it didn't work.

    <div id="gallery-1" class="gallery galleryid-7 gallery-columns-3 gallery-size-thumbnail"><dl class="gallery-item">
    			<dt class="gallery-icon">
    				<a href="http://localhost/fotocouch/?attachment_id=5" title="Desert"><img src="http://localhost/fotocouch/wp-content/uploads/2013/01/Desert-150x150.jpg" class="attachment-thumbnail colorbox-7 " alt="Desert" height="150" width="150"></a>
    			</dt></dl><dl class="gallery-item">
    			<dt class="gallery-icon">
    				<a href="http://localhost/fotocouch/?attachment_id=4" title="Chrysanthemum"><img src="http://localhost/fotocouch/wp-content/uploads/2013/01/Chrysanthemum-150x150.jpg" class="attachment-thumbnail colorbox-7 " alt="Chrysanthemum" height="150" width="150"></a>
    			</dt></dl>
    			<br style="clear: both;">
    		</div>

    It's no "cboxElement" class in the a-Tags.

  6. techotronic
    Member
    Plugin Author

    Posted 1 year ago #

    Works for me:

    screenshot

    Maybe a browser issue?

    Cheers,
    Arne

  7. ratputin
    Member
    Posted 1 year ago #

    I have it running on two sites, same server, different themes. Both worked prior to WP 3.5.1. After the update, one worked, one didn't. Selecting "Use jQuery library version 1.9.0 from Google instead of the one that comes with WordPress" fixed the broken one.

    HTH
    Rat

  8. Stargazer74
    Member
    Posted 1 year ago #

    @techotronic

    Yes I know it works. But the gag is, only with older galleries created with WP 3.4.2. All the older galleries working with WP 3.5.1. But if I create a new gallery the tags won't be set. I don't know why.

  9. Stargazer74
    Member
    Posted 1 year ago #

    Now I have installes a absolute clean WP 3.5.1 on wordpress.fotocouch.net

    You can login with "admin" "passphrase". Only the colorbox Plugin is activated. And it don't work.

  10. techotronic
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!
    the problem is that the galleries do not link from the thumbnail to the large image, but to the attachment page.
    You can set that in the gallery settings. ("link to media file" instead of "link to attachment page")

    This page links to the attachment page
    While this page links to the image files, and the plugin works.

    Cheers,
    Arne

  11. Stargazer74
    Member
    Posted 1 year ago #

    @techotronic

    Yes man, that was the right hint. And now I can reproduce a bug in WordPress. If I create a new gallery, the link to the file is already set. And it don't work.

    You have to change the gallery settings to "link to page", save it. Then you have to go back, set the link to file, save and then it works.

    This seems to be a bug in WP.

    Thank's Arne

  12. Oliver Nielsen
    Member
    Posted 1 year ago #

    I have the same problem after updating to 3.5.
    Cannot link to media files

    You can manually insert this:
    link = "file"
    in your gallery.

    Gallery appears again :)

  13. Andrei G
    Member
    Posted 1 year ago #

    Indeed, this seems to be a WordPress bug, I had the same issue.

    The fix is as follows:

    - Open the Edit Gallery screen, to edit the gallery.
    - On the right, under Gallery Settings, you may see Link To Media file, but that doesn't actually take effect.
    - Simply click the dropdown and select Attachment Page, then click again and reselect Media File. This will force adding the necessary tag in the shortcode.
    - Click Update Gallery and that should do it.

    What this basically does is that it add link="file" in the gallery shortcode (which is missing by default although it should be there by default).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic