내 커뮤니티 업적 표시줄을 확대합니다.

해결됨

How to remove background color option from dynamic media image server

Avatar

Level 3

Hi,

While configuring dynamic media we configure the imageserver configuration(/etc/dam/imageserver/configuration/jcr:content/settings) & replicate it to media cloud . There is a property bkgcolor to provide background color to images. But we have to display some transparent images also due to thsi property we are getting white color in background of images. I have remove this property and replicate the configurations still there is white ground on new replicated images. Is there any way to display transparent image. How can we achieve that.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

Team replied --

BkgColor is intended to provide the background color if the response image format selected does not support transparency.

The easiest way to do this is to create an image preset under Tools/Assets/Image Presets and select either GIF with alpha or PNG with alpha from the Format list.

You can also do this directly in the delivery URL, e.g.:

http://server/path/to/image?fmt=png-alpha

http://server/path/to/image?fmt=gif-alpha

The full set of response image formats is documented at: https://marketing.adobe.com/resources/help/en_US/s7/is_ir_api/is_api/http_ref/r_is_http_fmt.html

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 10

We are checking with the team.

Avatar

정확한 답변 작성자:
Level 10

Team replied --

BkgColor is intended to provide the background color if the response image format selected does not support transparency.

The easiest way to do this is to create an image preset under Tools/Assets/Image Presets and select either GIF with alpha or PNG with alpha from the Format list.

You can also do this directly in the delivery URL, e.g.:

http://server/path/to/image?fmt=png-alpha

http://server/path/to/image?fmt=gif-alpha

The full set of response image formats is documented at: https://marketing.adobe.com/resources/help/en_US/s7/is_ir_api/is_api/http_ref/r_is_http_fmt.html

Avatar

Level 3

Hi @smacdonald2008 

 

I followed the setup to render transparent image via a dynamic media but no luck.

I tried using ?fmt=png-alpha parameter at the end of the image path but it still appear with White background color. Even I tried with image preset but no luck.

Do you know if there is any other way to use transparent image from dynamic media. ? 

 

Thank you in advance for your help.