Loomio
December 14th, 2015 12:23

Ideas regarding pictures

Augier
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.

Elm

Elm December 14th, 2015 18:22

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.

Augier

Augier December 14th, 2015 18:57

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.

Jason Robinson

Jason Robinson December 15th, 2015 19:51

+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 :)

Elm

Elm December 15th, 2015 20:37

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

Jason Robinson

Jason Robinson December 15th, 2015 20:44

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

Elm

Elm December 15th, 2015 20:57

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

Augier

Augier December 16th, 2015 08:00

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.

Jason Robinson

Jason Robinson December 16th, 2015 09:49

Awesome, need to upgrade then! :)

goob

goob December 16th, 2015 18:18

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...

Augier

Augier December 17th, 2015 11:19

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 July 29th, 2016 08:28

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.