PyCharm suggests several ways to view images, embedded in the HTML files. You can use navigation to source, open an image in an external graphical editor, or preview images on-the-fly. The viewing modes are configurable in the Images dialog.
- In the Project tool window, select the desired image file.
- On the context menu of the file, choose F4. , or press
Configure the path to the desired external editor in the External Editor section of the Images dialog.
- In the Project tool window, select an image file.
- On the context menu of the file, choose Ctrl+Alt+F4. , or press
To preview an image, place the caret at a reference to an image in the editor, and do one of the following
- On the context menu, choose .
- Invoke the Navigate to declaration feature by pressing Ctrl+B, Ctrl+Button1 Click or Button2 Click.