Copy link to clipboard
Copied
I have a image file with metadata. In Photoshop, I have a template that I pull the aforementioned image into. When I save this image within the template file (both layered and flattened), the initial metadata does not migrate over to the file.
I know there are ways to add the metadata manually prior to export, but I was wondering if there are any actions or plugins available that will make that process easy. It is different metadata every time, so I can't use the template feature.
EDIT: 23rd September... Here is an updated 1.1 version to append the keyword metadata. This assumes that the template document is the first document opened, with the two asset docs opened afterwards. It is also assumed that the asset files are flattened and don't contain layers. This also presumes that there are only two asset images in addition to the template image.
/*
Copy and paste pixel and keyword metadata.jsx
v1.1, Stephen Marsh, 23rd September 2022
https://com
...
Ok, so now you just need this to work on 2 or more open docs? There could be 2, 3 or more files open and this varies each time the script is run?
Edit: Here is an updated version that works with 2 or more open docs. There is no longer a requirement that the template is the first doc open, the active document when running the script should be the template, and the order doesn't matter. The pasted images are converted to embedded smart objects.
/*
Copy and paste pixel and keyword metadata.jsx
...
Copy link to clipboard
Copied
Another option could be to use the Script Events Manager:
https://prepression.blogspot.com/2021/10/photoshop-script-events-manager.html
Using a modified version of the last script posted, with the Script Events Manager set to use the placeEvent:
This way, every time a smart object is created (drag-n-drop into Photoshop, File > Place...), the modified script would automatically run, copying the keyword from the SO to the main Template file.
Pros: No duplicate keywords from possible multiple script runs as with the previous script. Duped keywords would only be created if the same image was placed multiple times or if the same keyword was used in multiple images. No need for a user to remember to run the previous script manually.
Cons: This would kick-in every time an image was placed, whether or not you were working in a template file or not. Of course this can be disabled/enabled as required, which has it's own room for error if you forget to turn it back on before working on a template.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now