- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2020 02:06 AM
Hello guys,
I have uploaded 2 images in the image(db_image) table, and i have resized the image and uploaded the image to the "db_image" table, and used these images in my approval notification, but the image clarity is not good.
The original image size is too big and is there any way i can resize the image in the mail script?
Mail Script:
var img = "/Rejects.png";
var response = "reject";
var rejectis = "I reject this request.%0D%0A%0D%0A";
var rejectreason = 'Rejection Reason: %0D%0A%0D%0A';
var emailbod = rejectis + rejectreason + '%0D%0A%0D%0A';
template.print(renderMailtoButton(img, response, emailbod));
Any suggestions will be highly appreciated!!!
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2020 02:26 AM
Hi
You can try to upload the correct sized image or you can use the CSS like below
<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600"> //Add width and Height accordingly
Regards
Pranav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2020 02:26 AM
Hi
You can try to upload the correct sized image or you can use the CSS like below
<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600"> //Add width and Height accordingly
Regards
Pranav