op_colorize multiple layers at the same time | Community
Skip to main content
March 2, 2022

op_colorize multiple layers at the same time

  • March 2, 2022
  • 1 reply
  • 799 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
March 7, 2022

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

john313Author
March 7, 2022

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&$GRF=Baudville/71153BK_BANNER_EXC_71153BK&$BRK=1&$ATC_HIDE=1&$ATC=Baudville%2F45021_HOOK&$COLOR=Baudville%2F45021_WT&$layer=6&

 

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&$GRF=Baudville/71153BK_BANNER_EXC_71153BK&$BRK=1&$ATC_HIDE=1&$ATC=Baudville%2F45021_HOOK&$COLOR=Baudville%2F45021_WT&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&