Page 1 of 1

[Roadmap] Image dimensions/previews/sizes

Posted: Sun Sep 05, 2010 9:48 pm
by neko2sonic
Here are a few questions/things I've noticed in the "blockable items" portion of ABP.

1.) Sizes (dimensions) for images don't always display. What is the criteria for them displaying? Shouldn't they always display?

2.) Tooltip image previews don't work for images that are "object subrequest"s (for example, http://www.omgpop.com/).

3.) Has having a column for the file sizes (space consumed) of blockable items ever been considered?

Thanks. :D

Re: Image dimensions/previews/sizes

Posted: Mon Sep 06, 2010 8:40 am
by Wladimir Palant
1) You are probably looking at background images. Adblock Plus doesn't list the intrinsic size of images but rather the size of the element the image is associated with. As currently implemented in Gecko, background images are not associated with any particular element of the document but rather the document as a whole - so deducing size is not possible.

2) Tooltip image previews only work for images ;) An object subrequest can be anything and determining that it is an image isn't quite straightforward.

3) No :)

Thank you for these points, I think that fixing them in one way or other might be worth considering. Size of background images can be looked up in the cache (I think that Page Info dialog does it like that), same goes for the mime type of object subrequests to determine whether it is an image (if it is in the cache at all of course). And - yes, file sizes are available in the cache as well. The question is only whether cache access is fast enough to do this. I'll move this to the Future Development forum.

Re: [Roadmap] Image dimensions/previews/sizes

Posted: Thu Sep 30, 2010 9:13 am
by Wladimir Palant
Looking into this is now on the roadmap (unscheduled).

Re: [Roadmap] Image dimensions/previews/sizes

Posted: Fri Jan 18, 2013 2:26 pm
by Gingerbread Man
2. As I posted in a separate thread, I don't get previews for any inline images whatsoever. Reloading the page doesn't make a difference.
forum/viewtopic.php?f=11&t=12380

1. I get missing dimensions with plain inline images as well. Some even have their dimensions defined in the attributes of the img tag.
http://www.w3.org/2009/Talks/0615-SanJose-tutorial-IH/

Code: Select all

<img src="conf-logo.jpg" width="67" height="55" alt="conference logo"/>
The missing dimensions issue seems to happen randomly. Reloading the page seems to fix it, which might mean it's just part of the larger problem with the Blockable Items pane.
forum/viewtopic.php?f=11&t=11709

92 KB, 1182 × 1568
Image

Re: [Roadmap] Image dimensions/previews/sizes

Posted: Fri Jan 25, 2013 1:51 am
by Cortex
It happens to me once i upgrade past Firefox 17, if I go to 18 or 19, it will not longer show image previews, but if i go back to Firefox 17, it fixes it

Re: [Roadmap] Image dimensions/previews/sizes

Posted: Fri Aug 23, 2013 6:56 pm
by axxo1
This is affecting me as well, I don't get previews for any inline images.