Photoshop

Specify a slice content type

You can specify how the slice data appears in a web browser when exported with an HTML file. The available options vary according to the slice type you select.

  • Image slices contain image data. This is the default content type.

  • No Image slices let you create empty table cells that can be populated with text or a solid color. You can enter HTML text in a No Image slice. If you set the “Text is HTML” flag, the text is interpreted as HTML when viewed in a browser. Slices of type No Image aren’t exported as images and can be previewed in a browser.

    Note: Setting options for an auto slice promotes the slice to a user slice.
  1. Select a slice. If you are working in Photoshop, double-click the slice with the Slice Select tool to display the Slice Options dialog box.
  2. In the Slice Options dialog box, select a slice type from the Type pop‑up menu.