Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hey I'm trying to recreate this effect:

enter image description here

I know it could be easily done manually. I'm wondering if anyone has come across a tutorial or knows how to create this automatically with actions in photoshop?

I want to be able to highlight a certain amount of photos and be able to create something similar automatically.

If anyone knows anyway to accomplish this efficiently with any software. I'd really like to know.

share|improve this question
You're referring to what's known as the "packing problem." If you were to do this in Photoshop, you would need to use the scripting api. – Alex Blackwood Dec 17 '13 at 4:04
As someone who writes Photoshop scripts a lot, I can tell you this would be very complex. That said, it would be an interesting challenge for me and I may have a solution (no promises, though) – Adam Elsodaney Dec 18 '13 at 19:54
Will the number of images always be the same? This could be done with nested actions. – Phlume Jan 14 '14 at 16:05
I'd probably use indesign and import that to photoshop. About indesign gap tool and gridify. Little more about gridify. – Joonas Jun 15 at 6:46

If no Action Script is made available to you. I think it may be more efficient, personally, to use InDesign for any layout work as it offers better tools for layout than photoshop does.

You could easily build a template layout of empty frames (frame tool) that matches the above layout orientation (or any layout). Then bulk place the photos you would like to use into the empty frames. I have used this to make templates for photographers in wedding photography.

This option would not work well˚ unless you are dealing with a set number of photos (like the 8 above).

˚A variable number of photos (think Pinterest site/app...) may work if you use a little gem of mathematics - Pythagorean Tiling (similarly Tessellation).

share|improve this answer

Have you tried the tych extension?

share|improve this answer
Welcome to GD. Your answer may help the OP but please read our Help Center Guidelines and know that new users posting link only answers tend to receive down-voted votes. Do you mind adding a little more information to help the OP so your answer will be better? – Darth_Vader May 7 '14 at 21:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.