Jump to content

Hide "No image available"


Recommended Posts

Hi,

 

Is there a way to hide "Image Not Available" if there is no image uploaded? If it can't be disabled for individual product, I'm willing to completely disable it.

 

There was a thread saying remove the line below in product.tpl, but it doesn't work:

 

 

{else}

<img src="{$img_cat_dir}default-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

Edited by redtiger (see edit history)
Link to comment
Share on other sites

Is there a way to hide "Image Not Available" if there is no image uploaded? If it can't be disabled for individual product, I'm willing to completely disable it.

 

Do not change any core files. Find the missing image place holders (e.g. /img/p/en.jpg, en-default-home.jpg, en-default-large.jpg etc) and replace them with blank images of same size. This will help keeping page structure intact without further tuning when there are no images regardless of your theme.

 

Hope that helps!

 

Marty Shue

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...