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

op_colorize multiple layers at the same time

Avatar

Level 1

Creating template file using Dynamic Media classic, I have multiple layer objects of which I would like to applying the same 'op_colorize' command. Instead of calling each layer individually (i.e. &layer=1&op_colorize=000000$layer=2&op_colorize=000000$layer=3&op_colorize=000000, etc...), I created a global parameter of 'GRF' so that I could call them all at once (&GRF=MyImage&op_colorize=000000).

However applying the op_colorize command to this parameter does not appear to function as intended (because its being applied to a parameter instead of a layer maybe??). Is there anyway to make this work so that I only need to call the colorize command once but affect all of these layers, or is breaking them out into their individual layers the only way?

2 Replies

Avatar

Employee Advisor

Hi John,

Welcome to Adobe Community !!

Could you please share an example of this "op_colorize" parameter not applying to a specific layer on a DM Classic image URL?

Thanks,

Vikram Gaur

Avatar

Level 1

In this example you can see there is a small graphic between each "custom" text. I want to colorize all of them at the same time:

https://s7d2.scene7.com/is/image/Baudville/45021-D?$TEXT=CUSTOM&$SIZE=72&$B=0&$G=0&$R=0&$FONT=Arial&...

 

It works fine if I call out each layer individually, but that adds a lot of text to the URL:

https://s7d2.scene7.com/is/image/Baudville/45021-D?$TEXT=CUSTOM&$SIZE=72&$B=0&$G=0&$R=0&$FONT=Arial&...&layer=13&op_colorize=41c1ea&layer=14&op_colorize=41c1ea&layer=15&op_colorize=41c1ea&layer=16&op_colorize=41c1ea&layer=17&op_colorize=41c1ea&layer=18&op_colorize=41c1ea

 

I made the global parameter GRF and applied the colorize command to it so that I could change them all at once, but it colors the entire image instead of just the graphics like the previous example:

https://s7d2.scene7.com/is/image/Baudville/45021-D?$TEXT=CUSTOM&$SIZE=72&$B=0&$G=0&$R=0&$FONT=Arial&...GRF=Baudville/71153BK_BANNER_EXC_71153BK&op_colorize=41c1ea&$BRK=1&$ATC_HIDE=1&$ATC=Baudville%2F45021_HOOK&$COLOR=Baudville%2F45021_WT&$layer=6&