How to reset slice name in Photoshop?


Question

When exporting slices in Photoshop through the Save For Web... dialog, PS automatically names as the input_filename + _XX + .png. So for example: myfile_01.png, myfile_02.png etc.

It is also possible to manually input a filename for a slice; which will then override this numbering system. My question is: how can I get rid of this slice name? I want to revert to the default numbering behavior. Deleting the "name" field in the dialog has no effect (it simply resets to the last used name).

enter image description here

The only workaround I have found is to delete and recreate the slice, which is terrible.

1
3
11/17/2014 12:34:00 PM

Accepted Answer

Photoshop's Save for Web & Devices tool actually offers multitude of options to control slice file naming, and you don't have to reset the slice name itself. Instead, you'll want the slice file name to include the slice number instead of the slice name (you have given). On CS5 and newer, to control this, after pushing the Save button in the Save for Web & Devices window, before pushing Save again, find the Settings dropdown menu and select Other...

How to access file naming options

This opens a new window to control all the saving options and give the slice files names consisting of e.g. document name, slice name, slice number, current date, custom text, and any combination of these.

For your case, the correct answer would be to make the File Naming section to consist of doc. name + underscore + slice no. (01, 02, 03 ...) + ext. to give the slice file a name of mydocument_01.png, for instance.

1
12/4/2014 3:24:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow


Website under construction!!!
^