Psycojoker / prosopopee

a static website generator to make beautiful customizable pictures galleries that tell a story
http://prosopopee.readthedocs.org
GNU General Public License v3.0
323 stars 55 forks source link

Fix alignment issue when pictures do not fill the pictures-group line #93

Closed QSchulz closed 4 years ago

QSchulz commented 5 years ago

When pictures are too small to fill a pictures-group's line (which can happen with two portrait pictures; for example on a 1080p screen since the pictures are x600 thumbnails, only two portrait pictures in one line would make the content of the line ~1200px instead of the ~1920px (it's actually with the current syle.css 77% of that => ~1500px) of available space.

Alignment issue

The issue is particularly present when zooming out: Alignment issue zooming out

I'd expect the pictures to fill the whole line.

With the fix: Fixed alignment

Fixes #92

JocelynDelalande commented 5 years ago

@QSchulz Thanks for your patch :-) Does it work for lines with a lonesone picture, fixing the bug mentioned here ?

QSchulz commented 5 years ago

@JocelynDelalande I still have to fix this Travis issue, hopefully this week-end it's resolved.

Yes it does, but it's not pretty for two reasons:

beudbeud commented 4 years ago

@QSchulz is look have problem with the option 'select_streams'

Failed to set value 'v:0' for option 'select_streams'

Have you try with ffmpeg and avprobe?

beudbeud commented 4 years ago

@QSchulz have try in python 3? because on mine computer i get error