Pete Freitag Pete Freitag

Tip for Viewing Images in Eclipse

Published on February 07, 2007
By Pete Freitag
misc

Here's a quick tip for those using Eclipse / CFEclipse, and would like to view images in your project from within eclipse.

Go to Window » Preferences in the Eclipse menu. Then expand General » Editors and click on File Associations.

This dialog lets you tell eclipse which editors should be used for a specific file name or file extension. Add a file type for *.jpg then click the Add button on the bottom for Associated Editors, and select Internal Web Browser.

You can repeat the steps for other file types such as png and gif.

In addition you can also add external editors for the image such as Photoshop, or whatever.



eclipse cfeclipse images tips

Tip for Viewing Images in Eclipse was first published on February 07, 2007.

If you like reading about eclipse, cfeclipse, images, or tips then you might also like:

Discuss / Follow me on Twitter ↯

Comments

I added a simple plugin called QuickImage which is nothing special but opens an image viewer within Eclipse (and can let you view thumbnails of an images directory).
by Brian Rinaldi on 02/07/2007 at 11:49:19 AM UTC
What a damn good tip, Pete. Thanks!
by Raymond Camden on 02/07/2007 at 3:28:21 PM UTC
Rob Rohan has a nice image viewer that he built to go along with the Afae Editor: http://robrohan.com/projects/afae/
by Michael Wolfe on 02/07/2007 at 8:57:23 PM UTC
Great tip! Thanks!
by Dan on 02/08/2007 at 8:08:38 AM UTC
Tip for csv and xls files... Same concept, add extentions, then have eclipse open as internal browser. I had to switch off a message that would ask to open or save file. Works awesome.
by Mike on 02/14/2007 at 7:12:10 AM UTC
Hi Pete,

Many thanks for this tip. I use Eclipse exclusively for all of my web development tasks so finding out handy hints like this for when working within the workbench is great.

Many thanks

Ethan Cane
Web Developer
by Ethan Cane on 03/14/2007 at 9:45:44 PM UTC