Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2007
    Location
    Coffs Harbour, NSW, Australia
    Posts
    7
    Plugin Contributions
    0

    Default Large image display problem

    I am having problems with getting the large images to display at the correct size. I have read the image preparation how-to and I have
    * the _LGE images all set to 500x500 in the images/large/ folder, and
    * medium images (250x250) in the images/medium folder.
    * Large images are named filename_LGE.jpg, medium filename_MED.jpg and small filename.jpg.
    I have set the image size in admin so product info is 250x250 and product listing is 125x125.

    I modified the javascript in includes/modules/pages/product_info/jscript_main.php to this:

    function popupWindow(url) {
    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=no,width=500,height=500,screenX =150,screenY=150,top=150,left=150')
    }
    function popupWindowPrice(url) {
    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,scree nX=150,screenY=150,top=150,left=150')
    }

    ---
    All is working fine except for the popup window. When it pops up, it starts at 500x500 and then resizes itself to a small size.

    It can be seen at http://www.erskinedental.com.au/store/ (this system is not live yet)

    What am I missing? Any help would be very appreciated.

  2. #2
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Large image display problem

    Quote Originally Posted by Raina View Post
    I am having problems with getting the large images to display at the correct size. I have read the image preparation how-to and I have
    * the _LGE images all set to 500x500 in the images/large/ folder, and
    * medium images (250x250) in the images/medium folder.
    * Large images are named filename_LGE.jpg, medium filename_MED.jpg and small filename.jpg.
    I have set the image size in admin so product info is 250x250 and product listing is 125x125.

    I modified the javascript in includes/modules/pages/product_info/jscript_main.php to this:

    function popupWindow(url) {
    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=no,width=500,height=500,screenX =150,screenY=150,top=150,left=150')
    }
    function popupWindowPrice(url) {
    window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,scree nX=150,screenY=150,top=150,left=150')
    }

    ---
    All is working fine except for the popup window. When it pops up, it starts at 500x500 and then resizes itself to a small size.

    It can be seen at http://www.erskinedental.com.au/store/ (this system is not live yet)

    What am I missing? Any help would be very appreciated.
    under "Configuration", "Images", what do you have listed for "Product Info - Image Large Suffix"

    By default it is _LRG *NOT* _LGE

    Change it to _LGE if that is your preference.

  3. #3
    Join Date
    Jun 2007
    Location
    Coffs Harbour, NSW, Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: Large image display problem

    Hi Jade ...

    Thanks for picking that up ... I did have _LGE as my suffix on the actual images, and I've now changed it in images admin however I seem to have the same problem - it shows the large window initially then resizes to smaller (with a smaller image).

    I have the following settings:
    Small Image Width 125
    Small Image Height 125
    Heading Image Width - Admin 57
    Heading Image Height - Admin 40
    Subcategory Image Width 75
    Subcategory Image Height 75
    Calculate Image Size false
    Image Required
    true
    Image - Shopping Cart Status 1
    Image - Shopping Cart Width 75
    Image - Shopping Cart Height 75
    Category Icon Image Width - Product Info Pages 50
    Category Icon Image Height - Product Info Pages 50
    Top Subcategory Image Width 125
    Top Subcategory Image Height 125
    Product Info - Image Width 250
    Product Info - Image Height 250
    Product Info - Image Medium Suffix _MED
    Product Info - Image Large Suffix _LGE
    Product Info - Number of Additional Images per Row 3
    Image - Product Listing Width 125
    Image - Product Listing Height 125
    Image - Product New Listing Width 125
    Image - Product New Listing Height 125
    Image - New Products Width 125
    Image - New Products Height 125
    Image - Featured Products Width 100
    Image - Featured Products Height 80
    Image - Product All Listing Width 125
    Image - Product All Listing Height 125
    Product Image - No Image Status 1
    Product Image - No Image picture no_picture.gif
    Image - Use Proportional Images on Products and Categories 1

    Still not sure what is happening?

  4. #4
    Join Date
    Jun 2007
    Location
    Coffs Harbour, NSW, Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: Large image display problem

    OK, I got the window resizing at the right size (edited the pages/popup_image/jscript_main.php file) ...

    but still having the problem. The right image (_LGE) file is showing, but it's resizing to 125x125 which makes me think it's something in admin thats setting it ...

    I can't see any dimensions in the images admin that resize large images, though? any help would be appreciated,

    Raina

  5. #5
    Join Date
    Jun 2007
    Location
    Coffs Harbour, NSW, Australia
    Posts
    7
    Plugin Contributions
    0

    Default Re: Large image display problem

    10 minutes after posting that, I found that changing the setting
    "Image - Use Proportional Images on Products and Categories" to false fixed the problem ... which seems illogical, but it works, so I'm not going to worry about it :)

    Thanks again for your help Jade.

    Raina

  6. #6
    Join Date
    Aug 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Large image display problem

    I had the same problem but it turned out the the jpeg file I uploaded was way to big. I needed to scale it down to the right size.

 

 

Similar Threads

  1. product_listing.php display large image
    By jonnyboy22 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Oct 2012, 06:53 PM
  2. force featured products to display large image rater than standard image?
    By bonnit in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 17 Oct 2012, 05:46 AM
  3. Large Image problem
    By add2much in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Oct 2008, 04:54 PM

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