ViewImage icon indicating copy to clipboard operation
ViewImage copied to clipboard

Doesn't work on images 15MP or more anymore

Open thinkpad4 opened this issue 6 years ago • 4 comments

@bijij Just gives a data:image/jpeg;base64 then a tiny thumbnail size image

thinkpad4 avatar May 05 '18 06:05 thinkpad4

if you're on firefox https://github.com/heubergen/viewimages this still works

needforsuv avatar May 08 '18 15:05 needforsuv

This seems to be fixed? or at least in my testing just now worked as expected.

bijij avatar Jul 24 '19 16:07 bijij

#190 issue back as of redesign. (and related images or images using encrypted thumbnails don't work either - no button at all)

I think I know why though.

The way it worked before (related images and main panel) was that it had the full url BEFORE clicking (either in the main search or related search panel) but now with the redesign, only the main search page will have the full url once you click on an image.

And for related images, that full url disappears once you click in an image BECAUSE with the old google image search version, the BASE/SELECTED image result is ALWAYS shown as one of the results in the related images, BUT now clicking on a related images changes all the related contents and the 'desired' url panel no longer exists!

Google seems a bit picky with loading full sized images, maybe there is a way to 'force' it load them?

(this is for the 'JUL19' version)

needforsuv avatar Nov 04 '19 05:11 needforsuv

It looks like

document.getElementsByClassName("YcWSDf")[0].parentElement.getElementsByTagName("img")[0].parentElement.parentElement.href

will get you the href you need in https://github.com/bijij/ViewImage/blob/a59ce8baf0c164ede1bf91ab6d359886e8425b7c/js/content-script.js#L99

That class is the one that draws the blue highlight around the selected image in the main search results.

wfaulk avatar Sep 09 '21 16:09 wfaulk