[SOLVED]Adding images to the Invoices

More
23 May 2013 07:28 - 12 Aug 2013 14:42 #1005 by mediaslave
Im having an issue adding images to the invoice template. This is the error I get:

TCPDF ERROR: [Image] Unable to get image: /kunden/homepages/42/d195597686/htdocs/ptp/homepages/42/d195597686/htdocs/ptp/2012/images/invoice_logo.png


Any help?
Last edit: 12 Aug 2013 14:42 by admin.

Please Log in to join the conversation.

More
23 May 2013 12:07 #1006 by admin
hi,

you should use the relative path to the image, then TrackTime will convert it to the absolute one, ie

images/invoice_logo.png

Please Log in to join the conversation.

More
23 May 2013 17:31 #1020 by mediaslave
Thanks for the response!

I tried the relative path, but its duplicating the path.

/kunden/homepages/42/d195597686/htdocs/ptp/homepages/42/d195597686/htdocs/ptp/2012/../images/invoice_logo.png

See what I mean? Its weird.

Please Log in to join the conversation.

More
23 May 2013 18:35 #1022 by admin
You should use the relative path, without any dots, something like:

images/invoice_logo.png

However, can you email your access details, so I can take a closer look?
The following user(s) said Thank You: mediaslave

Please Log in to join the conversation.

More
23 May 2013 19:42 #1025 by mediaslave
Thanks very much. I tried making the domain go directly to the folder too, and that didn't help much.

I'll send over a login.

Please Log in to join the conversation.

More
23 May 2013 20:35 #1026 by admin
Now I remember!
Use a jpg : png images are a royal PITA, since TCPDF in some servers mess up with transparency.
I run into this issue on my server, too :)

Just convert it into jpg and you shouldn't have any problems.
Sorry for my dead-slow memory :)

Please Log in to join the conversation.

Time to create page: 0.430 seconds