Skip navigation
ascharf1138
Currently Being Moderated

Missing Product Images

Apr 22, 2012 11:18 AM

Tags: #ecommerce

If a product does not have a product image in the file manager, is there a way to default to a "No Image Found" JPG as a place holder.  It would look better than having the broken image there.

 
Replies
  • Liam Dilley
    6,681 posts
    Feb 28, 2012
    Currently Being Moderated
    Apr 22, 2012 2:46 PM   in reply to ascharf1138

    Hey there,

    No not currently.

    You will have to script it. When the element wrapper you may have is empty then insert the placeholder image. For the list views (small product layout) you loop through each element to check.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 22, 2012 5:36 PM   in reply to ascharf1138

    Alternatively you could set a 'no image' image as the background of a div that holds your image. If there is no image the background will show. Of course this all depends on how you have you layout set up.

     
    |
    Mark as:
  • Liam Dilley
    6,681 posts
    Feb 28, 2012
    Currently Being Moderated
    Apr 22, 2012 7:01 PM   in reply to Brad Lawryk

    Downside of that is laoding etc Brad.
    You get to see "No Image" on slower loads or if you have a lot of products etc or when BC is slow to fetch from its media server side.

     

    No ideal way but It is something easy solved in Liquid which I have messed with. Can not wait to use that for real.

     
    |
    Mark as:
  • mario_gudelj
    1,677 posts
    Oct 13, 2010
    Currently Being Moderated
    Apr 22, 2012 10:50 PM   in reply to ascharf1138
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points