VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ocean1 on February 18, 2014, 14:03:05 PM

Title: override or change noimage.gif
Post by: ocean1 on February 18, 2014, 14:03:05 PM
Hi,

how can we change the noimage.gif

Best regards
Title: Re: override or change noimage.gif
Post by: Jazajay on February 18, 2014, 20:45:14 PM
Hi Ocean 1
YOu can overwrite the image saved here: /components/com_virtuemart/assets/images/vmgeneral/noimage.gif

Or alternatively (and my favourite) create a new one and manually upload it to any missing product. This way when Virtuemart updates you won't need to manually alter this every time :)
Title: Re: override or change noimage.gif
Post by: ocean1 on February 18, 2014, 20:54:26 PM
Hi Jazajay,

override must be done in : templates/NAME/html/com_virtuemart/*
it seems that it has been forgotten the images part
or do I miss something?

best regards
Title: Re: override or change noimage.gif
Post by: Jazajay on February 18, 2014, 20:58:48 PM
I may be wrong; but, I'm pretty sure you can't and this wouldn't be an override - you would need to overwrite the existing file at the address in my post above.

Hence why I said to manually upload one instead - that is my perfered choice. :)
Title: Re: override or change noimage.gif
Post by: ocean1 on February 18, 2014, 21:03:31 PM
And if its a multi store with multi template use and a different colors
Then we prefer different images such as noimage.gif
Almost everything can be don with overrides accept some parts like the /components/com_virtuemart/assets/images/vmgeneral/*

thanks anyway for your replay, hopefully some more members likes the general image overrides
Title: Re: override or change noimage.gif
Post by: Jazajay on February 18, 2014, 21:10:45 PM
TBH here is a nice example of a roundabout solution - http://stackoverflow.com/questions/15180467/change-button-image-using-overrides - just try not to do it too often otherwise it will cause issues / security holes when Virtuemart updates :)
Title: Re: override or change noimage.gif
Post by: ocean1 on December 02, 2015, 21:20:25 PM
So is there already a decent solution on override the noimage.gif.