Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need Firefox extension to display image dimensions on hover

203 views
Skip to first unread message

banjo...@gmail.com

unread,
Jun 21, 2007, 10:25:01 PM6/21/07
to
I'm looking for a Firefox extension to display the dimensions of an
image on hover/mouse over.

I did find a feature in the Web Developer Toolbar to display the
dimensions of all the images on the page, but a smaller extension with
the pop-up capability would be best.

Thank you,

- Banjobarry

"Andrés M."

unread,
Jun 22, 2007, 10:07:56 AM6/22/07
to

David McRitchie

unread,
Jun 22, 2007, 11:39:11 AM6/22/07
to
"Andrés M." <andres_m...@yahoo.com> wrote in message news:rfydnaLWsoAhSubb...@mozilla.org...

> banjo...@gmail.com wrote:
> > I'm looking for a Firefox extension to display the dimensions of an
> > image on hover/mouse over.

> Looking at https://addons.mozilla.org I found this extension:
> https://addons.mozilla.org/en-US/firefox/addon/3688 .

"List All Images" is not what he is looking for.

FxIF (Firefox exIF) allows you to view the EXIF data contained in JPEG images from the convenience of your Firefox browser. Most
digital cameras add this data to all images you take. http://ted.mielczarek.org/code/mozilla/fxif/index.html

I had it and it probably interferred with other Firefox usage, in any case
I'd rather rightclick on image and use the "Launchy" extension to invoke IrfanView
then type in "i" for information, which can provide a lot more information.
http://www.mvps.org/dmcritchie/firefox/firefox.htm#launchy_notes
http://www.irfanview.htm
http://www.mvps.org/dmcritchie/excel/irfanview.txt (notes)
--
David McRitchie, most questions have been asked before.
Firefox customizations/extensions notes, see
http://www.mvps.org/dmcritchie/firefox/firefox.htm


A

unread,
Jun 22, 2007, 12:13:21 PM6/22/07
to

It's not as convenient as hover/mouseover, but right-clicking on the
image and selecting Properties from the context menu works for me.

- Alan

Ralph Fox

unread,
Jun 22, 2007, 6:36:03 PM6/22/07
to


This bookmarklet will change the hover/mouseover text on all images to
show the dimensions.

javascript:(function(){function%20setTitleToDimensions(p){p.title=(String(p.offsetWidth)+%22%20x%20%22+String(p.offsetHeight));}function%20scanDoc(d){for(var%20i=0;i<d.images.length;++i){setTitleToDimensions(d.images[i]);}}scanDoc(document);for(var%20i=0;i<top.frames.length;++i){try{scanDoc(top.frames[i].document);}catch(err){;}}})();


--
Cheers,
Ralph

Ralph Fox

unread,
Jun 23, 2007, 3:34:22 AM6/23/07
to


Or better still, use the following bookmarklet which will not count the
image border and padding in the dimensions.

javascript:(function(){function%20setTitleToDimensions(p){p.title=(String(window.getComputedStyle(p,%22%22).width)+"%20x%20"+String(window.getComputedStyle(p,%22%22).height));}function%20scanDoc(d){for(var%20i=0;i<d.images.length;++i){setTitleToDimensions(d.images[i]);}}scanDoc(document);for(var%20i=0;i<top.frames.length;++i){try{scanDoc(top.frames[i].document);}catch(err){;}}})();


--
Cheers,
Ralph

0 new messages