1. tcm1003
  2. Sherlock Holmes
  3. Free Templates / Extensions
  4. Monday, 24 October 2022
  5.  Subscribe via email
Hello,

I would like to align slideshow images in 'Jasmine' at 100% width of screen, because the the bottom always gets cut out on bigger screens. Is there a way to control this?
(and by the way, it would be a great feature for the extension to choose this in the options per image instead of using custom css... ;) )
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Assuming I understand you correctly, you wish the image to be center cropped so the horizon will always remain in the center. To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

Where 600px is the height of your slideshow (edit to taste)

.layerslideshow img {
object-fit: cover;
object-position: center;
height: 100%;
max-height: 600px;
}


Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
looks good, thank you very much! :)
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of this issue?

Ciaran
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hej hej,
I attached some screenshots to show the difference in your demo of 'Jasmine' and on my installation.
At the moment my installation is local, but if necessary I can upload it later.

My own slideshow configuration is a little bit smaller in height, nothing else changed (i think).
I know, my 2560p screens are bigger than average, but the 100% width is still there and would be ok, if I can align the image with the image center, instead of the top.

Description:
On jasmine_screenshot_s.png you see the small version with full height of the image. For reference I marked three sections (sky, gras, beach) to compare in the other images.
jasmine_screenshot_m.png shows more width and the image get's cut off a little bit at the bottom. On the right side is gras missing.
jasmine_screenshot_l.png shows the ultra width version, where the whole bottom beach is cut off... I know, a little bit extreme... but I don't want a bottom-only cut off and this shows it clearly what I mean.

So, if you want to test a possible solution, your own demo is useable :)

My own images are similiar, just a little bit more clear...
In own_screenshot_s.png you see the whole height. My red line shows the margin between horizon and bottom of the picture to compare. This is on small screen.
On medium screens like in own_screenshot_m.png, there's a cut off. The clouds on the top are untouched, but I miss landscape.
On large screen like in own_screenshot_l.png, theres nothing left of the landscape, just clouds and the sun is at the bottom.

---

I don't want "no cut".
All I want is to align the image vertically centered, so the clouds and the landscape get cut off equally. Because I want the focus point of the image in the center to remain in center. But at the moment it cuts off the bottom only. I hope this is understandable. :D :D :D

At the moment I would like a solution for "all images align vertically centered" - but just as a suggestion for a future module update, it could be a per image setting?
Attachments (6)
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok