Image (Height/Width)

Created by Docs Made Easy, Modified on Mon, 14 Jul at 6:19 AM by Docs Made Easy

Available In: Docs Made Easy Basic and Pro



Parameter Value : Image H W

Parameter Requirements : A valid salesforce field containing an Image URL.


Parameter Description : The Image (Height/Width) parameter in Docs Made Easy allows you to resize images dynamically at the time of document generation by specifying the desired height and/or width in pixels. This ensures consistent visual formatting of embedded images.


SYNTAXEXAMPLEOUTPUT
{{Image:Object.Field:H=inPixels:W=inPixels}}{{Account.Description:H=50:W=100}}



Note:

In below example

{{Image:Object.Field:H=HeightInPixels:W=WidthInPixels}}

H=100 → height = 100px

W=200 → width = 200px


You can use either H, W or both. If only one value is provided, the image will be resized proportionally to preserve its original aspect ratio.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article