- This topic has 1 reply, 2 voices, and was last updated 2 years, 5 months ago by .
- You must be logged in to reply to this topic.
I ask here, because there is no category for ART HTML theme.
I have the following question:
How to display vertical image in good proportions using project-item-2cols-gallery-left.html?
Currently image is cut to horizontal. Lightbox shows image with incorrect proportions.
Please make sure:
1. the data-size is same as image size
2. the width/height same as image size
3. padding-top is image height/width * 100
<a title="" class="lightbox-item" href="http://image.jpg" data-size="1260x640"> <span style=" padding-top: 50.793650793651%;" class="ux-lazyload-wrap" > <img width="1260" height="640" alt="RAW_byfutura" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="http://image.jpg" class="list-layout-img gallery-images-img ux-lazyload-img lazy">
If still not work, please leave your page url
Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.