Program to mirror and resize photo folder to another folder...

Soldato
Joined
15 Nov 2003
Posts
14,455
Location
Marlow
Is there a program that can go thru an entire folder structure, and mirror all the photos in it to another folder structure, with the pictures all resized/made smaller?

ie: You have your master photo directory. You then want to run the program to resize them all in a mirror directory. So all the pictures in there are a fraction of the originals size. Ideally on subsequent runs, it would only bother converting new pictures, and remove ones for which the original no longer exists etc...

Make sense?
 
you could probably do this with a custom script in photoshop maybe. I've got one which resizes the contents of a single folder to a second folder and it also adds a watermark and a border.
 
But I assume:-
- It would convert all files again, not just the one or two new images?
- It wouldn't remove the 'mirrors' of images that have been deleted from the source/master folder?
 
Lightroom can do this for you.

Import the root folder, apply a mirror to one image, sync (copy) the manipulation to all the other photos, export to another folder with sizes as required.
It won't however export to sub folders, if the number of folders you're using is small you can just export x sets to separate folders.
 
Last edited:
JAlbum can do most of this but probably not the intelligent update bit. It's not what it's designed to do but it should work.
 
I have a python script I use to do this, I have one I run my self that goes through the folder I'm running it from and generates resized images, I also have a watcher script which runs in the background of my pc, watching my photos directory and resizes any additions to the folders and puts the resizes in "thumbnails".
I was developing this for a piece of online gallery software, where all the user had to do was dump all their pictures into a folder on their web server, and it would automatically generate thumbnails and pages to be served, this project has slowed slightly though cuz of my dissertation lol
My resizing scripts are less than 50 lines though, dead simple, and I've only tested it on linux, I'm doubtful it will work on windows, well I know for a fact the watcher will not, because the script gets messages from the linux file system telling it new things are being made/changed.
The intelligent update bit is quite complex to do without a database really, I'm trying to avoid a database in my gallery software :)
 
VSO resizer. Best free program ever!

Looks good! Possibly slightly easier to use than my find... (does the same job though :))

EDIT: Bearing in mind most files it will be ignoring/skipping as they've already been converted (on a previous run). My program is VERY quick at skipping, where as VSO is quite slow. I suspect it's because it's loading every image in to display a thumbnail, even though it will end up doing nothing with it (if the destination file already exists). My program also has less clicks/options to run it. I just drag the source folder to the program shortcut. I also don't have a context option added. It can also have numerous different configurations (via shortcuts), whereas VSO can only store one.

If the outputs results (quality) are the same, I think mine wins...
 
Last edited:
Sorry to bring this thread back from the dead... But just to put a useful footnote here.

So here is a script to mirror a SOURCE folder to a DESTINATION folder:-
a) Resizing all photos as specified
b) Only doing those that need to done (ie: only do new or modified photos)
c) Remove ones in the DESTINATION folder that no longer exist in the SOURCE folder

It sses Photo Resizer 4 and ROBOCOPY to achieve this. ROBOCOPY is only require to remove photos no longer in the SOURCE folder, that still exist in the DESTINATION folder.

Example is where:-
- source location is D:\Source
- destination is D:\Destination
- Photo Resizer executable is just located on the D drive

Code:
"D:\PhotoResize400.exe" -h1080 -q85 -u -r -m -o "-cD:\Destination\<PATH><NAME>.jpg" "D:\Source"
ROBOCOPY D:\Source D:\Destination /PURGE /S /xo

Obviously the size and quality of the resize is up to you and completely defined by the options on the photoresize call. http://www.rw-designer.com/photo-resizer-advanced

So this simple batch job, with just two lines in it, can do a quick, efficient mirror/resize of all your photos.

In my case I produce a resized mirror to view on my media player. A 4mb photo is reduced down to a couple of hundred K with no discernable difference n quality (on my TV screen), but is far far faster to move around/view...
 
Last edited:
Back
Top Bottom