Open Danman800 opened 6 years ago
I managed to get the box the size of the screen/browser but the part of the picture larger than the screen is cut off. How can I fix this?
The plugin doesn't change image-Size (Only position) Use regular css for this.
One idea:
.reponsive-img{
width: 100%;
height: auto;
}
https://www.w3schools.com/howto/howto_css_image_responsive.asp
https://www.w3schools.com/cssref/pr_dim_width.asp https://www.w3schools.com/tags/att_img_width.asp
It would be very useful to set an image size in the plugin's config!!!
EDIT:
I looked into the src & it seems like twentytwenty is supposed to take the img width, but it's somehow not for me:
container
where the actual image size is 569 x 376
EDIT 2:
when resizing the image container via css, the clip-path
value is not updated correctly
Hello,
I am pretty new to this and I want to use this script for comparison of pictures. I want the original size but the script is only showing the pictures in a small box. How do I get the original picture size?
Thanks!