Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

Fancy10 Lightbox First Image Linking

(5 posts) (2 voices)
  • Started 3 months ago by Zain
  • Latest reply from Zain
  • Possible Solutions (Related Topics):
    1. WP Lightbox Ultimate - Align Shortcode Anchor to the Center of the Page
    2. Lightbox Ultimate - Add Custom Content to Video Popup
    3. Lightbox not displaying all the images/or displaying too many
    4. Add multiple images using WP Lightbox Ultimate
    5. Lightbox showing additional images

Tags:

  • fancy10
  • first image url
  • lightbox
  • WP eStore
  1. Zain
    Member

    Hi,

    I'm currently using the Fancy10 shortcode ([wp_eStore_fancy10 id=2]) to display a main image and thumbnails underneath, however I've run into a problem with the Lightbox not linking to the first image.

    The first lightbox image is linking to the "Thumbnail Target URL" instead of the "Thumbnail Image URL" (i.e. the image is linking to the page itself, instead of displaying the image with the Lightbox effect).
    See here:
    http://www.themaverickshop.com/childrens-books/the-fearsome-beastie/
    (click on the first image and you'll get back to the same page!)

    Now, I realise that I am using the "Thumbnail Target URL". This is because I want the thumbnail image to be a link to the product page when the category shortcode is used (i.e. [wp_eStore_category_products_fancy id=1 style=3 order=1]). This is purposeful, see here:
    http://www.themaverickshop.com/childrens-books/
    (clicking on the thumbnail takes you to the right location!)

    How can I make the first image in Fancy10 display the image and not keep going round in circles? Is there a file that can be changed? It makes no sense that Fancy10 links to itself, rather than the image... :$

    Thanks in advance.

    Cheers,

    Zain

    Posted 3 months ago #
  2. admin
    Key Master

    If you have specified a value in the "Thumbnail Target URL" field then it can't link to the thumbnail image any more. If you want to use the image to lightbox then leave the "Thumbnail Target URL" field empty and use the "Product Page URL" field which will make the product name/title link to the product page.

    Posted 3 months ago #
  3. Zain
    Member

    Hi Admin,

    That's what I thought would happen... although this now means that the "Product Categories" will now display the picture in the Lightbox when clicked on, rather than take you through to the product details page. That's not really the desired functionality for the Categories page.

    Surely the Fancy10 output is designed to always appear on a product details page? It makes no sense that the image links to the page it's already on and loops round. This could make it confusing for a site visitor.

    Is there a way of tweaking the code in the Extra Shortcodes plugin to use the "Thumbnail Target URL", rather than the "Product Page URL" for Fancy10?

    Cheers,

    Zain

    Posted 3 months ago #
  4. admin
    Key Master

    http://www.tipsandtricks-hq.com/forum/topic/can-i-put-multiple-images-and-videos-in-the-fancy-display

    Posted 3 months ago #
  5. Zain
    Member

    Hi,

    Thanks for the very info on how to customise displays using shortcodes. This is very useful.

    Have you considered taking the idea one step further and creating code "templates"? The basic idea is that there's a directory with sub-directories containing all the template files for the various layouts (e.g. default folder, fancy1 folder etc.). These templates can then be customised to suit the site layout.

    This idea is actually taken from John Godley's "Sniplets" plugin. In this plugin, it's possible to copy the Sniplet plugin default template folder and make a copy of it in the Theme directory. The plugin then checks the Theme folder first for templates before using the plugin default template files. The major advantage is that this way the template files are never overwritten with any upgrades made in the core. It also allows a lot of flexibility in terms of building a precise layout.

    Anyway... that's just an idea that you guys may want to consider. It would mean not having to build any more "fancy" templates but instead giving more control to the site Developer.

    In theory, you could maybe get users to submit additional templates. Or what about a place where people can create templates for sale? I wonder if there's a good plugin that could be used to sell these template files as downloadable products... Oh wait, there's this store plugin I know of called... :D

    Cheers,

    Zain

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin