[Roadmap] Image dimensions/previews/sizes

Various discussions related to Adblock Plus development

[Roadmap] Image dimensions/previews/sizes

Postby neko2sonic » Sun Sep 05, 2010 9:48 pm

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
Posts: 10
Joined: Wed Jul 21, 2010 2:37 pm

Re: Image dimensions/previews/sizes

Postby Wladimir Palant » Mon Sep 06, 2010 8:40 am

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.
Wladimir Palant
ABP Developer
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: [Roadmap] Image dimensions/previews/sizes

Postby Wladimir Palant » Thu Sep 30, 2010 9:13 am

Looking into this is now on the roadmap (unscheduled).
Wladimir Palant
ABP Developer
Posts: 8395
Joined: Fri Jun 09, 2006 6:59 pm
Location: Cologne, Germany

Re: [Roadmap] Image dimensions/previews/sizes

Postby Gingerbread Man » Fri Jan 18, 2013 3:26 pm

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.

1. I get missing dimensions with plain inline images as well. Some even have their dimensions defined in the attributes of the img tag.
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.

92 KB, 1182 × 1568
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: [Roadmap] Image dimensions/previews/sizes

Postby Cortex » Fri Jan 25, 2013 2:51 am

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

Postby axxo1 » Fri Aug 23, 2013 6:56 pm

This is affecting me as well, I don't get previews for any inline images.
Posts: 1
Joined: Fri Aug 23, 2013 6:54 pm

Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 6 guests