Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Location
    Neenah, WI
    Posts
    112
    Plugin Contributions
    0

    image problem How to Maintain Aspect Ratio of Landscape & Portrait Images?

    I'm creating a website to showcase my photography. I'm going to have some images that are landscape mode (wider than they are tall) and some that are portrait mode (taller than they are wide). I noticed within admin that zen cart only allows you to type in specific pixel heights and widths. Obviously, the portrait images are going to be a totally different dimensions than the landscape images. How can I tell admin to keep the aspect ratio of the pictures rather than display them according to the pixel height and width within configuration>images?

    I hope this makes sense because it's kind of hard to explain.

    Thanks,
    Brad

  2. #2
    Join Date
    Jun 2007
    Location
    Shropshire UK
    Posts
    134
    Plugin Contributions
    0

    Default Re: How to Maintain Aspect Ratio of Landscape & Portrait Images?

    Quote Originally Posted by bsteinagel View Post
    I'm creating a website to showcase my photography. I'm going to have some images that are landscape mode (wider than they are tall) and some that are portrait mode (taller than they are wide). I noticed within admin that zen cart only allows you to type in specific pixel heights and widths. Obviously, the portrait images are going to be a totally different dimensions than the landscape images. How can I tell admin to keep the aspect ratio of the pictures rather than display them according to the pixel height and width within configuration>images?

    I hope this makes sense because it's kind of hard to explain.

    Thanks,
    Brad
    I think if you only specify "height" or "width" - that will achieve what you want - you need to decide whether you want to use "height" or "width" - specify that - and leave the other one blank - the program will keep the aspect ratio correct.
    Give it a try...

  3. #3
    Join Date
    Sep 2007
    Location
    Neenah, WI
    Posts
    112
    Plugin Contributions
    0

    Default Re: How to Maintain Aspect Ratio of Landscape & Portrait Images?

    Thanks Vinyl! That works great.

    Brad

 

 

Similar Threads

  1. v151 How does one maintain user images in ADMIN/images/large ?
    By Peter_AimImports in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Nov 2012, 11:38 PM
  2. Landscape Images Squashed
    By Value Plus in forum Basic Configuration
    Replies: 5
    Last Post: 28 Aug 2012, 04:17 PM
  3. Landscaped Additional Images (Usually Portrait)
    By limelites in forum General Questions
    Replies: 0
    Last Post: 3 Oct 2010, 01:04 PM
  4. How to handle unusual product image aspect ratio?
    By vito in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Aug 2010, 03:35 PM
  5. reformatting invoice - from landscape to portrait
    By zas in forum Managing Customers and Orders
    Replies: 3
    Last Post: 24 Jan 2007, 01:16 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