Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Posts
    20
    Plugin Contributions
    0

    Default Optimum Image Height

    When I click on a Category, I get a vertical list of products and images in that Category. These images touch each other. I would like to add a little white space between each image.

    Is there a way to add "padding", or is there an optimum image height that is required to assure that there is some white space?

    http://www.ramblinrose.net

    Any help is appreciated...
    Regards,
    Russell Cox

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Optimum Image Height

    First add this to the bottom of your stylesheet:

    Code:
    img.listingProductImage{margin:10px 0 10px 0;}
    Margin 10px at the top and bottom of the image.

  3. #3
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Optimum Image Height

    Then be aware that the link that you posted takes me to the directory of your server which is really not a great idea. If nothing else anyone can now see the names of your hidden folders. Security hell.

    You at the very least want to have an index.htm file in this folder so people get that file rather than the directory.

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Optimum Image Height

    And finally, I know that you are still in development but you realy want to think about optimising those images. They are taking an age to load.

    The problem is that a full size image is being used to create a thumbnail at the moment so on the product_listing page to load four images takes for ever.

    There are good tutorials about image optimisation but in principle what you want to do is have a large version of the image in the folder images/large, a medium version of the image in the folder images/medium, and a small version in the images folder.

    Forgive me if this is just something that you haven't got to yet. I know that not everything gets done all at once! Oh, do I know it.....

  5. #5
    Join Date
    Jun 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: Optimum Image Height

    Your tip worked perfectly.

    I did read that tutorial on image optimization.
    I had so much else on my plate, I just didn't get to it yet.

    I think I will set up redirection so no one gets to the root directory until I decide on whether to have an intro page or not.

    Again thanx for your help.
    I'm just not believin' the great support from this forum.
    Regards,
    Russell Cox

 

 

Similar Threads

  1. Optimum Blog Placement?
    By strugglingnovice in forum General Questions
    Replies: 8
    Last Post: 2 Apr 2012, 01:07 PM
  2. Subcategory Image Height cutoff in IE
    By roostar26 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Dec 2010, 06:56 PM
  3. Custom Image Width/Height
    By Nimbuz in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 19 Nov 2007, 06:07 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