WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Default to PicLens (4 posts)

  1. mboggan
    Member
    Posted 5 years ago #

    Is there a way to set NextGen Gallery to default to PicLens so that when they click on any image in the gallery it opens piclens and not the normal view?

  2. derdude
    Member
    Posted 5 years ago #

    This is exactly what i am looking for.
    A click on the page containing the albums galleries should use piclens by default to display the gallery.
    Any help would be appreciated.

  3. OceanRock
    Member
    Posted 5 years ago #

    I also would like my site viewers to click on any image in the gallery and have it open in piclens instead of the normal view. Anyone out there who can help?

    You can see why this would create a better experience by checking out this page of mine http://oceanrockproperties.com/2009/05/30/poipu-kapili-oceanfront-condos-kauai/

  4. mvincik
    Member
    Posted 5 years ago #

    I read your guys post. I don't know if this will help but I was looking to do the same thing or something similar. This is what I did to get everything working. I setup a new page template that I assigned to my portfolio page. In the page template I created right after

    <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>

    I entered this:
    (I cannot enter the code in this post /.frown )

    If you view the source code of your page and copy the code around [view with piclens] that is the code you want to insert. You can just change the text in the hyperlink.

    All you have to do is change the gid=1 to gid=2 or whatever your gallery id is. If you want to attach this to a thumbnail just insert your image tags accordingly instead of the text link.

    I know this is not the most glorious work around but I'm a busy guy and don't have time to rewrite the entire NGGALLERY script to accomplish what I need for my client. So this was my 30 minute attempt at a workaround.

    So far so good. FYI - I tried to add the code into a page post and wordpress didn't handle the code correctly which is why I hard coded it into the page template.

    Feel free to contact me and I'll email you the code that I was not able to list in this post.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.