Best way to batch resize images in nested folder hierarchy?

Hello,
I'm looking for help on [what is probably] a classic problem related to content sites.
I'm launching a content site that has numerous articles, and attached to each article is a number of images.  The raw site assets are currently set up in a folder hierarchy like this:
Overall site assets folder
Category One folder
Article One folder
Unmodified images folder
Resized, production-ready images folder
Article Two folder
Unmodified images folder
Resized, production-ready images folder
Etc..., etc....
There are hundreds of articles in this hierarchy.
I'm looking for a script that will take every image in each "Unmodified" folder and save a resized copy to the "Resized" folder, preferably with different settings for vertical and horizontal images (though I'll be OK with just fixing the width if need be).
I realize that I can do this manually and locally within each folder with a droplet, but between droplets / actions / plug-ins or third-party tools, is there an easy way to accomplish this across a large nested hierarchy with many folders as long as the Unmodified and Resized folders are nested together?  And what about horizontal vs. vertical images? 
THANKS!!!!!!
Scott

Ahhh, I understand what you're saying.  I'm downloading and installing this CS6 script, which might be along the lines of what I'm looking for:
Dr. Brown Services - Image Processor Pro
http://www.e-zest.net/blog/photoshop-cs6-save-for-web-images-batch-processing-keeping-nest ed-folder-structure-intact/
Photoshop supports recording the actions and the facility to run that action for batch processing. But it also has a couple of limitations up to Photoshop cs6 as mentioned below –
Photoshop does not maintain the source, hereditary/nested folder structure for the output (destination) images. Save for web only saves all the files to the folder specified when you record the action.
In case of some file handling issues, Photoshop action throws an error & pauses/stops working, wherein we need to skip these errors manually.
I I tried to Google it to find answers and also tried couple of JavaScript solutions such as the – SFW Batch Processor, SFWCS4-5, Picture Processor etc., but unfortunately all of them didn’t work for me. Either it gave up or stopped working or even threw errors for PhotoshopCS6 and CS2.
Thanks to Russell Brown for providing new CS6 Extension script to resolve the ‘save for web’ batch processing issue like maintaining the images nesting folder structure.
Not sure if it does exactly what I need, but checking....
Best,
Scott

