Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

no background image in invoice
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: no background image in invoice

Re: no background image in invoice 12 years, 2 months ago #27985

i thought the error message came from the background image so i don't try without http authentication and debug modus ...

Now it works ..... Many thanks for your support
The topic has been locked.

Re: no background image in invoice 11 years, 9 months ago #31857

Hi,

I have another type of error message when I add my background image.

Warning: substr() expects parameter 3 to be long, string given in /home/t/r/ftp_traeogbygdk/administrator/components/com_vminvoice/helpers/invoicehtmlparent.php on line 265

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/t/r/ftp_traeogbygdk/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 7795
TCPDF ERROR: [Image] Unable to get image: /images/baggrund1.png

Could this be because of wrong/incompatible background size or something similar?
The topic has been locked.

Re: no background image in invoice 11 years, 9 months ago #31865

After reading the FAQ I changed the file-type to JPG and set the path to "absolute", then the problem was solved.

Now I have a different problem, though..

As you can see on my attached image, my background image doesnt stretch all the way to the each side of the document. I have tried many different resolutions and all the different settings in "Background settings" in admin, but there seems to be a margin limit for the background image.

Does anyone know how to make the background fit the entire page? Also, what is the correct resolution to set in Photoshop to make the image match the resolution of the PDF-document perfectly?
Attachments:
The topic has been locked.

Re: no background image in invoice 11 years, 9 months ago #31880

  • pama
  • OFFLINE
  • Posts: 489
Hello. The background behavior is bug, it should be streteched to whole page. It will be fixed in next release. If you supply me your e-mail, I can send you fixed version immediately.

As for DPI set in Photoshop, that really doesn't matter. Important is picture pixel size. It'll take a little experiment to find proper ratio between resolution and file size. Large picture will result in large PDF files. You can start somewhere around 500 pixels width.
Note: in my experience, Photoshop makes JPG files much larger than for example IrfanView. You should try save files in Irfan View in cca 95% quality.
ARTIO Support Team
The topic has been locked.

Re: no background image in invoice 11 years, 9 months ago #31889

Hi pama,

Thank you very much for the reply and resolution-tip!

A quick patch-fix would be much appreciated.
You can send it to: Diese E-Mail-Adresse ist gegen Spambots geschützt! Du musst JavaScript aktivieren, damit Du sie sehen kannst.

Brgds
The topic has been locked.

Re: no background image in invoice 10 years, 8 months ago #40623

i can't figure out what is wrong with you scripts, i think you will be able to generate background image easily. maybe you need to change the setting, turn off http authentication. or give other software a try.
Last Edit: 10 years, 8 months ago by lifemore.
The topic has been locked.
User Login Empty