Author Topic: Change invoice image location  (Read 3376 times)

glasya

  • Beginner
  • *
  • Posts: 48
Change invoice image location
« on: June 05, 2012, 08:53:40 am »
When i click on the invoice button in my order list, i get the following error:
Quote
TCPDF ERROR: [Image] Unable to get image: /htdocs/images/stories/virtuemart/vendor/resized/logo4_110x110.jpg

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

Where do i change this?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28324
  • Always on vacation
    • Jenkin Hill Internet
Re: Change invoice image location
« Reply #1 on: June 06, 2012, 11:06:27 am »
Try Vendor Media URL  in VM Configuration/templates
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

carsten888

  • Jr. Member
  • **
  • Posts: 236
    • pages-and-items.com
Re: Change invoice image location
« Reply #2 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
Quote
TCPDF 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.