Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2011
    Posts
    99
    Plugin Contributions
    0

    Default larger image popup

    want to know if the file i need to edit is

    popup_image.php

    and the line...

    function resize() {
    if (navigator.appName == 'Netscape') i = 40;
    window.resizeTo(document.images[0].width + 30, document.images[0].height + 60 - i);


    for a larger image do i add to the 30 and 60 and make them say 60 and 120\

    any other code that i may need?

    i would like to make the popup image size about 2x or 3x what it is now.

    making progress..have not crashed my server....yet

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: larger image popup

    Where is that file located???

    Not in the includes dir in a fresh 1.3.9h
    Zen-Venom Get Bitten

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

    Default Re: larger image popup

    public_html/zc_admin/popup_image.php

    i believe that it is the correct file. it is where i found the code.

    am i going to stump you? (doubtful)

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: larger image popup

    That file only affects pop ups while in the admin

    Is that what you are concerned with??
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2011
    Posts
    99
    Plugin Contributions
    0

    Default Re: larger image popup

    let me say exactly what i did.

    i took some pics with my digital camara at 3.1 mp. then i used windows image resizer power toy and saved them at 300 x 300. it brought the file size down to about 8kb so that they would be easy to upload and show up quickly on my site.

    when i click them to show on the single product they are perfect in size. when i click larger image the size is about the same as the single pic. i have not lost any quality. all my pics look good.

    i was reading though some posts and thought that the correct file to edit would be the popup_image.php file.

    what happens is a small window comes in then loads the pic, resizes itself to a full screen, put the picture is still small.

    i have read some on the images through post and what dr.byte has to say about handling images. i want to keep my site as fast and as clean as possible. other sites i am competing with are very content rich and take a while to load. i am on dial up and for me my site loads about 3 seconds longer than google's home page.

    if i load them to their original size, i feel my site will suffer when someone click larger image.

    thanks for your help and input.

    ps i read one post also talking about as js file that might be the right one to play with.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: larger image popup

    ZenCart will handle sanely file sized images based upon your admin > images > settings

    It does display the large at whatever size you have it created as

    See this example HERE that uses only stock default code
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Feb 2011
    Posts
    99
    Plugin Contributions
    0

    Default Re: larger image popup

    i sent my $10 in, back order it for me!! (nice car)

    yes, that is what i want, and you say it is the "stock" image setting. ok. i will play with it as the stock settings.

    it did take a little time to load over dial up, however the effect was correct for me.

    i will review the image posts and the write-up by dr.byte on images again.

    i find most of all my answers from your comments, the FAQ's, a few post and the youtube tutorials.

    thanks for your time.

 

 

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. larger image popup to same small image
    By twitchtoo in forum Setting Up Categories, Products, Attributes
    Replies: 26
    Last Post: 12 Aug 2010, 05:28 PM
  3. Making Popup Image Larger
    By hrsteel in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 May 2010, 12:58 AM
  4. larger image popup help
    By zami in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Sep 2006, 08:45 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR