VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: panos277 on March 17, 2013, 10:56:09 AM

Title: PDF invoice image path
Post by: panos277 on March 17, 2013, 10:56:09 AM
heya
i have a problem with the invoice of my online shop. when i click to preview the invoice, it displays the following error:
TCPDF ERROR: [Image] Unable to get image: /usr/local/apache/htdocs/images/stories/virtuemart/vendor/resized/logo_90x90.png

as you can see, system is trying to find the image in localhost, and not in the server. this happens because i configured the shop offline using xampp.
what i have to do to change the path of the image???

thnx a lot for the help!!!
Title: Re: PDF invoice image path
Post by: panos277 on March 21, 2013, 15:24:43 PM
i cannot believe that, its only me with this problem... None can help me??
Title: Re: PDF invoice image path
Post by: lrawling on March 27, 2013, 04:07:02 AM
I'm no expert but maybe try deleting then uploading the image again in Shop | Shop in VM Admin?

I am having the problem that the system reads <img src="<?php  echo JURI::root () . $this->vendor->images[0]->file_url ?>" /> as "http://www.mydomainname.com.au/" so the image is obviously not showing but there is no error message.

Cheers,

Liz
Title: Re: PDF invoice image path
Post by: gimmychu on March 27, 2013, 11:13:48 AM
I've got the same problem. I'll let you know if i figure it out.