WordPress.org

Ready to get started?Download WordPress

Forums

Imsanity
[resolved] Imsanity changes link in gallery (3 posts)

  1. Ethan
    Member
    Posted 1 year ago #

    I have the images in my galleries set to "Media File" so they will open in a lightbox when clicked.

    After installing Imsanity, then creating a gallery, the photos in the gallery are linking to the attachment page. I double checked the settings -- they are still set to "Media File" -- but the thumbnails link to the attachment page.

    Here's the site, although Imsanity is disabled for now: http://wlheritagefoundation.org/

    http://wordpress.org/extend/plugins/imsanity/

  2. Jason
    Member
    Plugin Author

    Posted 1 year ago #

    If you enable/disable Imsanity but don't change anything else then you can get that behavior to go on and off?

    It doesn't sound like something Imsanity would do because the plugin only kicks in as you are uploading the file. Once the file has been uploaded, Imsanity doesn't have any further interaction with it so I don't see how it would effect it's link settings in a gallary.

    Sometimes if the lightbox javascript is crashing, then instead of the desired behavior of showing in a lightbox - it will go to the link page. This has happened to me before after upgrading WordPress and jQuery gets upgraded. Also some plugins include their own version of jQuery which can create conflicts. (Imsanity does't do this either)

  3. Ethan
    Member
    Posted 1 year ago #

    Thanks for your reply Jason.

    It turns out what I was encountering was a bug in WP 3.5.1 core, notated here: http://core.trac.wordpress.org/ticket/23298

    Sorry for the hassle. It was not Imsanity that was causing the problem. It's a little bit of a tricky bug to understand so it took me a bunch of trial runs to narrow it down -- then my fellow developer found that ticket in trac.

    Thanks again for your reply.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.