Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Poughkeepsie, NY
    Posts
    5
    Plugin Contributions
    0

    Default NO_PICTURE.GIF will not display

    Hello. I am currently trying to have no_picture.gif display when there is a missing image from our database of products. At the moment the only thing that displays in the event of there being a missing image is a repeat of the name of the product. I set up all the necessary fields in the admin:

    Configuration >> Images >> Product Image - No Image Status set to 1
    Configuration >> Images >> Product Image - No Image Picture set to no_picture.gif

    no_picture.gif is located in my public_html/images directory. It still will not display for some reason. I've been checking the forums but can't seem to find a resolution to the problem. I've seen others that have the same problem. Any help would be appreciated. Thanks.

    Logwash

  2. #2
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: NO_PICTURE.GIF will not display

    What's your setting in Admin/Configuration/Images/Image Required?
    If set to false, it needs to be changed to true for the no_picture.gif to display.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  3. #3
    Join Date
    Oct 2007
    Location
    Poughkeepsie, NY
    Posts
    5
    Plugin Contributions
    0

    Default Re: NO_PICTURE.GIF will not display

    Tried that. That setting was already correct. Still no dice.

    Logwash

  4. #4

    Default Same problem here "NO_PICTURE.GIF will not display"

    I have some additional information that might help an experienced Zenner to troublehsoot this problem (at least in my case). I created my products table(s) in another application and uploaded it to MySQL. I included an image NAME for all products even though I don't have pictures for every item yet. This allows me to simply upload the images as they become available without having to go into each product and add the images one by one. So, the filename is present; however, the file is not. These products do not display "no_picture.gif"; it only displays the filename. Does anyone know a wya to correct this problem.

  5. #5
    Join Date
    Oct 2007
    Location
    Poughkeepsie, NY
    Posts
    5
    Plugin Contributions
    0

    Default Re: NO_PICTURE.GIF will not display

    To clarify the last post from DiBeachDude, I also am running the Easy Populate module (assuming that's what you meant). I use the product SKU ID as the filename for each pic in the product_image field. We have over 30,000 products most of which have images that are displaying fine, but as DiBeachDude stated the products that have a filename associated with them but do not have a physical file to go with the entry are not displaying the NO_PICTURE.GIF file. Is this an issue with Easy Populate, and if so how could I possibly deal with it? Thanks in advance.

    Logwash

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: NO_PICTURE.GIF will not display

    Empty products_image will use the no image ... and you can turn off the required ...

    However, to show the no image when an image is missing but defined you would need to alter the zen_image function slightly around this section of code:
    PHP Code:
    //auto replace with defined missing image
        
    if ($src == DIR_WS_IMAGES and PRODUCTS_IMAGE_NO_IMAGE_STATUS == '1') {
          
    $src DIR_WS_IMAGES PRODUCTS_IMAGE_NO_IMAGE;
        } 
    by setting a condition that when the image is missing but defined it also shows the no image ...

    Be careful as the template also uses this function and you don't want to confuse the evaluation of the testing ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Change no_picture.gif
    By gamenet in forum General Questions
    Replies: 6
    Last Post: 13 Feb 2014, 07:36 PM
  2. Remove 'Click to enlarge' when image is no_picture.gif
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Mar 2012, 07:10 PM
  3. no_picture.gif gets deleted with items
    By finlander in forum Bug Reports
    Replies: 4
    Last Post: 30 Oct 2010, 10:30 PM
  4. no no_picture.gif
    By sjk1000 in forum General Questions
    Replies: 9
    Last Post: 30 Oct 2008, 04:05 PM
  5. My logo.gif won't display, but old one will...
    By Vood in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 27 Sep 2007, 08:30 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