WordPress.org

Support

Support » Plugins and Hacks » Easy FancyBox » [Plugin: Easy FancyBox] URL to a single image

[Plugin: Easy FancyBox] URL to a single image

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH

    @ravanh

    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…

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Easy FancyBox] URL to a single image’ is closed to new replies.
Skip to toolbar