How do I add product images in a commercial proposal document that will be sent to potential customers?
thank you
Hi,
You can try MAIN_GENERATE_PROPOSALS_WITH_PICTURE
to 1 in setup->Other
Hello @ksar, sorry for replay in a solved question.
In Dolibarr documentation it says, (in the link you provided to wiki.dolibarr Setup_Other), default size for images in documents is set to 20.
Do you think is there any simple way to change/reduce that size?, tried so search in the document model pdf_azur.modules.php, but only the size of column image is resized, but not the image. About line 184:
$this->posxpicture = $this->posxtva - (empty($conf->global->MAIN_DOCUMENTS_WITH_PICTURE_WIDTH) ? **20** : $conf->global->MAIN_DOCUMENTS_WITH_PICTURE_WIDTH); // width of images
Will like to reduce the image size, test with other sizes, but don’t know how or if is it possible…
Thank any help for this
If anyone search the same, I just see this new parameter in the wiki page:
MAIN_DOCUMENTS_WITH_PICTURE_WIDTH ► Can change size of picture when hidden option MAIN_GENERATE_PROPOSALS_WITH_PICTURE
is used. By default value is 20
.