Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Adobe Experience Manager - Image Presets - 1 Pixel Border

Avatar

Level 1

I am attempting to create a new image preset to add a 1px black border on assets. In the image below, I am able to do this for 2 sides of the image, but cannot seem to get the align function work so that this is centered on the entire document:

align=0,0&effect=1&op_grow=1&color=0,0,0

RichatStream_0-1692981158464.png



1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@RichatStream 
i also tested just to use your approach.

It works for me with and without the align. Just effect=1&op_grow=1&color=0,0,0
Is this maybe just the preview of the Preset?
Have you tried to add the modifications directly onto a picture in the url?

For example:
your.scene7.com/is/image/company-name/name-of-the-published-image?&format=jpg&wid=400&hei=600&extendN=0.05,0.05,0.05,0.05&effect=1&op_grow=1&color=0,0,0

View solution in original post

4 Replies

Avatar

Community Advisor

I used the shadow effect two times because i didn't found the border effect.
like that:
&effect=-1&$shadow$&effect=1&$shadow$

Avatar

Correct answer by
Community Advisor

@RichatStream 
i also tested just to use your approach.

It works for me with and without the align. Just effect=1&op_grow=1&color=0,0,0
Is this maybe just the preview of the Preset?
Have you tried to add the modifications directly onto a picture in the url?

For example:
your.scene7.com/is/image/company-name/name-of-the-published-image?&format=jpg&wid=400&hei=600&extendN=0.05,0.05,0.05,0.05&effect=1&op_grow=1&color=0,0,0

Avatar

Level 1

Thanks for the assist @Adilos-Cantuerk - You were correct. The preset preview was displaying incorrectly, but in practice this works as intended!

Avatar

Community Advisor

No, I thank you!
After my test, this double shadow border preset of mine was instantly changed into your setting