Open qumuq-til opened 5 years ago
To be consistant with the design and the text around img's that are inserted will not be aligned to center because the text isn't. We will provide a fix for the img's to not ovelap each other.
I beg to differ regarding the design, because you could say that landscape images in blog examples are indeed centered, page-wise. Leaving vertically aligned images stick to the left makes for a messy look that cannot be avoided. You can try that yourself and see if there's a better solution for vertical images. Maybe a selectable option to center them will be nice.
The images do get centered if the viewport is made a little narrower as seen in the examples above.
The only workaround for now is to use an image in html tags like this:
<div class="align-center" markdown="1">![](tree.jpg)</div>
Yep, that should work. You may also consider just stretching the vertical image in the theme to fill the entire horizontal space, i.e. making one huge vertical image.
We could but it usually makes page very long to scroll if couple of the image's are there and we would like to avoid that.
Yes, that's true, I agree. But how about two stacked together? Take a look how it's done in Kalium. That approach does require identical ratios but works great.
Yes but this is different situation, we're talking about image grid collection inside blog post.
Not sure I understand what you mean, but the screenshot did come from a blog page in Kalium. Edit: i.e. not the Portfolio module.
I mean you have to know before that you would like to do such image placement and provide specific classes for it. We did not changed styles that was provided by Styleshout.
I see. With all due respect I think my reasoning is sound on this one. Design-wise something has to be done about vertical images so that they don't look out of place. Centering an image is one solution and making a grid with two stacked side by side is a good continuation of that. Just shifting a vertical image to the left completely breaks the elegance of the theme. Having users to provide all images in landscape orientation severely limits the theme's appeal.
I understand your point but at the moment we were not thinking about adding new features to the theme we only converted HTML theme to grav and if some functionality was missing in html version it will be missing in hola at the moment. Maybe in future we'll add new features.
Sorry, my comment was misplaced.