Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default How to make a single image (not a product image) enlarge into its own popup window?

    Hi,
    We have created some new information pages with images and would like to know how a customer can click on the image and it pops up large in its own window (similar to how the product images work) so they can see it better.
    Please see http://www.selfbuildplans.co.uk/inde...age=buildcosts
    and the build cost image in grey, that I want customers to be able to click it to read better.
    I have the image as a larger image but cant figure out the hyperlink code for it to popup large...
    Please help...

    Thanks.

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: How to make a single image (not a product image) enlarge into its own popup windo

    Theres 2 ways you can either use code like the below, (obviously change width and height to suit)

    <a href="#" onClick="MyWindow=window.open('LOCATION_OF_LARGE_IMAGE','MyWindow','toolbar=no,l ocation=no,directories=no,status=no, menubar=no,scrollbars=no,width=600,height=300'); return false;">SMALL_IMAGE</a>


    Or you can use the inbuilt popup method

    BUT, I think (and i am possibly wrong) the inbuilt one sets itself to the size of your large product image setting, which could make your plans appear in a fairly small window
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: How to make a single image (not a product image) enlarge into its own popup windo

    Thanks Nigelt74 that was a quick reply.
    However, I have tried your link but I must have the path incorrect to the actual large image as it just goes back to the home page when you click it.
    Could you give us some help in the path required where you state 'LOCATION_OF_LARGE_IMAGE'?
    The images are in /images but do I need http:// path or the whole website path? I have tried a few options but can't get it to work...
    Thanks for your help.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: How to make a single image (not a product image) enlarge into its own popup windo

    Quote Originally Posted by J9MM0 View Post
    Thanks Nigelt74 that was a quick reply.
    However, I have tried your link but I must have the path incorrect to the actual large image as it just goes back to the home page when you click it.
    Could you give us some help in the path required where you state 'LOCATION_OF_LARGE_IMAGE'?
    The images are in /images but do I need http:// path or the whole website path? I have tried a few options but can't get it to work...
    Thanks for your help.
    You will need to show me the code you are using, as looking at the page you seem to have done something odd as i can see part of the code on the actual page
    Webzings Design
    Semi retired from Web Design

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: How to make a single image (not a product image) enlarge into its own popup windo

    This is what you should have

    <a href="#" onClick="MyWindow=window.open('/images/Build Costs September 2011.png','MyWindow','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,width=800,height=400'); return false;"><img src="/images/Build Costs September 2011 med.png"</a>
    Webzings Design
    Semi retired from Web Design

  6. #6
    Join Date
    Feb 2011
    Posts
    106
    Plugin Contributions
    0

    Default Re: How to make a single image (not a product image) enlarge into its own popup windo

    Nigelt74 - That's great it works a treat, really appreciate it.
    Thanks.

 

 

Similar Threads

  1. Product image popup window in Firefox
    By petek in forum General Questions
    Replies: 6
    Last Post: 9 Sep 2021, 12:01 PM
  2. v154 Click to enlarge image window not resizing
    By ckfs1 in forum Basic Configuration
    Replies: 1
    Last Post: 22 Apr 2015, 04:19 PM
  3. EZPage does not open in its own window
    By atozstore in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Apr 2011, 11:28 PM
  4. How do I make newsletter subscribe into popup window?
    By Coffinwear in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Nov 2010, 06:28 PM
  5. How to Resize Image in popup images(click to enlarge)
    By taguchi_isara in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Dec 2007, 10:13 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