WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
URL to a single image (2 posts)

  1. johnnym26
    Member
    Posted 1 year ago #

    Hello,
    I use Easy FancyBox for my Nextgen gallery (and the rest of my website too) and my question is how to link directly to the "fullscreen" image in fancybox mode in the way that a person can go back to the gallery.

    In other words I want to change URL when somebody looks at a full screen picture (add id #img_100 behind the URL) and if he sends this URL to someone else, he will see this one image in fancybox full screen mode with ability to close it and see other pictures in the gallery.

    Now when I have my gallery and I want to send somebody a URL to the single picture, I send him URL ending with img_100.jpg and he see the image only, he can't close it and see the rest of the gallery.

    Is there a plugin for this? Perhaps it might be a nice feature of Easy Fancybox in the future.

    Best,
    Johnny

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    This is possible only if each image link has a unique ID... Does NextGEN create such an attribute?

    If not by default you might try something like

    class="fancybox" rel="%GALLERY_NAME%" id="%ID%"

    or whatever tag is available... You'll need to ask the NextGENs new owner or search the docs.

    Then you need to add some javascript to your site (can be inside a text widget) as described on http://status301.net/wordpress-plugins/easy-fancybox/comment-page-5/#comment-1222

    After all that, each image can be referenced directly with a link, appended with #theUniqueID upon which it will be opened in FancyBox...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic