You could do something like this as long as the pictures are the same size. Create your composition(20 minutes if need) and create a null, name it “Position Control”. Assuming you have your pictures in AE, you want to select them in the order you want them to appear, if it doesn’t matter, just select them all, and add them to your comp above the “Position Control”. To start, I would turn off the opacity of all the layers except the first 8 or so.
*If you have an order though, you can select them in order, 1 at time, and press “cntl+alt+/” and they will drop into your comp in the proper order.
Select your first picture, open up the position property and paste this expression:
x = value[0] + thisLayer.width*(index-1);
y = value[1];
[x,y]
Now, right click the “Position” and select “Copy Expression Only”. Select all the other pictures except the null and paste the expression. All you layers should be now lined up, 1 after the other. You might want to shy all the picture layers now.
Next, select your null and add the following expression.
veloc = -100;
x = position[0] + [(time - inPoint) * veloc];
y = position[1];
[x,y]
The variable “veloc” controls the speed. Parent all the picture layers to the null. They should be moving across the screen at a rate of -100 pixels per second.
Lastly, you don’t need AE calculating all the pictures off screen, so you will need to sequence the layers. I included in my work file a free sequencer script you will need to add to your script folder before you start AE. In my project, I watched the first picture and saw that it took 384 pixels for it to move offscreen. So I doubled that since all the other pictures would need to move on screen and made each layer 769([384*2]+1) frames long. Next I selected all the layers from top to bottom, and ran the Sequencer script (File>Scripts) and set it to offset each layer 384 pixels. This way the pictures are only being calculated as they come onscreen, and the layer turns off when they are off screen.
For your comp, being 20 minutes long, you will have to adjust the veloc variable to make the pictures last that long * come up with your own layer sequence math.
Check out my example project if you have any questions. 7729_panningpictuersfolder.zip
Johnny Cuevas, Editor
Thinkck.com
“I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
—THOMAS EDISON on inventing the light bulb.