Copy link to clipboard
Copied
Hi I had a program that automated importing images from Bridge into a Photoshop created envelope form. They are out of business and I lost it when I updated to the newest Photoshop CC version. I need to be able to import a batch of images into my order form. I need to have the 4 images on the top of the form with their filename beneath, and then the same 4 images smaller on the bottom part of the envelope with their filename as well. I was able to select the entire contents of the folder, it would import each image into the correct place, and then print the output.
Can anyone help me? I have the base form, I tried to use rectangles, convert to a smart object, but then I'm lost as to how to get the filename below and then to automate it.
Thank you! Mary
Copy link to clipboard
Copied
It sound like you can create mockup template for your form and populate that with your images using a batch mockup populating script. You would need to have some way the Script would be able to get the Names font and text size for your text layers. You may need to limit the length a name can be so they will fit within the template text label areas. There are some example scripts for re-populating Smart object layer. In this forum. None handle Text labeling Populated images. I believe you will have a hard time designing you template and coding a Photoshop script..
You made be able to Use Photoshop Dada Driven Graphics feature it supports Image and text. You create templates where you defined Photoshop variables for text and Images layers you want to populate. A CSV data set is also required that ties the template variables to the replacement Text and image files. This is most like the easier of the two approaches
Copy link to clipboard
Copied
I understand that all the basic work has already been done, the only question is how to add the name of the file (layer, if it is imported as a smart object) in the text layer?
app.activeDocument.layers.getByName ("put here name of your text layer").textItem.contents = app.activeDocument.activeLayer.name
Copy link to clipboard
Copied
Can you provide a download link to a finished example template?
Copy link to clipboard
Copied
As it involves Bridge, here's dedicated Bridge Scripting Forum
Find more inspiration, events, and resources on the new Adobe Community
Explore Now