-
1. Re: PS CS6 action save for web error
c.pfaffenbichler Jul 25, 2012 2:46 AM (in response to venkatl)And if you rename the files afterwards?
-
2. Re: PS CS6 action save for web error
venkatl Jul 25, 2012 5:22 AM (in response to c.pfaffenbichler)If I rename the HTML extension to JPG then the pictures shows, So I tried again to check what extension its taking and I found the format selected as "Images Only" then also its generating HTML extension for the JPEG images.
I guess its a bug.
-
3. Re: PS CS6 action save for web error
JJMack Jul 25, 2012 6:13 AM (in response to venkatl)Can you save the Action set and upload it to someplace we can download it and look at the actions something may be recorded badly.
-
4. Re: PS CS6 action save for web error
venkatl Jul 25, 2012 10:40 PM (in response to JJMack)Hi JJMack
I have saved the action set at the following URL please download and check.
-
5. Re: PS CS6 action save for web error
JJMack Jul 26, 2012 2:26 AM (in response to venkatl)1 person found this helpfulIt a new bug in CS6 though when you recorded the action you saved jpeg images to you desktop and you only entered file names onto the save for web action steps the action recorder recorded name.html. I replaced you save for web steps on my machine for my desktop and CS6 recorded name.html. I then did the same with CS5 though I only entered names CS5 recorded name.jpg.
If you expand the export steps tou will see the hard coded file names and extention
An action like this will always save the same files it can not be batch because you recorded Path and Names in the save for web steps. The .html files saved on with CS6 are actually jpeg files and if you rename them hrom name.html to name.jpg you can use them,
Set: cropping
Action: story sizes
Levels
Preset Kind: Custom
Adjustment: levels adjustment list
levels adjustment
Channel: composite channel
Input: 0, 245
Gamma: 1.14
Image Size
Width: 660 pixels
With Scale Styles
With Constrain Proportions
Interpolation: bicubic automatic
Export
Using: Save for Web
Operation: Save
true
In: C:\Users\venkatr\Desktop\
Custom File Name: “_660.html” <----CS6 problem recording - CS5 records "_660.jpg on my machine
Format: JPEG
Without Interlaced
Quality: 55
0
Quality Modification Channel Strength: 0
Without Quality Channel Text Layers
Without Quality Channel Vector Layers
With Optimized
Number Of Passes: 3
Blur: 0
Without Embed ICC Profile
With Matte
Matte Color Red: 255
Matte Color Green: 255
Matte Color Blue: 255
Without Save HTML File
With Save Image Files
Slices: All Slices
Color Handling: Convert to sRGB
Metadata: None
Without Output XHTML
With Include Comments
With Always Add Alt Attribute
With Always Quote Attributes
Without Close All Tags
With Include Zero Margins on Body Tag
HTML Tags Case: Lowercase
HTML Attribute Case: Lowercase
HTML Indent: -1
HTML Line Endings: Automatic
<unknown>
Without Generate CSS
Empty Cells: GIF, IMG WH
TD WH: Auto
Vertical Spacer Cells: Auto (Bottom/Right)
Horizontal Spacer Cells: Auto (Bottom/Right)
Slice Name Components: Filename Component list
Filename Component
Filename Component Type: doc. name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: layer name or slice no.
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Without View As Background
Background Image Path: “”
Background Color Type: Matte
File Name Components: Filename Component list
Filename Component
Filename Component Type: slice name
Filename Component
Filename Component Type: hyphen
Filename Component
Filename Component Type: trigger name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: rollover state
Filename Component
Filename Component Type: none
...3 More
Without Mac OS 9 Filename Compatibility
With Windows Filename Compatibility
With Unix Filename Compatibility
With Use Images Subfolder
With Copy Background Image when Saving
Images Subfolder Path: “images”
Select previous history state
Crop
To: rectangle
Top: 111.4 pixels
Left: 142.2 pixels
Bottom: 2342.6 pixels
Right: 3613.1 pixels
Angle: 0°
Without Delete Cropped Pixels
<unknown>
Target Width: 350 pixels
Target Height: 225 pixels
Target Resolution: 0 per inch
Export
Using: Save for Web
Operation: Save
true
In: C:\Users\venkatr\Desktop\
Custom File Name: “_350.html”
Format: JPEG
Without Interlaced
Quality: 55
0
Quality Modification Channel Strength: 0
Without Quality Channel Text Layers
Without Quality Channel Vector Layers
With Optimized
Number Of Passes: 3
Blur: 0
Without Embed ICC Profile
With Matte
Matte Color Red: 255
Matte Color Green: 255
Matte Color Blue: 255
Without Save HTML File
With Save Image Files
Slices: All Slices
Color Handling: Convert to sRGB
Metadata: None
Without Output XHTML
With Include Comments
With Always Add Alt Attribute
With Always Quote Attributes
Without Close All Tags
With Include Zero Margins on Body Tag
HTML Tags Case: Lowercase
HTML Attribute Case: Lowercase
HTML Indent: -1
HTML Line Endings: Automatic
<unknown>
Without Generate CSS
Empty Cells: GIF, IMG WH
TD WH: Auto
Vertical Spacer Cells: Auto (Bottom/Right)
Horizontal Spacer Cells: Auto (Bottom/Right)
Slice Name Components: Filename Component list
Filename Component
Filename Component Type: doc. name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: layer name or slice no.
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Without View As Background
Background Image Path: “”
Background Color Type: Matte
File Name Components: Filename Component list
Filename Component
Filename Component Type: slice name
Filename Component
Filename Component Type: hyphen
Filename Component
Filename Component Type: trigger name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: rollover state
Filename Component
Filename Component Type: none
...3 More
Without Mac OS 9 Filename Compatibility
With Windows Filename Compatibility
With Unix Filename Compatibility
With Use Images Subfolder
With Copy Background Image when Saving
Images Subfolder Path: “images”
Select previous history state
Crop
To: rectangle
Top: 0 pixels
Left: 529.1 pixels
Bottom: 2730 pixels
Right: 2869.1 pixels
Angle: 0°
Without Delete Cropped Pixels
<unknown>
Target Width: 300 pixels
Target Height: 350 pixels
Target Resolution: 0 per inch
Export
Using: Save for Web
Operation: Save
true
In: C:\Users\venkatr\Desktop\
Custom File Name: “_300.html”
Format: JPEG
Without Interlaced
Quality: 55
0
Quality Modification Channel Strength: 0
Without Quality Channel Text Layers
Without Quality Channel Vector Layers
With Optimized
Number Of Passes: 3
Blur: 0
Without Embed ICC Profile
With Matte
Matte Color Red: 255
Matte Color Green: 255
Matte Color Blue: 255
Without Save HTML File
With Save Image Files
Slices: All Slices
Color Handling: Convert to sRGB
Metadata: None
Without Output XHTML
With Include Comments
With Always Add Alt Attribute
With Always Quote Attributes
Without Close All Tags
With Include Zero Margins on Body Tag
HTML Tags Case: Lowercase
HTML Attribute Case: Lowercase
HTML Indent: -1
HTML Line Endings: Automatic
<unknown>
Without Generate CSS
Empty Cells: GIF, IMG WH
TD WH: Auto
Vertical Spacer Cells: Auto (Bottom/Right)
Horizontal Spacer Cells: Auto (Bottom/Right)
Slice Name Components: Filename Component list
Filename Component
Filename Component Type: doc. name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: layer name or slice no.
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Without View As Background
Background Image Path: “”
Background Color Type: Matte
File Name Components: Filename Component list
Filename Component
Filename Component Type: slice name
Filename Component
Filename Component Type: hyphen
Filename Component
Filename Component Type: trigger name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: rollover state
Filename Component
Filename Component Type: none
...3 More
Without Mac OS 9 Filename Compatibility
With Windows Filename Compatibility
With Unix Filename Compatibility
With Use Images Subfolder
With Copy Background Image when Saving
Images Subfolder Path: “images”
Select previous history state
Crop
To: rectangle
Top: 136.5 pixels
Left: 325.7 pixels
Bottom: 2359.2 pixels
Right: 3295.2 pixels
Angle: 0°
Without Delete Cropped Pixels
<unknown>
Target Width: 167 pixels
Target Height: 125 pixels
Target Resolution: 0 per inch
Export
Using: Save for Web
Operation: Save
true
In: C:\Users\venkatr\Desktop\
Custom File Name: “_167.html”
Format: JPEG
Without Interlaced
Quality: 55
0
Quality Modification Channel Strength: 0
Without Quality Channel Text Layers
Without Quality Channel Vector Layers
With Optimized
Number Of Passes: 3
Blur: 0
Without Embed ICC Profile
With Matte
Matte Color Red: 255
Matte Color Green: 255
Matte Color Blue: 255
Without Save HTML File
With Save Image Files
Slices: All Slices
Color Handling: Convert to sRGB
Metadata: None
Without Output XHTML
With Include Comments
With Always Add Alt Attribute
With Always Quote Attributes
Without Close All Tags
With Include Zero Margins on Body Tag
HTML Tags Case: Lowercase
HTML Attribute Case: Lowercase
HTML Indent: -1
HTML Line Endings: Automatic
<unknown>
Without Generate CSS
Empty Cells: GIF, IMG WH
TD WH: Auto
Vertical Spacer Cells: Auto (Bottom/Right)
Horizontal Spacer Cells: Auto (Bottom/Right)
Slice Name Components: Filename Component list
Filename Component
Filename Component Type: doc. name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: layer name or slice no.
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Without View As Background
Background Image Path: “”
Background Color Type: Matte
File Name Components: Filename Component list
Filename Component
Filename Component Type: slice name
Filename Component
Filename Component Type: hyphen
Filename Component
Filename Component Type: trigger name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: rollover state
Filename Component
Filename Component Type: none
...3 More
Without Mac OS 9 Filename Compatibility
With Windows Filename Compatibility
With Unix Filename Compatibility
With Use Images Subfolder
With Copy Background Image when Saving
Images Subfolder Path: “images”
Select previous history state
Crop
To: rectangle
Top: 225.1 pixels
Left: 1318.4 pixels
Bottom: 1858.5 pixels
Right: 3496.2 pixels
Angle: 0°
Without Delete Cropped Pixels
<unknown>
Target Width: 88 pixels
Target Height: 66 pixels
Target Resolution: 0 per inch
Export
Using: Save for Web
Operation: Save
true
In: C:\Users\venkatr\Desktop\
Custom File Name: “_88.html”
Format: JPEG
Without Interlaced
Quality: 55
0
Quality Modification Channel Strength: 0
Without Quality Channel Text Layers
Without Quality Channel Vector Layers
With Optimized
Number Of Passes: 3
Blur: 0
Without Embed ICC Profile
With Matte
Matte Color Red: 255
Matte Color Green: 255
Matte Color Blue: 255
Without Save HTML File
With Save Image Files
Slices: All Slices
Color Handling: Convert to sRGB
Metadata: None
Without Output XHTML
With Include Comments
With Always Add Alt Attribute
With Always Quote Attributes
Without Close All Tags
With Include Zero Margins on Body Tag
HTML Tags Case: Lowercase
HTML Attribute Case: Lowercase
HTML Indent: -1
HTML Line Endings: Automatic
<unknown>
Without Generate CSS
Empty Cells: GIF, IMG WH
TD WH: Auto
Vertical Spacer Cells: Auto (Bottom/Right)
Horizontal Spacer Cells: Auto (Bottom/Right)
Slice Name Components: Filename Component list
Filename Component
Filename Component Type: doc. name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: layer name or slice no.
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Filename Component
Filename Component Type: none
Without View As Background
Background Image Path: “”
Background Color Type: Matte
File Name Components: Filename Component list
Filename Component
Filename Component Type: slice name
Filename Component
Filename Component Type: hyphen
Filename Component
Filename Component Type: trigger name
Filename Component
Filename Component Type: underscore
Filename Component
Filename Component Type: rollover state
Filename Component
Filename Component Type: none
...3 More
Without Mac OS 9 Filename Compatibility
With Windows Filename Compatibility
With Unix Filename Compatibility
With Use Images Subfolder
With Copy Background Image when Saving
Images Subfolder Path: “images”
Close
Saving: no
-
6. Re: PS CS6 action save for web error
venkatl Jul 26, 2012 2:27 AM (in response to JJMack)Thanks a JJMack for your precious time I hope soon I get a update on this to fix this bug, till then I'll manage.
-
7. Re: PS CS6 action save for web error
dunnmaks Jul 31, 2012 11:35 AM (in response to venkatl)This was reported more than 2 months ago and a Photoshop (Adobe) employee confirmed it as such.
This is a HUGE inconvenience and surely needs to be addressed sooner than later. I have found that importing actions from older versions will work...the only problem is if the machine name/user name/folder path changes it is worthless.
Luckily I have PS5.5 installed on my other computers and I use that...however, I just got my new MBP with Retina and won't be able to install 5.5, only the CC6 version.
-
8. Re: PS CS6 action save for web error
venkatl Jul 31, 2012 10:55 PM (in response to dunnmaks)thanks dunnmaks
saw the post, will keep a track of it hope we found a bug fix soon from Adobe
-
9. Re: PS CS6 action save for web error
Mike_Sans Feb 25, 2013 2:47 PM (in response to venkatl)I'm having this same issue and falling back on CS5 to batch the actions.
-
10. Re: PS CS6 action save for web error
chris_gundersen Jun 1, 2013 10:01 PM (in response to venkatl)This still isn't fixed? I have an action that I save as the image as x.jpg and then later in the action it uses x.jpg so I have to be able to make the name a generic name. Grrrrr, another reason I am not that happy that I upgraded to cs6!
-
11. Re: PS CS6 action save for web error
jonathonwatkins Sep 18, 2013 7:35 AM (in response to JJMack)So, when will this be fiexed and how do we batch a 'Save for Web' action? I have a large number of images I'd like to reduce the size of.
-
12. Re: PS CS6 action save for web error
JJMack Sep 18, 2013 7:49 AM (in response to jonathonwatkins)Adobe does not publish a fix schedule or even commit to fixing problems. I have submitted bug reports to Adobe that Adobe has accepted as bugs introduced in CS4. I submitted bug reports on the problems in CS5 and CS6 on them. The best reply I received from Adobe was three or four years ago and it was perhaps they will be fixed is some future release. You can use a copy of CS5 to record the action and it will work in CS6.
-
13. Re: PS CS6 action save for web error
dunnmaks Sep 18, 2013 7:59 AM (in response to JJMack)And remember that only works if you record on the same machine (or same folder structure across machines).
-
14. Re: PS CS6 action save for web error
JJMack Sep 18, 2013 8:11 AM (in response to dunnmaks)Also all CS6 recorded Save for web steps do not have the problem. It depend on how you record Save for web. Sone recorded steps record .html or .htm instead of .jpg. Others record no file extension. Only the one that have recorded .htm or .html are a problem. The ones that do not record the extensions work and the ones that save the wrong files extension actually save a jpeg file with the wrong extension. Renamming the saved image.html files to image.jpg will fix the files. Often all one need to do is a wildcard rename *.htm to *.jpg.
-
15. Re: PS CS6 action save for web error
jonathonwatkins Sep 18, 2013 9:10 AM (in response to JJMack)CS6 certainly does have a problem. After reading this I re-created my action in CS5 and it works perfectly. I.e. have file open, create action & start recording. Select ‘Save for web & devices’, input settings, navigate to sub folder in file directory, click save, click close, click stop action. Then go to ‘Automate, Batch’, select the new action, select the relevant source folder (leaving destination blank), click OK. Result = all files in source folder are processed and placed in the folder specified in the action folder.
When I do the exact thing in CS6 I get “Adobe Save for Web error” ‘Could not complete this operation. The system cannot find the file specified’.
Glad I kept a copy of CS5 installed.
On a separate note, is there a way to record the action so that the files will always go into a subfolder of whichever directory they are in?
-
16. Re: PS CS6 action save for web error
JJMack Sep 18, 2013 9:54 AM (in response to jonathonwatkins)Usually when you record a save if you do not change the default offered like path and file name the path and file name will not be recorded in the action step like save as where all you change is the file type pull down where you set the type. Like you do when processing a layered psd file and saving files like jpeg, gif and png. If you don't change file type the original file is updated. When these action steps are played the current document path and name will be used unless there is destination folder specified in a dialog like automate batch or script image processor they will override the default path. When path location and file name are not recorded into actions save step the save will be to the current documents location with the current document's file name. Any recorded Path and or File name will override the current document path and name and Batch and scripts can override recorded location and names.
-
17. Re: PS CS6 action save for web error
jonathonwatkins Sep 18, 2013 2:00 PM (in response to JJMack)I take the point, but I would prefer not to overwire the existing files. (I.e. if nothing is changed that's what will happen surely?).
-
18. Re: PS CS6 action save for web error
JJMack Sep 18, 2013 3:50 PM (in response to jonathonwatkins)If you add a layer to a jpeg document a save would want to save a psd and with a psd file you usually want to save the psd file as well as other image file formats that is why batch and image processors exist you have much better control over output.
The image processors scripts I have looked will not overlay any existing file it would add an serial suffix to the file name if the output file it wanted to save exists.
-
19. Re: PS CS6 action save for web error
bedroomlab Oct 11, 2013 6:55 AM (in response to venkatl)I have a solution that works for Windows. I create a .bat file in the same directory as all the html file to rename all the .html files to .png
Here's how to do it, it's really simple.
Create a new text file in any old text editor. Add this one line:
rename *.html *.png
(Change .png to .jpg if you want jpgs)
Save it as something like "renameHTMLtoPNG.bat".
Run your Photoshop batch job to dump all the .html files into the same folder. Make sure this .bat is in the same folder as the .html files, then click on it to run it, and it'll rename everything to the correct extension.
-
20. Re: PS CS6 action save for web error
Lagosta052 Oct 15, 2013 10:52 AM (in response to venkatl)We found a way to trick photoshop. Since you're trying to export a single image, you will have to create the following steps on your action:
- Create Slice - Create a slice with the full size of your image;
- Set Slice - Set the name of the slice, have in mind it will be the name of your image;
- Edit canvas size - That's the tricky part, you'll have to increase your canvas so that photoshop will consider your slice on the export process;
- Save for Web - Now just go on normally in this step, just remember to select All User Slices;
- Edit canvas size - Go back to the original size of your image;
- Delete the slices - Under View menu -> Clear all slices.
I couldn't figure why photoshop would not consider a single slice that matches the image size, so we had to do this get around.
Hope it works for you.
-
21. Re: PS CS6 action save for web error
Noel Carboni Oct 15, 2013 10:57 AM (in response to Lagosta052)Since the problem is that the wrong file extension is being stored in the action...
Has anyone tried saving an action set as a .atn file, hacking into a saved .atn file and changing the characters .html to .png (or whatever's desired)? Use a null character (00) to blank out the L. Then load the hacked .atn file back into Photoshop.
If you don't know how to do this, post a copy of an action file online and I will be happy to give it a try.
-Noel
-
22. Re: PS CS6 action save for web error
JJMack Oct 15, 2013 1:31 PM (in response to Noel Carboni)Very easy to do. X created a set of tools scripting tools for Photoshop. In the Xtools package there are many supplied utility scripts. Two of them could be used to do what you want.
The script names are ActionFileToXML and ActionFileFromXML. So if you record an action the has a save for web step that when when you expand the step you set the the save file name is .html not .jpg like this one.
Save the Action Set into an .atn file and run ActionFileToXML the edit the XML file and change the .html" to .jpg save the XML file and run ActionFileFromXML. The delete the action set in the Actions palette and load the updated .atn file. Expand the save for web steps to check that the steps not shows .jpg..
-
23. Re: PS CS6 action save for web error
Noel Carboni Oct 15, 2013 1:47 PM (in response to JJMack)Even better, since XML is editable with a simple text editor. Thanks for that info, JJ.
-Noel
-
24. Re: PS CS6 action save for web error
jackbat Dec 6, 2013 10:01 AM (in response to Noel Carboni)Does anyone else find it odd that we are discussing hacks and workarounds for something that worked flawlessly in a previous version of the software. If they haven't fixed this in a year, I cannot imagine that they are very interested in doing so in the future. How can Adobe not care about such an important basic function of the software.
-
-
26. Re: PS CS6 action save for web error
Noel Carboni Dec 6, 2013 3:39 PM (in response to JJMack)I always like your steel arrows, JJ.
-Noel
-
27. Re: PS CS6 action save for web error
jackbat Dec 14, 2013 2:28 PM (in response to Noel Carboni)OK, I am a believer in giving credit where credit is due. I recieved two updates to CS6 this week and low and behold, one of the fixes was actions for export. Well done Adobe.
-
28. Re: PS CS6 action save for web error
JJMack Dec 14, 2013 2:52 PM (in response to jackbat)Strange My CS6 is up to date and when I record a save for web as jpg and change the default fname what gets saved is a jpeg file however what get recorded in the action is FileName.HTML and when the action is plated though a jpeg file is save its name is FileName.html.
-
29. Re: PS CS6 action save for web error
jackbat Dec 14, 2013 3:01 PM (in response to JJMack)My only difference is I am not changing the default file name, so it is saving them sequentially as "untitled-1.jpg" which is what is has done in versions past.
I am just happy it is saving jpgs again. I have been using CS 5 since I made this post 6 days ago and tried it on a whim when the update happened.
Think I will keep 5 around for a while though.
-
30. Re: PS CS6 action save for web error
JJMack Dec 14, 2013 9:30 PM (in response to jackbat)Yes if you do not change the default file name offered no file name information is recorded in the action step and CS6 works correctly. The problem in cs6 has always been if you change the default offered .htm gets recorded not .jpg. Its been fixes in cc.
-
31. Re: PS CS6 action save for web error
jackbat Dec 15, 2013 11:44 AM (in response to JJMack)jj, it may have been working for you, but it didn't start working for me until I got an update a couple of days ago. We do a lot of site management where customers send in articles in Word. We Copy the images into photoshop to manipulate as they are usually huge, then we use an action to save them all of at once. We have been doing this for years and it stopped working in CS 6.
A typical web update will have over 100 images, so the difference between doiing them one at a time and simply hitting the action a few times is HUGE!
This process saved us too much time to continue to use 6 without it so I am particularly grateful that they fixed it.
I haven't tried using it while renaming the image as it would simply save all of the images over each other and that would defeat out purpose.
-
32. Re: PS CS6 action save for web error
ian.heaton Mar 5, 2014 11:06 AM (in response to jackbat)As mentioned previously, In instances where the original files name has been changed at export is when the Custom File Name line will be added e.g., JJMack's screenshots above. I have found to fix the action, i simply open or use a file already open > Double-click the Export step in the action which will run that step and save the file as it's original name. This will strip off the Custom File Name.
-
33. Re: PS CS6 action save for web error
peterv40396918 Oct 6, 2015 4:20 AM (in response to venkatl)There is a simple work around for this (simpler than the thing with slices).
1) Duplicate the image and give it the name of the file you want (excluding the extension).
2) Do the save for web, but do not change the file name.
3) Close the image (without saving).
This way the action will not overrule the file name with a .html name.