Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Replacing contents of multiple smart objects within groups

Explorer ,
Jul 09, 2017 Jul 09, 2017

I tried searching these forums for an answer to my question, but couldn't find anything specific. Here's is my dilemma:

I have a PS file with 11 groups and within any single group are 4 layers: a pixel layer containing a small thumbnail image, a curves adjustment layer, a color layer set to screen (clipped to the curves layer), and a type layer. Each group is set to normal blending mode. Each image pixel layer within each group is a smart object. The entire document is basically a template with 3 small images running across each of 3 rows down the page, with 2 images on the last row. I know I can replace the contents of each individual smart object with a new image, but I'd have to perform this task 11 times to fully update my document. Is it possible to replace all 11 occurrences of each individual smart object image layer all at the same time?

Thanks for any help  provided.

4.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jul 09, 2017 Jul 09, 2017
LATEST

No

Also the replacement image files must have the same aspect ratio, size and resolution of the object in the template.  For every smart Object layer has an associated transform  to scale the object in the document for the document's  composite.  This transform is not replaced or adjusted automatically when a Smart Object Layer Object is replaced.  That is the main reason I do not create templates with Smart Object Layer for replacement.  I want to be able to use and size image I have not have to pre-process image file for templates.  I want to be able to use Photoshop automation to populate my templates.

A Picture Package that use a shared smart object for all images in the package would be the only reason I might use a smart object in a template. For replacing the single object  I would update all images at once with a single replace smart object content replace.

Photo Collage Toolkit

Photoshop scripting is powerful and I believe this package demonstrates this and here is video demo of a 5 image template being populated via a Photoshop script:

The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.

  1. Size the photo collage templates for the print size you want - width, height and print DPI resolution.
  2. Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
  3. Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
  4. Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.

There are fifteen scripts in this package they provide the following functions:

  1. HelpPhotoCollageToolkit.jsx - Online Help
  2. TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
  3. CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
  4. LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
  5. InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
  6. ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
  7. ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
  8. PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
  9. BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
  10. BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
  11. PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
  12. BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder.  Images Rotates for best fit.
  13. BatchPicturePackageNoRotate.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder.
  14. PopulatePicturePackage.jsx - Used to Automatically populate a Photo Collage template Fill with the same single image and leave the populated copy open in Photoshop.
  15. PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.

Documentation and Examples

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines