Copy link to clipboard
Copied
Hello,
I have a T-Shirt Design Startup and create my designs by myself. Now I want to save my Designs on my T-Shirt Mockups as JPEG.
I have for example 20 different colors of a T-Shirt (Hoodie, Sweat,...), all Colours are saved as a layer group
Example - Name of the Layer Group: T_Shirt_Women_Front ; Name of each Layer: T_Shirt_Women_Front_Red (Blue, White, etc.)
I put my Design as a Top Layer, let's name it "Design_1" then the Layer Group " T-Shirt_Women_Front" and Make the Layer T_Shirt_Women_Front_Red visible in order to save it as JPEG (or export for web, etc.) then I make Red invisible and Blue visible and save blue as JPEg (and so on). So far so good.
You can imagine, that this is very time consuming, if I have several Products, each with 20 color variations, and so on.
My first thought was to record a photoshop action for each layer group. This is ok, if I only had one or two products. But with 20,30,100 products, it's too time consuming.
My second thought was to save the layer group as individual file, but this action will not save the design on the product, but only the product by itself.
Can anyone come up with a solution - saving a design on each layer (product) of a layer group? Something like export layer group as files but with the design on it? Any help will be very appreciated!
PS. I have the newest Adobe CC Version.
Copy link to clipboard
Copied
There are lot of variable there is no one set design for layered mockups. Without knowing your mockup template design and structure and knowing the about the image you want to populate its impossible to even know if what you want to automate with actions can be automated with Photoshop actions.
Actions can not use logic they are a marching parade of Photoshop steps. Step step step no variation. The steps are the same for all iterations. It is very hard to deal with any variation in size and output file naming is hard to deal with. Actions can be used with Scripts like Image Processor Pro for more control and output file naming option. If a Smart Object Layer content need to be replaces to populate your mockup all replacement designs need to be exactly the same aspect ratio, resolution and size for the smart object layer associated transform to work correctly. The Associated transform is not replaced or alerted when you replace a smart object layers object.
You may need to use Photoshop scripting if what you want to do can be automated and there need to be some variation in processing fort your mockup and designes.
There are many threads in this Photoshop forum and the Photoshop Scripting forum concerning T-shirt mockups.
https://forums.adobe.com/search.jspa?place=%2Fplaces%2F1413024&sort=updatedDesc&q=T-shirt+Mockup
https://forums.adobe.com/search.jspa?sort=updatedDesc&q=T-shirt+Mockup&place=%2Fplaces%2F1383833
Copy link to clipboard
Copied
This is an example of my file structure. On the top I would have the Design, then the group layers with the products, in each group different colours of the same product. All picture are the same size.
Sorry, I am new to Photoshop and try my best to learn it. I already searched the internet, but as a Newbie it is sometimes hard to find the right "keyword" for your problem (especially when I have to search in english, since there are very few ressources in german). Maybe there is a different way to do it. I looked at Artboards as well, but don't think this could be a better way to do it.
Copy link to clipboard
Copied
Which Script you are using for this structure .? One design on multiple colors of Tshirt..
can you pls share with me the script and steps to follow .? i m new here and using script frist time.
Thanks
Copy link to clipboard
Copied
To batch populate that it would be easier to script the process then try to do with a batched action. The way Batch works and the Image Processor scripts work is. The Processor open an image then plays the action the saves the output image. Your replacement design would be opened by the processor and then the process play your action. Your action would to put the design into the clipboard them open the mockup and paste in the replacement. Then save out jpeg for every color working its way down the layer stack. The big problem is an action could not name the output filenames for the design and color. The action would need to use a script to do that.
If all your mockup have the same design a layer group with color base image. it would be just as easy to script the whole process. The script could have a dialog where you would select the mockup and the folder the replacement design are in and folder where to store the output images. Script would open the mockup then process the folder of design images. The script knows the Design name and the layer name as it works down the layer stack. It can name the output fileDesignName-LayerName.jpg and save it into the output folder.
However, you need programming skill to write a Photoshop Script. Most Photoshop users never write a Photoshop script the just use scripts programmed be others. Like Image Processor and other the Adobe ships with Photoshop. You would need a custom script to populate your mockup designed layered files.
I would think many may buy T-shirt mockup that are designed to be populate via an automated process that is part of the mockup product. If you seatch google the is no shortage of T-shirt mockup.
Copy link to clipboard
Copied
Hi Mack,
you have any Script That can work like this .? Example - Name of the Layer Group: T_Shirt_Women_Front ; Name of each Layer: T_Shirt_Women_Front_Red (Blue, White, etc.)
Copy link to clipboard
Copied
Yes which one did you need
Copy link to clipboard
Copied
Hi,
I need some thing to work for me in this way.... Example - I have one design in png format and 12 mockups with differents colors. I want that same design png in all of this mockups with the same location save as output jpg.
Copy link to clipboard
Copied
Its show me this error..
Copy link to clipboard
Copied
Action can not populate Mock Templates well and A Complex Mockups template that contains multiple products design and custom product design options would requires a custom Photoshop scripts to automate using such a specific template. That type of Mockup is normally manually updated for each output jpeg product image using the customization layer stored in the complex layered mockup template document.
To make things easy it is better to have several simple Mockup templates one for each T-shirt product configured with some default customization. A generalize Script can batch populate these templates and save Jpeg output product file with the default customization the template is configured for. That script can also optionally save a layered version of populated template with the default customization that you can edit with Photoshop to alter default options used.
A T-shirt mockup may have several Smart objects layer that will be populated. For elements like Fabric, Logo, Labels etc. All Mocks to be batch populated together need to be simular that is have the same basic design, Fabric, Logo, Labels. An example T-Shirt template may look like this:
Copy link to clipboard
Copied
Hi Mack,
Thanks for your reply... I really help me out just one question why its change the Desging position i have align according to tshirt but once its complete the design position is not the same.!
Any help .?
thanks
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can you send me this psd pls .?
Copy link to clipboard
Copied
Those layers are not empty. They are layers that are not visible in the Document composite. Their Opacity, Fill, Visibility controls have been set to render empty. These layer sole purpose in life is to make the Mockup easy to use. All you need to do is Replace the content of these top smart object via Replace content or be editing the layers object. Which is easy to do Manually and if you know hows to Script or hack at Photoshop Scripting you can design an Automated process to populate these easy to populate mockup templates. The script can not tweak adjustment possible for shadows highlights and textures for the replaced content. However it can update the mockup content with some default adjustments in a layered PSD Any populated mockup that looks bad with the default adjustment can be tweaked manually using Photoshop to adjust the adjustment layer in the populated layered file.
The top level Smart Layer can even be visible if their content does not need to re-positioned, scaled, distorted, warped for its use in the mockup composite. A simple Collage is easy to do this way and would not have the 53 Image limit my Collage templates have.
However most Mockup have content that need to be transformed in some way like wrapped around a model conform to a T-Shity shape Have some perspective added etc. So you add lower smart object layers to the mockup template that share a top level smart object layer's objects to visibly transform the appearance of the object for its use in the mock. There can be any number layers added to adjust the mockup appearance. There is no standard design structure other then the top level Smart object layer objects are use to populate the mockup with new content. Each level has specific elements content. like Fabric, Logo, Lable, Sleve, etc.
Download some free templates from the web you will fine many have this type of simple to populate design. And those that do not can be modified to the simple to populate you just need to add the Top level Smart Object Layers to the mockup template
I cans not send the PSDT for I found the template on the web and modified it some. So its not mine that I can give it away. There are many free mockup templates on the web you can look at. IMO you want to look at ones that are easy to populate some can be very complex in how object are transform and still be easy to be use.
It is easy to create replacement seat covers with a Seatcover template. Using a Collage or Mockup template design.
I create a semi automated batch action so I could interactively select the fabric area I wanted on the messenger and drivers seats . You can use the batched seat cover template output to populate the Cars. You can be flipped to mirror driver and passenger seat covets or duplicate the output files so the driver and passenger covers are identical
Copy link to clipboard
Copied
Copy link to clipboard
Copied
My script will put out that message if there are no PSD, PSDT, or PSB files that folder. There are no templates to populate.
You did not use the Help button to read how to use my scripts. You should read the help. I can not type or spell it is the best that I could do with a little outside help.
You can help Edit the help html corect my typos, spelling and grammar HELP me....
startDate = (getDateTime());
var time1 = Number(timeString());
var mockupFile = new Array();
mockupFile = templateFile.getFiles(/\.(psd|psdt|psb)$/i);
if (!mockupFile.length) {alert("there are no Mockup Templates in folder\n\n" + templateFile + "/" ); }
Copy link to clipboard
Copied
While on the general topic of varations/versioning:
https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx
https://github.com/mechanicious/photoshopCompositionComposer
http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
Find more inspiration, events, and resources on the new Adobe Community
Explore Now