Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Location
    Florence, Italy
    Posts
    153
    Plugin Contributions
    0

    Default Problems with _LRG images

    I've defined the image_LRG of width=600 & height=400 and so I've modified the function popupWindow(url) in includes/modules/pages/product_info/jscript_main.php
    With this values.

    The problem is that the function open a window of width=610 & height=440 and so there are some white border (especially the height) that I don't like.

    May be there is a problem in css(?) but in stylesheet_new.css I see the definition

    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    margin: 0em;
    padding: 0em;
    }



    What can I do? - Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Florence, Italy
    Posts
    153
    Plugin Contributions
    0

    Default Re: Problems with _LRG images

    p.s.
    I see that while the image is loading the windows seem correct, but when all the image is loaded happen what i've told before.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Problems with _LRG images

    The window is being resized based on "content".

    If you're using v1.3.x, this resizing should be accurate, depending on which browser you're viewing it in.
    Prior to v1.3, it was slightly off.

    If you wish to fine-tune, play with the resize javascript in includes/modules/pages/product_image/jscript_main.php

    Beware: each browser handles dimensions differently. If you go changing it to look nice in *your* browser, your customers may find it looks badly in *their* browser.
    Don't mess with it if you don't have to; or be very sure to test in as many browsers as possible.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Mar 2006
    Location
    Florence, Italy
    Posts
    153
    Plugin Contributions
    0

    Default Re: Problems with _LRG images

    I've v1.3.0.1, but I don't see the folder "product_image" in includes/modules/pages/

    Maybe that is in product_info??

  5. #5
    Join Date
    Mar 2006
    Location
    Florence, Italy
    Posts
    153
    Plugin Contributions
    0

    Default Re: Problems with _LRG images

    Excuse me!!!!!!
    I think to have found it in the "popup_image" folder.
    Many thanks - Giovanni

 

 

Similar Threads

  1. Where are my _LRG/_MED images?
    By kellarian in forum General Questions
    Replies: 14
    Last Post: 13 Oct 2008, 08:44 PM
  2. _LRG Images view at Thumbnail size
    By virago in forum General Questions
    Replies: 3
    Last Post: 26 Mar 2007, 06:27 PM
  3. categories layout, _LRG images
    By Sunabac in forum General Questions
    Replies: 3
    Last Post: 19 Jan 2007, 06:19 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