Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

3 Replies

Avatar

Level 10

We are checking with the team.

Avatar

Correct answer by
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

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.