AOS_PDF_Templates - Images sizes

Hello,

Is there a way to tell de PDF template to use a 100% image width in PDF Quotation??

I have 2 products with big images… but in the PDF are shown little.

An example is attached

Regards!

You can define the sizes with the Dimensions option when you add an image to the template. Format: width x height. Set it to 100% of the size of your image.

I do not add an image directy, I add the variable ā€œ$aos_products_product_imageā€ that is replaced by the product image… How do you set the size in this variable?

https://github.com/salesagility/SuiteCRM/blob/master/modules/AOS_PDF_Templates/templateParser.php#L109-L110

Thank you very much pgr!

Thank you for opening the Issue and providing a fix. Here’s a link to that, in case anybody wants to track it:

https://github.com/salesagility/SuiteCRM/issues/4803