thumbnail-zoom icon indicating copy to clipboard operation
thumbnail-zoom copied to clipboard

Analyze Image, and Search for Higher Resolution of Image at Linked Page

Open Suffice opened this issue 12 years ago • 1 comments

If this can be done, it would allow for compatibility with almost every site. However there would be the issue of zooming in all images on a page, instead of the important ones.

Perhaps having it check the img or div class tags, and if it's one of the commonly used tags to display the grabbed image from it. Such as:

story-image-img story-bg rel

Anything with story in it maybe.

Analyzing all images might not be so efficient. Perhaps finding images with the same file name or meta details instead.

Though there should be a hot-key to zoom any image.

Suffice avatar Mar 12 '13 17:03 Suffice

That's basically what "Others (Indirect)" does in version 2.4 (just released). But it's only for specific sites, not every site. For known sites it uses heuristics such as you show. The rules are actually fairly complex, and don't generalize well across many sites.

It can't work automatically in general for every site (I tried). Part of the problem is that the linked page may contain multiple images, and it's hard to guess which is the desired one (eg it might end up showing an ad's image instead of the desired one).

For speed we wouldn't want to have to load the image to analyze it to decide whether its the right image, because if it isn't we might end up loading many images before showing any to the user.

So while it's not automatic across all sites, Others (Indirect) at least gives me a way to support specific sites such as ebay.com, where there isn't a simple way to transform the thumb's filename into the full-size filename.

dadler avatar Mar 22 '13 05:03 dadler