This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
[Feature] additionnal display [block, inline, inline-block, none] params for images in PDF ? #14195
apcloic
started this conversation in
Feature improvement
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Regarding PDF module, I've noticed that image fields supports the following two params :
As I would like my image to properly fit the dimensions of TD, I need to add display params to img style.
So basically, I've simply modify getTextParserDisplayValue function defined in MultiImage UIType (yetiforce_root/modules/Vtiger/uitypes/MultiImage.php) like this, add the extra parameter in my PDF template and then it works very well :
Instead of modifying core file, is there any better way to extend it ?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions