Change the size of the image in document template which comes in HRSD application

Amit Rao
Tera Expert

Hi Experts,

I want to resize the image attached in the 'HR Document template' table -sn_hr_core_document_template.

1.Tried to change the image size by clicking on the image and selecting 'insert/edit image' but after the task is getting generated the image size remains the same.
find_real_file.png

2.Tried to change the image size using 'Source code' of the template but after the task is getting generated the image size remains the same ie very small.find_real_file.png

The image contains Signature ie the office address is mentioned in it.

Note -Removed the name of Office in the image below.

Please suggest how to increase or decrease the image size?

The document template is getting attached to the task using 'Business rule' and 'script include' is called in it.

Below is the image whose resizing is required.

find_real_file.png

2 REPLIES 2

Community Alums
Not applicable

Hi @Amit Rao ,

Whenever you add the image in image type field it stored into the attachment table and you can not change the size. so best way would be , try to upload the high resolution image. 

 give a try to upload the high resolution image and see if it's showing you clearly or not. 

Note: Image resizing is defined by the CSS. Larger images are resized to 250 pixels. For most browsers, the larger of the height and width measurements is reduced to 250 pixels and the proportion of the image is maintained. For example, an image with a size of 1508 x 663 pixels is resized to 250 x 110 pixels. Some browsers resize both the height and width measurements to 250 pixels, resulting in a square image.

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

When the docs say this: "Image resizing is defined by the CSS." Where is the "CSS" to which this refers?