Thread: image popup

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2005
    Posts
    199
    Plugin Contributions
    0

    Default image popup

    Please tell me that this is a download somewhere. Its a popup like this website right

    http://www.jewelrysupply.com/index.p...oducts_id=4608

    When you click on the link additional images it brings up a popup with more images.

    I hope someone can point me in the right direction.

  2. #2
    Join Date
    Apr 2006
    Posts
    146
    Plugin Contributions
    0

    Default Re: image popup

    nope thats not an addon or mod... its just basic html... take a look at the source code

  3. #3
    Join Date
    Jan 2006
    Posts
    60
    Plugin Contributions
    0

    Default Re: image popup

    Quote Originally Posted by stbede77
    nope thats not an addon or mod... its just basic html... take a look at the source code
    That is killer. What pages do I modify to achieve this? I can put the code off of this site, so that's no biggy. But what pages in ZC require the added lines of code?

    Nice find Danny D!

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: image popup

    Quote Originally Posted by Sc0tt
    What pages do I modify to achieve this?
    None. It's built into Zen Cart. If your main image is called myimage.jpg then add additional images in the form myimage_1.jpg, myimage_2.jpg, etc.

    You might want to consider installing Image Handler to make this easier.

  5. #5
    Join Date
    Jan 2006
    Posts
    60
    Plugin Contributions
    0

    Default Re: image popup

    Quote Originally Posted by kuroi
    None. It's built into Zen Cart. If your main image is called myimage.jpg then add additional images in the form myimage_1.jpg, myimage_2.jpg, etc.
    Thanks. But I have more than one image associated with a test product at the moment, but I suppose I am unclear on what other actions need taking to display each option from one popup window.

    eg: http://legendsgallery.net/ecomm/cata...roducts_id=180

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: image popup

    OK, I get now that it's not displaying multiple images for a product that's proving difficulkt, but getting the multiple images into a pop up window. I've not done this, but here's how I would go about it. But please note, it's an untested approach not a solution.

    Edit the foillowing line in my english.php file
    PHP Code:
      define('TEXT_CLICK_TO_ENLARGE''larger image'); 
    Create two new directories in my template called popup_image and popup_image_additional and move the respective tpl_main_page.php from template_default into each.

    Make a copy of tpl_product_info_display.php in your template directory and comment out the code between <!--bof Additional Product Images --> and <!--eof Additional Product Images --> to stop the additional images from also appearing on the product page.

    Add a copy of the code commented out in the previous step into the tpl_main_page.php in the popup_image directory.

    By this point you will hopefully have a popup window that displays the original images and the additional ones. However, there's also a good chance that you won't and some tweaking may be necessary. Hopefully other forum members will spot and post about any misconceptions that I may have.

    If you then want to display one of the images at a time like the site you are referencing, you will need to start breaking the php apart to be able to identify and load one image at a time, and create the links to move between them. If you further want to make it look really snazzy, then control the whole thing with one of the many image swapping javascript scripts available (a quick search of hotscripts.com will yield plenty).

    No guarantees but hopefully enough direction to help you move forward or at least understand the complexities involved and why nobodies given you a quick solution.

  7. #7
    Join Date
    Feb 2006
    Location
    UK
    Posts
    30
    Plugin Contributions
    0

    Default Re: image popup

    I too would like to have the ability to be able to click to the next image in the pop up window. Did Kuroi's solution work?

    Cheers,

    H

  8. #8
    Join Date
    Jan 2006
    Posts
    60
    Plugin Contributions
    0

    Default Re: image popup

    I have not yet tried it. this remains the sticking point on this project for me, so I will try it and for that matter, anything someone suggests. I really need that darn image swap mod that drbytes wrote for versions pre-1.3. I'm sure he'll offer it eventually, but for now, we wait.

    Thanks for keeping this thread alive. ZC folks will, I'm sure, get around to chiming in. Thanks.

  9. #9
    Join Date
    Jun 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: image popup

    anyone been able to do this? i'm looking for something similar to display all the images in one popup, rather then having the additional product images on the product info page.

  10. #10
    Join Date
    Apr 2006
    Location
    France
    Posts
    32
    Plugin Contributions
    0

    email error Re: image popup

    Hello
    i'm aswell very interrested in the solution !
    Does anybody know how to proceed to get several images in just one pop-up instead of going back to product info page...

    Help wanted !

    ;-)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Larger image popup not resizing - image is tall and skinny
    By laurelsstitchery in forum General Questions
    Replies: 4
    Last Post: 13 Oct 2014, 05:06 PM
  2. Installed Image Handler 3 Now Can't See Popup Image
    By nasios in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 14 Dec 2011, 12:26 AM
  3. LRG Image Popup not working with/without Image Handler
    By sbbemn in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 9 Jan 2011, 07:53 AM
  4. Larer image popup is medium image not large image
    By xtracool in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Mar 2009, 10:21 AM

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