Looking to have a Photoshop JS script build that takes a folder (full of images) as an input and a PSD file as 2nd input.
In the PSD template will be a layer that each image needs to be placed into and then saved as a JPG. The layer and images may be different sizes though, so each image may need to be resized and possibly cropped to fit before it is added to the PSD template. After adding the image to the PSD then the script will save the result as a JPG.
I will provide a sample folder of input images and 5 PSD templates that may be used. If needed a channel or mask can be added to the PSD templates to make creating the script easier.
Prompt User for Folder
Prompt User for PSDTemplate
Check for size of Layer named 'drop' in PSDTemplate
Loop through images in Folder
Resize Image[i] to fit layer
If Needed crop Image[i] to fit layer
Paste image into layer
Save file as JPG