Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2013
    Posts
    19
    Plugin Contributions
    0

    Default Image Display Distorted, New Product Preview

    Just an aggravation, not a problem,

    but when I enter a new product through Admin then click the preview button, the image in the preview sometimes displays with disproportionate distortions. Most of my product images are square, and these display without significant distortions. Those images that aren't square, though, are disproportionately distorted into squares.

    As I said, this issue isn't a problem, as I've set images through Configuration so that they display properly in my store. I just wondered what setting would allow the images to also display properly on their preview pages. I've searched the forums, and I found some threads that discussed this issue, but none that offered a solution. Any direction much appreciated.

    Lune

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Image Display Distorted, New Product Preview

    The admin is legacy code - as long as they are OK on the frontend be happy

  3. #3
    Join Date
    Feb 2013
    Posts
    19
    Plugin Contributions
    0

    Default Re: Image Display Distorted, New Product Preview

    Quote Originally Posted by kobra View Post
    The admin is legacy code - as long as they are OK on the frontend be happy
    kobra,

    As I said, this issue was an aggravation, not a problem. I did, however, just figure out how to remedy it, and I feel quite silly to have overlooked such an easy solution. All I had to do was set "Small Image Height" (Configuration > Images) to 0. When I set all the other image dimensions, I left the Small Image dimensions at the default values, as they didn't appear to have any effect on my store display. As it turns out, though, the Small Image dimensions are what control the display of the images on the new product preview page.

    I'll take your word that the ZenCart Admin is all legacy, as I know nothing of the development history of ZenCart. But even though it's legacy code, I have to use it incessantly to create my storefront, and everything about my storefront depends on it to some extent. Thus, I'm always glad when things are working out front, but I'm really happy when I understand how they're working in back, even when the matter's just an inconsequential aggravation (as in this case). Where would I go to learn more about the code coming down the pike to replace the Admin legacy?

    Lune

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Image Display Distorted, New Product Preview

    Where would I go to learn more about the code coming down the pike to replace the Admin legacy
    http://www.zen-cart.com/forumdisplay...pment-Road-Map

  5. #5
    Join Date
    Feb 2013
    Posts
    19
    Plugin Contributions
    0

    Default Re: Image Display Distorted, New Product Preview

    Well, kobra,

    That was an interesting foray into the future of ZenCart, not a far foray, but interesting nonetheless. I'm relieved to learn that the basic architecture underlying 1.5.X won't be going away anytime soon, as I just started working with ZenCart in this version stream, and I would rather not have to switch anytime soon.

    Mainly I discovered that my understanding of the term "legacy code" was entirely flawed, or rather my understanding of the term was itself a legacy no longer applicable. So I spent most of the afternoon after your post studying the history and meaning of legacy code when I should have been figuring out why my popup windows aren't properly resizing to fit the images. A task for tomorrow, I reckon.

    Lune

 

 

Similar Threads

  1. Image display issue for preview with image handler, please help
    By bengalliboy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 16 May 2010, 06:34 PM
  2. Need help with Audio preview hack - product display
    By maxima in forum General Questions
    Replies: 16
    Last Post: 13 Mar 2010, 04:19 PM
  3. Display of index page, new product image, metatags & SEO
    By trixiesirisheyes in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 May 2009, 01:46 PM
  4. New Product preview missing image
    By probello in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 27 Apr 2009, 04:22 PM
  5. Image 'preview' on product listing
    By tatiana77 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Sep 2007, 09:53 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