Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

View image dimensions from Safari Web Browsers
Today I found out how to get an image file's dimensions from within Safari, and I thought I'd share. You'll need the Debug menu enabled.
  1. Load the image into its own window (or tab). If the image is embedded in within a document, control- (or right-) click on it and choose "Open Image in New Window."

  2. Go to the Debug menu and select "Show View Tree." Option-click on the disclosure triangle next to the only visible line.

  3. The last row of the "Width" and "Height" columns should tell you the image's dimensions.
If all you need are the dimensions of a current image, this will save some time over the "drag to desktop, open in photo application" process.
    •    
  • Currently 1.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[15,870 views]  

View image dimensions from Safari | 9 comments | Create New Account
Click here to return to the 'View image dimensions from Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View image dimensions from Safari
Authored by: seven5 on Sep 02, '03 10:48:18AM

personally i'd like to be able to right click on it in the finder and get these dimensions. At the very least get it using GET INFO.

I have run across some great Contextual Menu addons though. Mp3-CMM is a great one that will show bitrate, and once you expand the menu it will show all of the mp3 tag info as well as AAC info. Recently i have been playing with Quickimage, which will let you convert between image formats using a right click as well as view the image without using an application. The conversion is GREAT for when making a screen shot and converting to jpg on the fly. If only they would add image dimensions it would be perfect!


MP3-CMM
http://www.macupdate.com/info.php/id/8505

Quickimage
http://www.macupdate.com/info.php/id/11532



[ Reply to This | # ]
View image dimensions from Safari
Authored by: peterhil on Sep 02, '03 06:10:51PM

You can see image dimensions in Finder using icon view when "Show item info" is enabled in view options. To bad that it only works for TIFF, PNG and GIF images.



[ Reply to This | # ]
View image dimensions from QuickImage
Authored by: misteurti on Sep 03, '03 12:32:45PM

i'm the french translator of QuickImageCM, and you actualy can se image dimensions wether directly at the top of the displayed image or by clicking the info button :-)



[ Reply to This | # ]
PicturePop
Authored by: wkoffel on Sep 02, '03 01:31:14PM

I've been using PicturePop for quite some time now for finding dimensions of images on disk. Dragging from Safari, and then ctl-clicking, opening with picturepop is pretty quick.

http://setnan.online.fr/mac/PicturePop/



[ Reply to This | # ]
View image dimensions from Safari
Authored by: robJ on Sep 02, '03 04:49:33PM
I've written a couple of AppleScript scripts that might be as useful to others as they are to me. Both are free and editable.

Safari Image Dimensions works on images that are open in their own Safari window. Once the script is executed, the dimensions and image/file name will be displayed in the title bar of the window, similar to the behavior of other browsers.

Clipboard Image Dimensions is similar but it uses a dialog to display the dimensions of the image that is held on the clipboard.


[ Reply to This | # ]
View image dimensions from Safari
Authored by: DougAdams on Sep 03, '03 01:32:38PM
View image dimensions from Safari
Authored by: robJ on Sep 03, '03 02:42:12PM

Glad you like it/them. :-)



[ Reply to This | # ]
Handy Bookmarklet
Authored by: natecook on Sep 03, '03 04:48:10AM
I miss that IE5 behavior too (that was a pretty good browser -- I miss 'type-ahead,' also). It's not the same thing, but I just whipped this up by altering a bookmarklet that shows the ALT tags for all the images on the page -- this shows all the widths and heights of all the images on the page. (Reload to bring back the initial page.) To make this a bookmarklet, drag it on up to that fancy bookmark bar.

show img sizes

It seems like it works whether the sizes are specified in the HTML or not, although it shows the stretched size if the width & height are specified as different in the HTML... And here's the original one:

show alt info

Enjoy!
-nate

[ Reply to This | # ]
shomi
Authored by: mici on Sep 03, '03 12:31:23PM
heh, another reason to use Camino (displays picture dimensions right in the browser title area). btw, if you work with images a lot, the best utility is shomi, recently updated for OS X. it adds contextual menu that will let you preview single or multiple images (or media files, to be precise, neatly tiled and scaled on the screen depending on your selection), also returns image dimensions, JPEG info data, file info, even HTML code snippet should you need. look it up on. i use it since OS 9 days (or longer?) and nothing else could beat it so far.

[ Reply to This | # ]