VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

United Kingdom
21 Posts

Posted - December 09 2008 :  16:27:58  Show Profile  Reply with Quote
On just about the whole site, if a product image has not been uploaded the site displays a "no image available" image... apart from in the cross-selling section.

Does this not work with the same logic and if not, how can I make it do it? E.g. if no image has been uploaded to the product record, the cross-selling section should also display the "no image available" image.

I've discovered more...

When there's no image as part of the product details IE displays a broken image icon, whilst FireFox displays nothing whatsoever...

I'd prefer nothing whatsoever to appear in IE rather than the broken image icon, but ideally I'd like both IE and Firefox to display the default "no image available" graphic.

Can anybody help?

Edited by - thedtb on December 10 2008 16:08:02

VP-ASP Super User

260 Posts

Posted - April 13 2009 :  01:46:16  Show Profile  Visit ironhawker's Homepage  Reply with Quote
Without a lot of programming use a 1 pixel #fff or clear gif, or whatever background color you have.
without a lot of programming you can edit your templates to NOT include an image.
in tmp_topsellers.htm takeout the line with [cimageurl]

Randy "RC" Corn
Institute for Higher Learning
[email protected]
Go to Top of Page

Senior Member

United Kingdom
1898 Posts

Posted - April 13 2009 :  06:23:37  Show Profile  Visit devshb's Homepage  Reply with Quote
Randy's solution will work fine if you have no image data, ie you'd just put a blank gif in your product cimageurl/extendedimage if you don't have an image for it, and you could run a quick sql to set that in the data in one shot.

update products set cimageurl=blankthumb.gif where cimageurl is null


update products set extendedimage=blanklarge.gif where extendedimage is null

But if you also wanted to check if a specified image physically exists on the server, or didn't want to backfill the blank data, then you could use:

BYZ057 - Missing Image Defaulting for VP-ASP:

see also:
BYZ068 - Missing Image Reporting for VP-ASP:

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000