Similar Messages

  • Can I batch convert images in a folder hierarchy?

    I can't seem to be able to create an Action or Droplet in Photoshop CS5 that will batch convert images in situ in a hierarchy of folders. In the Photoshop Actions you have to specify an explicit destination, and there's no "save back to the same place" option that I can find.
    I used to be able to do this with ImageReady CS2, but Tiger is going to kill that. Help!

    If you want to give it a try, paste the following text into a new file in ExtendScript Toolkit (part of Photoshop’s installation, Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS4 or /Applications/Utilities/Adobe Utilities-CS5/ExtendScript Toolkit CS5) and save it as a jsx-file into Photoshop’s Presets/Scripts-folder.
    After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action, (in CS4 and CS5) be used in a Configurator-Panel or started from ExtendScript Toolkit directly.
    // 2011, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    // get document-path and -name; thanks to xbytor;
         var myDocument = app.activeDocument;
         var myDocName = myDocument.name.match(/(.*)\.[^\.]+$/)[1];
         var myPath = myDocument.path;
    // save for web options;
         var webOptions = new ExportOptionsSaveForWeb();
         webOptions.format = SaveDocumentType.COMPUSERVEGIF;
         webOptions.optimized = true;
         webOptions.colorReduction = ColorReductionType.ADAPTIVE;
         webOptions.dither = Dither.NONE;
         webOptions.quality = 100;
         webOptions.includeProfile = true;
         webOptions.matteColor = new RGBColor();
         webOptions.matteColor.red = 255;
         webOptions.matteColor.green = 255;
         webOptions.matteColor.blue = 255;
    // export;
         myDocument.exportDocument(new File(myPath+"/"+myDocName+".gif"), ExportType.SAVEFORWEB, webOptions);
    Edit:
    The Script could be recorded into an Action.
    It would also be possible to create a Script that offers a dialog for File- or Folder-selection and subsequently operates on all selected/contained files of specified formats, but that would be a different approach from the Droplet.

  • The best way to enlarge an image for print?

    Hello
    I've been designing for print for several years. Occasionally I design large display posters/banners (A0, 6-sheet, billboard etc) which use a photographic image. Assuming that the image I have is smaller at 300ppi than the final print, what is the best way to enlarge the image? Based on my experience, it seems that there are three options (to make it simple, the example here assumes that my image is exactly half the size it needs to be printed at. I'm also assuming that the file I will supply to the printer will be a high res pdf exported from Indesign):
    1. Set up the Indesign file at 100% size, place the photo and have Indesign upscale the image to 200%. Export a high res pdf for print.
    2. Set up the indesign file at 50% size, place the photo with no upscaling by Indesign. Export a high res pdf and have the printer blow it up to 200%.
    3. Set up the Indesign file at 100% size, enlarge the photo in Photoshop to 200%, and place the photo with no upscaling in Indesign. Export a high res pdf for print.
    I have been advised that having Indesign upscale the image is not a good idea, and I never do this. I guess that option 3 is probably best, with Photoshop doing the work and the resulting pdf being the correct size. However, it's not always possible to do this – some posters are huge which means that the enlarged photo and the high res pdf will both be huge files, and I think also Indesign has a maximum document set up size anyway. So sometimes I use option 2.
    So firstly, why is it a bad idea for Indesign to upscale the image (as I say, I never do this, but I would like to know the technical reason)? Secondly, if the choice is between re-sizing myself in Photoshop prior to exporting the pdf, or having the printer enlarge a high res pdf, which is better? When I say 'better' I mean in terms of the quality/sharpness of the end result. Also, I assume that vector elements in my design will not be adversely affected in either scenario, is that assumption correct?
    Thanks

    Sorry for the added confusion.  It appears, after doing some checking in my CS2 apps ( InDesign), there is no setting for DPI / Output Resolution.  Only Transparency Flattener Setting. See screen shot below...
    If you select Postscript File in the Print Presets, you can access resolution settings for transparency flattening there, too...
    in the "Advanced" tab dialog...
    But, I like having the option in Illustrator 10 File > Document Setup where I can set the output resolution to whatever is appropriate.  In this case ( below ) I've got it set for 5080dpi / 300ppi.  You also have Effect > Document Raster Effect Setting where you can select 300ppi ( see screen shot below )...
    ...and Raster Effects Resolution setting...
    I may have misled you because the apps I have are not CS6; but you should be able to follow along in your CS6 apps in various settings dialogs.  Mainly, resolution settings can be set in the Print dialog boxes.
    The main thing to keep in mind is, because you are enlarging upon output, the base scaled down file must have enough resolution to maintain its appearance at the final size.  In the case of 50% or 25% file resolution should be maximum ( for current apps it appears 300ppi is considered high resolution.  Most apps now leave output resolution setting adjusted in the RIP / Print driver.
    I still use Distiller because it allows me to setup custom PDF settings and save them for future use.  You very well may be able to do that in CS6 apps; but I have a tried-and-true workflow that utilizes Distiller as a personal preference.

  • Whats the best way to place an image in DW CS5.5

    Hello all,
    what is the best way to place an image exactly where I would like it to go in Dreamweaver CS5.5?
    I have my images sliced in Fireworks already. Also since my images are sliced already in Fireworks is
    there a way to place the images exaclty where I had them in my original Photoshop file?
    Thanks in advance!
    DRivera

    Stay away from APDivs for layouts.  Start with a pre-built CSS layout that has all the columns you will need for your project.
    Beginner CSS Templates -
    For commercial CSS Templates that are rock solid and perform well in all browsers, visit Project Seven:
    http://www.projectseven.com/products/index.htm
    Not Just a Grid CSS Framework (free)
    http://www.notjustagrid.com/demo.asp
    Ultimate Multi-Column Layouts (free)
    http://matthewjamestaylor.com/blog/ultimate-multi-column-liquid-layouts-em-and-pixel-width s
    EZ-CSS Templates (watch the screencast to see how it works)
    http://www.ez-css.org/css_templates
    Dreamweaver CSS Templates for beginners (free)
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages (free)
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Best way to extract all images from Messages?

    My iPad freaked out earlier today and unfortunately I had to do a recovery and restore (from iCloud backup).  I say unfortunately because I was 90% certain I was not backing up photos/video (and there was no way to check before doing the restore).  And indeed I had photo/video backup turned off.
    I'm mostly back to normal now, except for all the lost photos/videos.  I've gone through some of Messages to Save ones I sent there. 
    What is the best way to extract all images from past Messages so I don't have to tediously load earlier messages?   I understand there are some programs that allow one to go through a local backup and go through messages.  But for this I suppose I'd first need to make a local backup of everything, no?  Are those programs able to extract just images I've sent or do they grab everything (i.e. images others have sent me?)
    Related, before I did the initial restore could I have easily retrieved the photos/images on the device through some third-party solution?
    Lastly, and semi-off topic.. What determines the image name for an image in Messages?   For example, I Copied a photo someone sent me via Messages and Pasted it three times back to her (all at the same time).   The image filenames are IMG_6447.jpg,  IMG_4820.jpg, IMG_0291.jpg.  

    Thanks Kirby.  I utilize Aperture 3 by reference instead of a compiled library.  So I have individual folder/projects stored on my laptop.  By exporting as a library, does Aperture bring these folders and related images "with it"?
    What I don't want to lose is any post processing I do in the field which creates separate versions and/or .PSD files.
    Thanks for your continued assistance.
    Chris

  • Best way to "transfer" Aperture images from MacBook Pro to iMac?

    I recently purchased a MacBook Pro 15" to import and edit images (within Aperture and CS6 as an external editor) when I'm out in the field shooting.
    I prefer to have all my images in one location and thus desire to copy eveything to my home base iMac when I return home.
    What is the best way to "transfer" those images so that my homebase iMac Aperture Library can recognize the new masters and edited versions?  Complicating this is the desire to "stamp" each image with a metadata preset upon import that I can do either at the laptop import or upon transfer to the iMac.
    I know just enough to be dangerous but clearly there is an optimal way to consolidate and manage images when using two computers.
    Welcome any thoughts from fellow photographers!
    Chris

    Thanks Kirby.  I utilize Aperture 3 by reference instead of a compiled library.  So I have individual folder/projects stored on my laptop.  By exporting as a library, does Aperture bring these folders and related images "with it"?
    What I don't want to lose is any post processing I do in the field which creates separate versions and/or .PSD files.
    Thanks for your continued assistance.
    Chris

  • Problem trying to batch resize images from bridge.

    I am trying to batch resize images from bridge. I am on windows 7 desktop and using CC, I select the images in bridge, tool bar>tools>photoshop>image processor. After doing this, photoshop CC opens but no images open.

    open photoshop, open actions pallette, click new action (windows > actions (or Alt+f9)), click record, open your image, resize it, click stop action.
    then use file> automate > batch
    the action you just recorded will be ready to use, select the folder with all your photos (wise to work on a duplicated folder incase you mess up)
    run the action.  wait while photoshop opens and resizes the images one by one.
    check in folder if the images resized how you expected.

  • How do I batch resize images with different aspect ratios?

    How do I batch resize images with different aspect ratios?

    poa66 wrote:
    Landscape: I want result to be 1960 x 1103 px and 72 ppi whether the original is 300 ppi or 220 ppi and wether it is 2Mb or 10 Mb. Cropped centered top and bottom.
    There will be a set of Landscapes that that have a narrower aspect ratio the 1960:1103 that would also need the top and bottom cropped like all Portraits would could be.  You need to realize that center cropping Landscape image that have aspect ratios near 1960:1103 will usually produce acceptable compositions.  However Cropping wide panoramas and portraits will only produce acceptable landscape  1960:1103 composition occasionally.
    Here you will see what happens when image have aspect ratio the do not fit the desired aspect ratio.  Where Landscape  are forced to portrait and portrait forced to Landscape.  Here are two Collage I populated with a mixture of image  with different  aspect ratios.   One collage has all 3:2 Landscape places and the other 2:3 Portrait places.
    I create a 1 image 1960x1103 collage 72dpi and create those too. Note the landscape boy foot is cropped off 3:2 is narrow compared to 1960:1103

  • Batch resizing images with preview

    When I try to batch resize images in Preview I have an error message: not enough space reduce volume?

    File - Automate - FitImage
    or
    File - Scripts - Image Processor
    Both should do what you want.

  • Best way to store digital images?

    I have all of my digital images for personal and business loaded in my home pc (Windows XP, sorted in a Kodak Easyshare program). Recently purchased a laptop. All of my information from the PC was transferred/copied onto the laptop. However, I want to store the images on something separate from the laptop. Approximately 10GB worth of images.
    What is the best way to store them for easy access to view and copy/print or for uploading to a site to print out pix for photo albums, etc.
    Thanks!

    TheLexMachine wrote:
    empty317 wrote:
    I have all of my digital images for personal and business loaded in my home pc (Windows XP, sorted in a Kodak Easyshare program). Recently purchased a laptop. All of my information from the PC was transferred/copied onto the laptop. However, I want to store the images on something separate from the laptop. Approximately 10GB worth of images.
    What is the best way to store them for easy access to view and copy/print or for uploading to a site to print out pix for photo albums, etc.
    Thanks!
    The best way to store your images is to get a high-capacity flash memory device, preferably an SDHC card because they have a lock switch that prevents writing when the card doesn't need to be written to, and use that to archive your files. Simply keep it inside a memory card case in a safe place, such as a personal lock-box, and you're good to go. You can take that card to any photo kiosk or someone's home to do whatever you want to with the files.
    Good point, I'm so ingrained against that particular solution due to the sheer amount of images I have (I can easily fill up an 8GB SDHC in 1-2 days when airshow season rolls around, plus I have an HD camcorder that takes about 8GB/hour), but since the OP only has 10GB total, making copies to 2-3 16GB SDHC cards and storing them in safe places would be an excellent approach.  Choose one location (maybe the desktop or the laptop's hard drive) as a "master" and periodically back up to all the SDHCs.
    Just make sure to choose a "master" storage location or you'll go insane trying to keep things synchronized.
    Online storage solutions such as Dropbox and similar services might also be an option for only 10GB of data.
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • Whats the best way to manage/display images ?

    I'm building a yet another photo management application that is designed to be a Picasa2 "lite". I've got a lot of JPGs I need to manage, all of which are loaded asynchronously and cached over the web.
    The same image may appear in multiple places, (i.e. thumbnail, fullsize, original with a zoom box, etc.) I'm having problems keeping all these images in synch when I change the underlying image -- right now I have to create all new JLabels for everything and add them to their respective Panels again. But that doesn't seem like its the best way.
    Here's my JLabel sub-class:
    public class ImageLocatorSubscriber extends JLabel {
         public final ImageDimEnum maxDimEnum;
         final ImageIcon imgIcon = new ImageIcon();
         BufferedImage bi;
         ImageLocator il;
         public ImageLocatorSubscriber(ImageLocator il, ImageDimEnum d) {
              super();
              this.maxDimEnum = d;
              this.imgIcon = new ImageIcon();
              if (il != null) {
                   this.il = il;
                            this.bi = il.getBi(RunMode.NOWAIT);
                      if (bi.getWidth()!=maxDimEnum.dim.getWidth() || bi.getHeight()!=maxDimEnum.dim.getHeight()) {
                           bi = FotoFix.resize(bi, maxDimEnum.dim);
                      this.bi = bi;
                      this.imgIcon.setImage(this.bi);
                      this.setSize(bi.getWidth(), bi.getHeight());
              this.setIcon(this.imgIcon);
              this.setBorder(Constants.borderGray);
         }Is the preferred method for changing the image displayed in a JLabel
    a) create a new ImageIcon and use (JLabel) this.setIcon()
    b) reuse the existing ImageIcon and use (JLabel) this.imgIcon.setImage();
    c) remove the old JLabel from the panel, create a new JLabel, and add that to the panel?
    I can only get c) to work. When I try to use b) some of the images are not updated properly, even as I have declared this.imgIcon as final. Any ideas, or should I just leave it be?

    override this method in any JComponent subclass
    http://java.sun.com/javase/6/docs/api/javax/swing/JComponent.html#paintComponent(java.awt.Graphics)

  • Best way to print an image multiple times on same sheet and not lose quality when doing so

    Hello,
    I have the full subscription to Adobe Creative Suite, but am unfamiliar with almost all of the programs. I have used Photoshop a bit, but not too much.
    I have this project I do several times a year, and am sure there is a better way to do it.
    I am sent a colourful excel spreadsheet - a schedule. I print a bunch of copies full size, then need to print 8 copies on a single 8.5x11 piece of paper.
    I've tried several methods - but want to know what the best way to retain the best quality would be.
    The best I've done (and I'm not totally happy with) is to copy the image into Photoshop, save as a PDF, create 7 more copies then merge as a single PDF and print.
    I do find that the quality does suffer a bit.
    Can anyone suggest a better way?
    Thanks in advance.
    Amber

    With all the apps at your disposal, that is a long way around. Granted it is hard to not loose quality/data when scaling. But it makes sense to create the document to your liking, then create a new document that is 8.5" x 11" and place the original into it. Then using guides or alignment tools, duplicate that image.
    This allows you to have full control over the location of each image, and extra data needed like captions, names, etc. and how that data is formated.
    Luckily you have multiple programs that can accomplish this. Some are easier than others, some are more robust than others, etc. In the end it is what you are familar with and how much time you can spend on learning while getting the job done.
    Photoshop, Illustrator, Indesign are all your go to programs from creating anything for print and they can be used for other media as well. But that is their strong suite, print.
    All three apps have their own dedicated forum on this site, so go ahead and mark them as your favorites as your questions for each need to be in their respective place.
    http://forums.adobe.com/community/photoshop
    http://forums.adobe.com/community/illustrator
    http://forums.adobe.com/community/indesign

  • The best way to insert values in a Nested Table

    Hi!
    I want to insert values from a SQL-query in a Nested Table.What's the best way to do it?
    In addition,the only way that I've found is doing a query and when I've got the query result I insert it into the Nested Table.For instance:
    FOR cur_row IN (SELECT id,nstreet from example Where id=3) LOOP
    --here I'm inserting the values of the query in the nested table.
    -- VarNestedTable is a Nested Table of Row_Type.
    --Row_Type is an object with two fields:Id,Nstreet
    VarNestedTable.extend;
    VarNestedTable(Coincidents.Last):= Row_type(cur_row.id,cur_row.nstreet);
    END LOOP;

    How to Use Tables: Creating a Table Model.
    very bad example:
    class DataObject {
    String name, age, numberOfMonkeys;
    class DOTableModel extends AbstractTableModel {
      final String[] COLUMN_HEADER = { "Name", "Age", Monkeys" };
      List dataObjects;
      public String getColumnName(int column)  {
         return COLUMN_HEADER[ column ];
      public int getRowCount() {
        return dataObjects.size();
      public int getColumnCount() {
         return COLUMN_HEADER.size();
      public Object getValueAt(int row, int column) {
         DataObject do = dataObject.get( row );
         switch( column ) {
           case 0: return do.name;
           case 1: return do.age;
           case 2: return do.numberOfMonkeys;
    }

  • Best way to layout multiple images on a page

    Hi , I am a complete newbie to Dreamweaver and CSS, but am getting there :)
    I have a page with a <div>  #container that is 400 px wide, and is wish to install 4 images as a 2 x 2 matrix in this container.  What is the best way  to do this with CS4?  There are other times when I will want to do a 2.x 3 image matrix.
    I would appreciate all help and suggestions
    regards,
    Jill

    My method of choice to do what you want to do:
    Assuming that you want 2 side-by-side images (400 / 2 = 200), make the width 200px;
    Assuming that the 2 x 2 refers to square-format, height will also be 200px;
    Therefore, on the 2 x 3, width will remain 200px; height will be 300px;
    Create a div format "box" that is styled like:
    .twobytwo, .twobythree {
         width: 200px;
         height: 200px;
         float: left;
    .twobythree {
         height: 300px;
    <div id="container">
         <div class="twobytwo"><img [image code here]></img></div>
         <div class="twobytwo"><img...etc....
    </div>
    Because most of the properties are the same, I used a group selector for most of the property/values and added a single selector (.twobythree) for the one property that changed for the .twobythree.
    Beth

  • Best way to scan multiple images

    Hi there,
    I am new tp Photoshop and have a project already that I want to do with Ps, but am unsure of the best way to go abut ahceivng what I want...
    I want to scan all my older photo's, crop & straighten them for later use in a slide project done in Permiere Pro.
    I was wondering how best to scan them in, do I scan 1 at a time, deal with that then onto the next? or is it beter to scan several of them in one and amd crop each one out of the scan?
    The problem I can see with scaning multiple at once, is getting to optimum settings for each image (mix colour and B&W).
    Time is not a huge issue, although I can imagine that once I start, I will wan to get it done, but I would prefer to take time for quality results, but is it ideal to scan multibple & if so, would the qulaity be worse doing it in multiple?
    Cheers
    Rossco

    Photoshop has a crop and straighen feature, which will divide up multiple images when more than one image is scanned at once. After the images are divided up, then you can use photoshop tools to adjust the color, remove dust, etc. I find using the levels command seams to work just fine for quick color correction. But if you have the chance to use camera raw that would be a better choice since most of your tools are in a single dialog box. Both camera raw and the levels adjustment layer are non-destructive, which means you can change your mind at a latter date.

Maybe you are looking for