Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Additional images have disappeared & banner images aren't proportional

    After the upgrade from 1.3.8, the additional images have disappeared and there are a lot of them on this site. Since this was a hacked site, I started with a totally new includes folder and added mods back in so no old coding is present at all. W

    Mods installed do include zen lightbox and image handler. I have turned off and uninstalled those (and others) and it just looks like for some reason the additional images are turned off.

    The setting in product_types layout is set to show the additional images. I believe I am correct that this is the only admin setting that can affect the additional images.

    Other oddity is that the banner images (not sidebox - header and footer) are being held to a 200 x 200 size and not displayed proportionally. That one makes no sense at all.

    I switched to the classic template and problems are still happening which makes me think there are admin settings at work here that might have been circumvented in the custom coding. What am I missing?
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #2
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Additional images have disappeared & banner images aren't proportional

    The problem was so tiny - so minuscule - and one that I had never run into before. When I set up the configure file for the test upgrade, I had set the images folder to /images/ instead of /images. That setting got transferred into the new includes. Removing the front / fixed the issue. I don't know what is at work here because in reality the folder location is the same but just doesn't work with zen cart.
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #3
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Additional images have disappeared & banner images aren't proportional

    Quote Originally Posted by delia View Post
    The problem was so tiny - so minuscule - and one that I had never run into before. When I set up the configure file for the test upgrade, I had set the images folder to /images/ instead of /images. That setting got transferred into the new includes. Removing the front / fixed the issue. I don't know what is at work here because in reality the folder location is the same but just doesn't work with zen cart.
    The path for say images is constructed from other paths before it, the website address is part of that ending without a slash, then the directory in which the cart is served (suggested to be at the root of the website address) which if at the root of the website address is simply a forward slash, if in a subdirectory begins and ends with a slash, then the path to say the images directory begins without a slash (because if the subdirectory is included there already is a slash) the same is true for the other subdirectories such as includes, no forward slash. In some cases the path created in the html presented code, just the reference directory is provided like src="images/xxxx.xxx" as a relative path. By adding the slash at the beginning either the path ends up with double forward slashes or as if from the root which could cause problems and is not how web addresses are to be formulated.

    As to why those settings carried over, not sure if that was what you figured out or not, but one of those reasons to either carefully inspect the configure.php files or let ZC do the "hard" work during setup. :)

    Glad you found the solution though!
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v150 Attribute Images & Additional Images Replace Main Image Onclick w/ Zoom
    By rbarbour in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Mar 2013, 10:46 PM
  2. When I turn on "Use Proportional Images" , my additional images don't show?
    By Cruisemart in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Dec 2011, 04:00 AM
  3. Images have disappeared
    By dbnavan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jun 2010, 12:47 AM
  4. Puzzling: Additional Images Aren't Seen for All Products
    By mishutkadesign in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Jan 2009, 10:36 PM
  5. Product Additional Images Aren't Appear!
    By miles in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Oct 2006, 05: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