Greasy Fork is available in English.

Center Image & Video

Improved controls for images & videos opened directly with your browser - hotkeys & resizing & visuals

< Отзив за Center Image & Video

Отзив: Отлично - скриптът работи

§
Публикуван на: 23.04.2015
Редактиран на: 23.04.2015

[Fixed] Doesn't Center Image

Like the title says, the images that I open are usually not centered; they are align to the top, centered. Some times they also open at full size instead of being fit to the window.

This is how it is centered: http://i.imgur.com/yZmurdW.png

I've disable all my scripts as well as all my extensions, except for this one and greasemonkey, and the problem still persists.

OwynАвтор
§
Публикуван на: 23.04.2015

New Firefox broke it.
Fixed and updated.

§
Публикуван на: 23.04.2015

Awesome. It works great. Thanks for the quick fix. Now all we need is Greasemonkey to update. The "User Script Commands..." Doesn't work in the latest Firefox versions. Not with this script and some others. Thanks again for the fix.

OwynАвтор
§
Публикуван на: 23.04.2015

Just make sure they know about the issue if you are waiting for a fix :-)

and you can just use a hotkey 'P' instead.

§
Публикуван на: 23.04.2015

Found a new problem with the script. When I open an image larger than the screen, it loads it in full-size instead of fitted to the window. Then when I click on it to fit-to-window, stretches the images. Like this:

On load, full-size: http://i.imgur.com/FTrXx4F.png
Click to fit-to-window: http://i.imgur.com/J1Wgp3k.png

OwynАвтор
§
Публикуван на: 23.04.2015

Fixed.

§
Публикуван на: 23.04.2015

Man, you work fast. I've tested it on a bunch of images and it's working perfectly. Thanks for the fixes!

Публикувайте отговор

Влезте, за да публикувате отговор.