Sleazy Fork is available in English.

Handy Image

Shows just fullsize Image with hotkeys & without pop-ups on many image-hosting sites

< Обсуждения Handy Image

Отзыв: Хороший — скрипт работает как нужно

woxxomМод
§
Создано: 04.09.2014
Отредактировано: 27.11.2014

flickr photostream problem

The script should not activate on flickr photostreams:
https://www.flickr.com/photos/75210159@N06/with/15139376855

Excluding https://www.flickr.com/*/with/* solves the issue.

OwynАвтор
§
Создано: 05.09.2014

will be excluded

that image has an EXIF orientation flag and what's interesting this flag is processed by browser correctly if I open the direct image url: https://c1.staticflickr.com/9/8179/8059079392_c141857b13_o.jpg

OwynАвтор
§
Создано: 07.09.2014
Отредактировано: 09.09.2014

excluded favorites.
about exif: not much can be done, just consider those images uploaded broken or enable opening all images directly if it's important to you.

woxxomМод
§
Создано: 30.09.2014
Отредактировано: 30.09.2014

Firefox has an experimental CSS property to use EXIF-rotation for conventional (non-directly opened) images.

Just replace

document.body.innerHTML = ""; // center image

with

document.body.innerHTML = ""; // center image

in the code of Handy Image userscript.

OwynАвтор
§
Создано: 30.09.2014
Отредактировано: 30.09.2014

I tried writing image-orientation by hand in firefox and nothing was changing,
plus even if you make it work naturalWidth and naturalHeigh of the image don't change so you won't be able to resize image keeping proportions

woxxomМод
§
Создано: 30.09.2014
Отредактировано: 30.09.2014
I tried writing image-orientation by hand in firefox and nothing was changing,

I also had stumbled over this issue, however it works in <style>. Obviously the property should be present before the image is initially displayed.

plus even if you make it work naturalWidth and naturalHeigh of the image don't change so you won't be able to resize image keeping proportions

I don't see any differences from non-EXIF-rotated images at least in the scenario I use: 1. load a big image when browser window is small (the texas goddess link above for example) 2. maximize the browser 3. click the image to display it at 100% 4. click the image to downscale it to the maximized browser window.

OwynАвтор
§
Создано: 30.09.2014
Отредактировано: 30.09.2014

indeed, I read about problem with naturalSize but forgot my script let browser calculate sizes + even parts which should be broken seem to work fine in latest Firefox.

*updated script to include image-orientation style which I've just tested to be working fine

poke Chrome devs to implement this if you need this fro Chrome...

+anyway, damn flickr displays everything different for different languages, browsers etc,
link https://www.flickr.com/photos/texasgoddess_2003/5926092144/?rb=1 is broken for firefox again ;p
*will look at it later

Ответить

Войдите, чтобы ответить.