Home Forums Support add product image to invoice.

This topic contains 5 replies, has 3 voices, and was last updated by  Hillel Coren 1 month, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1098

    Anonymous

    hello, is that possible to insert image to invoice by manully? thanks!

    #1099

    Hillel Coren
    Keymaster

    We use the excellent pdfmake library to create the PDFs. The library supports adding images, you can see examples on the ‘Images’ tab here: http://pdfmake.org/playground.html

    You could create a custom invoice design with images added to it but you wouldn’t be able to add a separate image for each line item in the invoice.

    #24237

    Nizar
    Participant

    Hello,

    Reviving this old post because i didnt find an answer anywhere else and i dont want to start a new topic for the same question.

    I tried to use http://pdfmake.org/playground.html to add an image.

    For example i created this code:

    var dd = {
    	content: [
    		
    		{
    			image: https://static.digitecgalaxus.ch/Files/2/8/8/2/5/4/6/6/digitus-24-.jpg',
    			fit: [100, 100],
    			pageBreak: 'after'
    		},
    	
    	]
    };

    Now if i want to add it as an image for an Item, do i paste all this in the “Item” section of the invoice so the image is visible?

    Im a bit confused how this works.

    #24242

    Hillel Coren
    Keymaster

    Sorry, this isn’t currently supported for line items

    #24243

    Nizar
    Participant

    Ah.. so there is no way to add an image to an item to show up on an invoice?

    #24244

    Hillel Coren
    Keymaster

    Not that I’m aware of

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Posted in: