I need your advise on how to reduce the height and width of an image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 02:44 PM
Hello,
We followed the steps in the blow link to add an image to the body of the notification.
Some of the attached images are cutting off, because the Width and Height are too big
We need help on setting the Width = "300" and Height = "200" for all attached image.
We have tried the following code, but no luck of getting it to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 05:04 PM
Please discard my posting. I figured it out modifying the width and height. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 11:50 PM
Hello @Brian186
You need to use .setStyle(width, height);
Plz Mark my Solution as Accept , if you find it Helpful and Close the Thread, as it is open.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 07:12 AM
Thank you for helping @Samaksh Wani
I have tried your suggestion, but that did not work. Here is what I used to get it to works: