Welcome, Guest ( Customer Panel | Login )




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

thedtb
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

ironhawker
VP-CART Super User

USA
260 Posts

Posted - April 13 2009 :  01:46:16  Show Profile  Visit ironhawker's Homepage  Reply with Quote
Sure.
Without a lot of programming use a 1 pixel #fff or clear gif, or whatever background color you have.
also
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]
http://www.ironhawker.com
425-828-0738
Go to Top of Page

devshb
Senior Member

United Kingdom
1904 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.
eg:

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

and:

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:
http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=265&opu=n

see also:
BYZ068 - Missing Image Reporting for VP-ASP:
http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=276&opu=n

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
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
0 Item(s)
$0.00