Page MenuHomePhabricator

Allow image sizing by height
Closed, DeclinedPublic

Description

Author: shimmin

Description:
This is a feature request. Presently images can only be sized by width. But with the
addition of image galleries in 1.4, it would be useful to have a simple way to make each
image in a gallery the same height, so that rows of images line up well.


Version: unspecified
Severity: enhancement

Details

Reference
bz1944

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:22 PM
bzimport set Reference to bz1944.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Image size can be given as an option for thumbnails.

Either by specifying |100px| or as |100x100px|. The later specifies the width
and height.
If you want to have images of the same height with different width, use a very
big width, e.g.

10000x100pxshould work.

This does not work for image galleries, which do not support any options.

rowan.collins wrote:

(In reply to comment #1)

If you want to have images of the same height with different width, use a very
big width, e.g.

10000x100pxshould work.

Well I never, so it does. I never did work out what that weird maths was
supposed to result in, and that was *with* the code! ;)

Diffusion changed the task status from Declined to Resolved by committing Unknown Object (Diffusion Commit).Mar 4 2015, 8:24 AM
Diffusion added a commit: Unknown Object (Diffusion Commit).
Aklapper changed the task status from Resolved to Declined.Mar 4 2015, 5:42 PM
Aklapper claimed this task.