Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Line around image


Level 1

When I insert an image, it ends up with a faint line around it.  I've tried using a .jpg and .png image and the same thing happens with both.  Any ideas how I get rid of the line?

2 Replies


Level 10

If you are using Image Field then you can make it readonly which will eliminate the highlighting to the field..

ImageField1.access = "readOnly";

You need to place the code in the Initialize event of the ImageField.




Level 1

Thank you Srini, I tried that but it didn't work.  What I ended up doing was changing my image from CMYK to RGB and that solved the problem