how to "save for web" with dataset information
I have created web page design psd set up with a main image. The main image is defined as a pixel replacement variable and uses a dataset to load in images from a local folder. I have over 100 images in this folder and I need to resize the image to 250 pixels wide and "save for web". The resizing and saving is easily done with an action but the trick comes that I need to use another column in my dataset as the saved files name.
Is it possible to create an action that will loop through each row in my dataset, do the pixel replacement on the image, grab the filename from the next column, flatten & resize the image and then save it as the filename? Of course, it would then need to undo the flattening and resizing to start at the next row.
I guess I could break it into two actions. One that will read the dataset, do the pixel replacement and export for web with the new filename. Then I could set up a second action to run in batch on the folder that contains the recently exported images and just resize all of them.
What I'm not sure how to do (if it's even possible) is to loop through the dataset with an action, get the variable from the dataset for the filename and export for web with that name. Any ideas? Thanks.