Loomio
Mon 14 Dec 2015

Ideas regarding pictures

A
Augier Public Seen by 501

I've tried to add several modifications regarding pictures to diaspora* recently but they revealed to be controversial. So I open this thread to discuss about it.

The first one (#6244) is about modifying the way pictures are resized on mobile view. Currently, the largest size is resized down to 300px which appears to degrade image quality for pictures that present a big height (associated issue: #6248). As proposed by Steffen, this PR resizes width to 300px and crop height to 500px if necessary.

My opinion is that this is a nice solution, used in association with the Bluimp gallery on mobile, to improve navigation on stream with lots of images.

The second is about displaying full-size images inside the gallery on desktop view (#6549). I think resize images down to 700px on desktop view does not make sence anymore. Some users are posting beautiful images on diaspora* but one can't benefit seeing them correctly because they appear really small on large screens.

E

Elm Mon 14 Dec 2015

Hi, I agree with your proposition about displaying full size image. That make sens with the nice image viewer diaspora has now (dev branch).
If I am not mistaken admin can set a size limit in Mo for images, I am just wondering how this goes when the image is to big : upload rejected or resized (smaller, less Mo) to be under the limit size ?
Because I guess that resizing to 700pix makes less disk usage space in the server, so it is necessary to think how admin can limit image space usage on their server if necessary.

A

Augier Mon 14 Dec 2015

If I am not mistaken admin can set a size limit in Mo for images

Yep. Though I don't know if there's a limit by default.

JR

Jason Robinson Tue 15 Dec 2015

+1 for original size on desktop views. Just make sure the viewer fits it on the screen :P People can always download it then to look closer.

Also, any chance of making the "right click to download image" work? Annoying having to do "background image" first to save :)

E

Elm Tue 15 Dec 2015

The “right click to download image” does work on my computer (iceweasel (aka firefox) latest version).

JR

Jason Robinson Tue 15 Dec 2015

@loelo what pod version is that, stable or development? I believe we're talking only about the new gallery in development.

E

Elm Tue 15 Dec 2015

Hi, the version is 0.5.99.0-pfbbe94fb which is dev isn't it ?

A

Augier Wed 16 Dec 2015

Also, any chance of making the “right click to download image” work? Annoying having to do “background image” first to save :)

This should have been solved by #6536.

JR

Jason Robinson Wed 16 Dec 2015

Awesome, need to upgrade then! :)

G

goob Wed 16 Dec 2015

I'd like to retain some kind of resizing for page load, with the full-sized image available on click. Otherwise a gallery of 20 images could load at well over 100MB...

A

Augier Thu 17 Dec 2015

I’d like to retain some kind of resizing for page load, with the full-sized image available on click. Otherwise a gallery of 20 images could load at well over 100MB…

I'm talking about using full-size images inside gallery only.

MD

Michael Dagn Fri 29 Jul 2016

I'd love some ideas for a local lightweight image resizing proxy for mobile views.

Large images can take ages to render on some older phones.
(large images probably need too much ram on the phone)

not sure if it can be done without needing too much ram on the server.