Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Product Image - No Image picture

    I am having a problem. I cant get this to work.

    I am just trying to get a default picture when none is present.

    I set up the following.

    Product Image - No Image Status
    Use automatic No Image when none is added to product
    0= off
    1= On
    I Set it to 1


    Product Image - No Image picture
    Use automatic No Image when none is added to product
    Default = no_picture.gif
    I made my file name "no_picture.gif" and uploaded it to
    public_html/images/

    Yet it is not working

  2. #2
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Product Image - No Image picture

    The no_picture.gif image only displays if no image is defined for a product. (ie: you never supplied an image name for the product or you removed the image from the product via the admin).

    If you have defined an image (ie: when entering product details in the admin) but the image filename is bad or no longer exists, then your browser will just display a broken image or nothing at all (depending on the browser).

    If you have any image managing tools installed they may handle things differently.


    If that doesn't answer your question, provide a link to a page where you're having a problem.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Product Image - No Image picture

    What I am working on is a huge list from a vendor.
    16000 products.
    I am only making a "Guess" what the image name is.
    so if the product ID is abc123 I said to use abc123.jpg

    That being said. I now know why there is no image being shown.
    Is there anyway to make a image shown in my case?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Product Image - No Image picture

    You'd have to rewrite the zen_image function to check whether the image file exists, and if not, do something else.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Product Image - No Image picture

    I would not know how to do that...

    But here is what I am thinking of doing. I will do a search for a program that can read a directly of files, then put the results in a list.

    Then I can do a compare against my database to check off all the ones that do exist. This then will eliminate all the ones that I do have files for and then I can mark off the ones that don't.

    This I can do in excel using a vlookup function. The Reading of the directory of files is another issue. I'll do a search and see what I come up with and I will post the results.

  6. #6
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Product Image - No Image picture

    As answered when I put the question in Yahoo Answers.


    Can I get a listing of file names in a directory to go to a excel sheet ?

    Here is what I am trying to do....

    I am trying to mass list products to my website.
    The vendor provided alot but not all of the images.
    The images missing will be "Coming Soon"
    How I figure out what the image name is, is by using the item
    name, such as item abc123 is abc123.jpg
    My problem is when they have a item abc123 but no image
    exists. So what I want to figure out is, Get a listing of all the
    images in a directory. I can match them up in excel. Then when the ones that dont match up with an image... Then I can either take the product out or put a image like a big star and says coming soon.

    Thanks in advance.
    You can just do a DIR > x.txt, load the x.txt file into Excel and format it the way you like. Then copy that column and paste it into the sheet you're working with.

 

 

Similar Threads

  1. Picture image problem
    By Shadow22 in forum General Questions
    Replies: 3
    Last Post: 31 Oct 2011, 10:18 PM
  2. How to change the no picture image to default to the manufacturer image?
    By AAAbarNone in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Oct 2010, 07:21 PM
  3. Additional Image - No thumb picture
    By shinyo21 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 5 Aug 2010, 04:22 PM
  4. bigger picture on Product Image
    By Trole in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Nov 2007, 08:14 PM
  5. Eliminate No Picture Available Image?
    By rlwpub in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Aug 2006, 08:33 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