Language: HTML | XAML

Displaying images, graphics, and thumbnails (HTML)

Applies to Windows and Windows Phone

Windows Store apps using JavaScript can display a variety of images and graphics.

  • You can use the img element to display an image file, such as a JPEG or Portable Network Graphics (PNG) file. You can also use Cascading Style Sheets (CSS) to create backgrounds and patterns from an image file.
  • Use thumbnails to create graphical views of the file system for the user and when the user wants to view more details about a specific file or folder.

Windows Store apps using JavaScript can also render Scalable Vector Graphics (SVG) graphics and draw with the canvas element, and it can also use CSS transformations and transitions to create special effects. These kinds of graphics are covered in another section: Using graphics with Canvas, SVG, and CSS3.

The topics in this section show you how to use images and thumbnails.

In this section

TopicDescription

How to select and display an image

Describes how to use the FileOpenPicker and blob objects to load and display an image that the user selects.

 

 

 

Show:
© 2014 Microsoft