High resolution / full sized images for lightbox
Since my first day on Diaspora I have wondered why images displayed in the lightbox are so small. They do not differ much from the in-stream version and sometimes it's hard to see the tiny parts of a picture.
To get a full-sized version of the image there is a little trick: You take the image URL and remove the "scaled_full" in front of the image filename, paste it in your address bar again and you get the original image file.
This trick is not well-known and I guess some users have difficulties to enlarge pictures.
My idea is to show a full-sized version (original version) of the image in the lightbox instead of the smaller scaled_full version. There is more than enough space to give images the space they need. We will keep having the scaled_full version in the stream as small footprint preview, but if you open the lightbox on that picture you will get the full version on your screen.
To prevent parts of the image being cut off due to small screen size, the lightbox will resize the full version to a size which fits the screen in width. This will happen dynamically and CSS-based.
There's a short screencast on my server to show my finished work: https://cloud.trashserver.net/public.php?service=files&t=1229224ef4da202a4c58160200008e8a
In my current code there is only a small border around the image. You can easily increase the border width if you want, but that's more detailed stuff we can discuss about later.
My updated code for Diaspora is finished so far. You can see the changes here: https://github.com/ThomasLeister/diaspora/compare/bigpics?expand=1
Let me know if you like the changes. If you do, we can easily merge my code to the Diaspora dev branch and have full-sized images in the next Diaspora* release :)
Update: Pull request on GitHib: https://github.com/diaspora/diaspora/pull/5500
Update2: Video on YouTube: https://www.youtube.com/watch?v=YMsm9MVl1T0
Poll Created Sun 28 Dec 2014 4:05PM
Should Diaspora* have a full-size image lightbox? Closed Wed 14 Jan 2015 10:04PM
Agree: I like that! Merge this feature into diaspora-develop
Disagree: I don't like your idea.
|Results||Option||% of points||Voters|
||Agree||91.7%||33||R A DU Q GK JL AF 0 FL N|
|Undecided||0%||250||MS AA S CB GC AX PC T DY DU M P R F PA A G TT J NV N CB O RS- TM MB PG AL P N JB C DU P DN FO EM MM HSB DU AV Y S AM M RV DU E TA D DU MJS JHI DU MN L RD M ATA EL AC K RM MF AI AG CJC S DU SC TM M BS DA AF A T AR 박 S J TW HC T MK R F EAP VP HE NL A TJ C S|
36 of 286 people have voted (12%)
Sun 28 Dec 2014 4:20PM
Finally, it's here. I think @Thomas Leister already mentioned why this is would be a good improvement.
Sun 28 Dec 2014 10:59PM
I think @Thomas Leister already mentioned why this would be a good improvement.
Fri 9 Jan 2015 8:26PM
Kind of improvement, but as said by a few, the "real" fix would be to give podmins better configuration control regarding image uploads. As a temporary thing this does improve usability eg better image quality for viewing images at cost for podmin.