Photoshop: Place, Smart Object, and Fit to Document

  • 1
  • Question
  • Updated 3 years ago
  • (Edited)
There needs to be an option so that when you are batching multiple images for web, you can "place" into a set sized document and it will auto-scale to the document to fit as a smart object.

Would look something like this...

Action:
1. Open Image
2. Select All
3. Cut
4. Resize canvas to 1280x630
5. Paste as Smart Object
6. Fit to Document
7. Save & Close

Photo of Derek Petres

Derek Petres

  • 8 Posts
  • 0 Reply Likes
  • onto something

Posted 3 years ago

  • 1
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 13977 Posts
  • 1671 Reply Likes
Do you have "Resize during place" enabled in Preferences>General...?
Photo of Derek Petres

Derek Petres

  • 8 Posts
  • 0 Reply Likes
Hi Jeff,

Yes that works, but when I need to batch 4000 image with files names like Ltech22B66Lg307, I have not come up with a way to retain the file name quickly.
______________
If I could take Image "3000x2000.jpg" & image "2000x3000.jpg"

and to each simply Cut/CMD+X then Resize Canvas to 1000x500px

Then Place/Paste to fit

Then Save & Close
________________
That would work because the file name would be retained... Am I missing something? I sure hope so.

There seems to be a missing link between Paste & Place

Basically I need to fit 4000 images into one specific canvas size on white.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 768 Reply Likes
Don't cut or copy the image - just place the file, and the filename will be retained as the smart object layer name.
Photo of Derek Petres

Derek Petres

  • 8 Posts
  • 0 Reply Likes
I had 4000 images of every size imaginable, and had to fit them all on a white canvas that is 440px by 320 Pixel and retain their file names.

I was able to create an action that worked after putting in 12 hours of trial and error, but I am totally unable to explain it or recreate the action. >>>>>~O.o~<<<<

I would be surprised if no one else has run into this. There are programs outside of PS that will do this, but I neither want to pay for it, or want to use another program outside of the Adobe family.

Photo of Derek Petres

Derek Petres

  • 8 Posts
  • 0 Reply Likes
I had a mini stroke.. of genius this morning.

Realized the easiest way to achieve my goal was basically to..

Trim
Cut
Canvas Size
Fill (white)
Paste
Flatten
Save
Close



This allowed me to take 4000 images with dimensions like 1000x1000, 3000x10000, and 1000x3000 and size down to make them all 440x320.