Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default More a bugfix than a question (re. images)

    I had trouble getting the popup images to display in Firefox on just about any Zen Cart shopping site I visited. The problem, I've just discovered, is that I've got several Firefox extensions installed which display icons in the browser status bar.

    This means that the browser's minimum width is the combined width of those icons. Consequently, when an image popup window appears and is resized to the size of the image, the window is the correct width but the page is the width of the icons. Because the image is centred on the page, if it's not very large then it will not appear or possibly the left part only will appear (see attached screenshot).

    The fix is to left-align the popup page by adding this to your main stylesheet:
    .leftContent {
    text-align:left;
    }

    and change the body class from 'centeredContent' to 'leftContent' in the following files:
    includes/templates/YOUR_TEMPLATE/popup_image/tpl_main_page.php
    includes/templates/YOUR_TEMPLATE/popup_image_additional/tpl_main_page.php

    As Firefox becomes more prevalant this could become a widespread problem, so I'd recommend all shop owners consider making this correction and the powers that be may want to think about fixing this in the next release.
    Attached Images Attached Images  

  2. #2
    Join Date
    Apr 2004
    Posts
    13
    Plugin Contributions
    0

    Default Re: More a bugfix than a question (re. images)

    Ah, this helped out perfectly. thanks!

  3. #3
    Join Date
    Feb 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: More a bugfix than a question (re. images)

    Thank you, thank you, thank you!!! I was having the same issue with my IE popup. This worked like a charm!

    Heather

 

 

Similar Threads

  1. More than 9 additional images?
    By CheapStairParts in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jun 2011, 07:06 AM
  2. product pictures question.. I want more than one.
    By Mama Bear in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Sep 2009, 11:33 PM
  3. Attribute images per row, more than 5?
    By jeking in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 27 Mar 2009, 07:39 AM
  4. Adding More than one images for a product.
    By andrewa124 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Jan 2009, 09:28 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