How to automatically save each layer as its own png/jpeg while keeping one main layer above


We offer vinyl decals for many devices. To show what a design looks like on a device, we have to create a main layer of the device, having the place of where the skin would fit cut out for our background layer images to slide behind.enter image description here

We have 2,000+ designs to offer for each device, so this takes time. After we line up all the backgrounds as individual layers behind the main device window, we then have to save out each layer as its own png. This is a very time consuming process. Here's a test example of a few designs. enter image description here

Each background layer is titled corresponding to what the design is called. For example: The top layer here is called "Blue Vector Fish and Boat Pattern". How we do this now is we double click the layer title, so it allows us to "copy" the title (instead of typing it in).enter image description here

then we bring up a "save as" window and you will see our PSD file is currently save as "The (layer name) Skin for the Beats by Dre Solo 2 Headphones", enter image description here

so we will then need to put our layer title into the spot that currently says "(layer name):enter image description here

Then change the save type to PNG or JPEG.enter image description here

We then save out that design, delete the layer we just saved and duplicate our actions for the next layer in this case would be "Seamless Vector Gold Fish". enter image description here

Is there a way to create a custom script to automatically perform these repetitive actions? I am obviously doing the same thing over and over again. I would appreciate any help! We usually set up batches of 500 and save them out manually and it is brutal. Please contact me if you have any suggestions. Thanks!

8/27/2014 9:32:00 PM

File → Scripts → Export Layers to Files

Or in newer versions of Photoshop:

File → Export → Export Layers to Files

7/8/2016 8:51:00 AM