Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

"Adding images to zen cart" link broken
Moderators: adafruit_support_bill, adafruit

Forum rules
Get help, and assist others in with open source kits and running a business! Do not ask for legal advice or for consulting services in this forum, only general biz questions!

"Adding images to zen cart" link broken

by i-make-robots on Fri Aug 17, 2012 9:18 pm

http://www.adafruit.com/blog/2011/04/28 ... -invoices/

has a link to http://www.ladyada.net/library/zencart/ ... ice_images which contains no relevant information.

I tried http://www.ladyada.net/library/zencart/ ... mages.html with no luck.

I'm very interested. Please let me know when it is fixed.

Thank you!
i-make-robots
 
Posts: 47
Joined: Sun Mar 11, 2012 1:52 pm
Location: Earth ...for now.

Re: "Adding images to zen cart" link broken

by adafruit on Sat Aug 18, 2012 5:09 pm


adafruit
 
Posts: 11905
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: "Adding images to zen cart" link broken

by i-make-robots on Sat Aug 18, 2012 5:22 pm

if(file_exists ("../images/invoice/" . $invoice_image)) {// this part is optional
$invoice_image = DIR_WS_CATALOG_IMAGES."invoice/" . $invoice_image; // /images/invoice and use that instead
} else {
$invoice_image = DIR_WS_CATALOG_IMAGES."no_picture.gif";
}
i-make-robots
 
Posts: 47
Joined: Sun Mar 11, 2012 1:52 pm
Location: Earth ...for now.