VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: glasya on June 05, 2012, 08:53:40 AM

Title: Change invoice image location
Post by: glasya on June 05, 2012, 08:53:40 AM
When i click on the invoice button in my order list, i get the following error:
QuoteTCPDF ERROR: [Image] Unable to get image: /htdocs/images/stories/virtuemart/vendor/resized/logo4_110x110.jpg

I need to change the image location to:
QuoteTCPDF ERROR: [Image] Unable to get image: /htdocs/www/images/stories/virtuemart/vendor/resized/logo4_110x110.jpg

Where do i change this?
Title: Re: Change invoice image location
Post by: jenkinhill on June 06, 2012, 11:06:27 AM
Try Vendor Media URL  in VM Configuration/templates
Title: Re: Change invoice image location
Post by: carsten888 on July 25, 2012, 13:26:15 PM
I have the same problem.

In the config > template at 'Vendor Media URL' I changed 'images/stories/virtuemart/vendor/' to 'www/images/stories/virtuemart/vendor/'.

Still the same error
QuoteTCPDF ERROR: [Image] Unable to get image: /htdocs/images/stories/virtuemart/vendor/resized/2512f1621d80ff362cad068834f00e411_90x90.gif

The image is there, I can view it with
domain.com/images/stories/virtuemart/vendor/resized/2512f1621d80ff362cad068834f00e411_90x90.gif
and when viewing the invoice as not pdf:
index.php?option=com_virtuemart&view=invoice&layout=invoice.......

I also tried by uploading the image to /htdocs/images/stories/virtuemart/vendor/resized/ (so outside the www-folder) but no change, still that error.