Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    34
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Thank you ScriptJunkie,

    You're a scholar and a saint :)

    The last method you described appears to have worked. I kind of thought that when I clicked on the image, it would expand to a larger one though. It seems like when I click on the pictures now they show up smaller? Any clue where I can change this setting, or does it simply have to do with the original size of the uploaded picture?

    Essentially I'd like to have small previews that they can click on and then see the larger image.

    I'd also love to make a gallery where they can scroll thru the pictures. Can anyone point me in the right direction on this?

    Thanks again :) Zencart forums are fantastic!

  2. #2

    Default Re: Zen Lightbox...

    Quote Originally Posted by thec0wboy View Post
    Thank you ScriptJunkie,

    You're a scholar and a saint :)

    The last method you described appears to have worked. I kind of thought that when I clicked on the image, it would expand to a larger one though. It seems like when I click on the pictures now they show up smaller? Any clue where I can change this setting, or does it simply have to do with the original size of the uploaded picture?

    Essentially I'd like to have small previews that they can click on and then see the larger image.

    I'd also love to make a gallery where they can scroll thru the pictures. Can anyone point me in the right direction on this?

    Thanks again :) Zencart forums are fantastic!
    Thank you, but I can't take credit :) I just recall having read somewhere on the thread another person had that issue, so I searched for it until I found the solution is all :)

    Re: Gallery....check Admin>Configuration>Zen Lightbox> Include Main Image in Gallery - should be set to "true"

    Also, you need to follow the image file naming protocol for zen cart. For example:

    Main Image: flower.jpg
    Additional product images: flower_01.jpg, flower_02.jpg, etc

    Re: Lightbox making images smaller instead of larger - you're absolutely right - it should make them larger than the main product image.

    Assuming you're not also using any other image modifying addons, There are a few ways to accomplish this.

    Method 1:

    Change
    Code:
    <a  href="http://www.beautifulexpressions.hwyman.com/images/161520.jpg"  rel="lightbox"><img  src="http://www.beautifulexpressions.hwyman.com/images/161520.jpg"></a>
    to

    Code:
    <a  href="http://www.beautifulexpressions.hwyman.com/images/161520.jpg"  rel="lightbox"><img src="http://www.beautifulexpressions.hwyman.com/images/161520.jpg" width="125" height="125"></a>
    Naturally, you'll adjust the width and height size to whatever size you want your thumbnails to be...I just put in 125 and 125 as an example.


    Method 2


    Another way to accomplish this is to use the zen cart image size folders and suffixes. Tutorial

    For example, let's say you want thumbnails on the ez page to be 125z125...you take your image (already sized to 125z125) and name it myImage_MED.jpg and put it in the images/medium folder. Then let's say you want the larger image for the lightbox to be 600x600. You take your image (already sized to 600x600) and name it myImage_LRG.jpg and put it in your images/large folder.

    Then, you would write your URL for the ez page like this:
    Code:
    <a   href="http://www.beautifulexpressions.hwyman.com/images/large/myImage (or in your case161520).jpg"   rel="lightbox"><img  src="http://www.beautifulexpressions.hwyman.com/images/medium/myImage (or in your case161520).jpg"></a>
    Method 3

    Lastly, IMHO, the best way to accomplish this is to also install ImageHandler2, because this allows you to use one size image per product (plus any additional images like image_01, image_02, etc). You take the largest image you have for a product (the one you want in the lightbox), and simply upload it to the main images folder. Then use the settings in the IH2 mod to resize the images for you. This way, you don't have to manually create three different sized images per product (large for the light box, medium for your thumbnails and main product image, and small for sideboxes, etc).

    If you install IH2, then the first method I gave you (the one that now incorrectly returns smaller images in the light box rather than larger images) will work correctly.

    Hope this helps :)
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg