Is it possible/neccessary to specify the position of the layer swapped within the smart layer itself? #26
Replies: 3 comments 1 reply
-
I'm not sure if I understood the issue, but I'm thinking maybe
In all of my examples of the nested target, it's smaller than the regular target, but in your case it should be the same size as its parent target since if I understood correctly, you only need it in order to place the input files inside the target smart object at a very specific layer position. I have two examples in the repository that use it: This is perhaps easier to understand with the target names. The target smart object holds a browser mockup and the nested target holds the browser viewport contents... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Joonas, you were absolutely right, thank you for clarifying that for me, I have done exactly what you explained and it's working perfectly now. Thank you very much for your time and knowledge. You deserve a🥇 Cheers 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Joonas,
Firstly, thank you, for making this available and engaging with the questions people have asked, I've been having great fun tinkering with this script engine on my own personal projects, it's super fun.
I've had a look through documentation and all the Q&A on GitHub and I can't find a definitive answer, I'm hoping you can tell me if I'm getting something wrong.
I have a number of psd files for art frame mock-ups, inside is a smart object and within that smart object are a lot of effect layers, shadows, textures etc. When I'm running the script the exported jpg of my image doesn't have any of those effect layers applied. I am assuming that this is because "The old switcheroo" 👍 is happening as the top layer within the smart object? I tried the "showLayers" function and specified each of the effect layers in the array but that didn't seem to have an effect.
So my question is ultimately, is it possible to specify the position of the layer swapped within the smart layer itself, or should that not actually be an issue and my issue lies somewhere else?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions