- Joined
- Jun 13, 2024
- Messages
- 8,658
It's literally two more lines of code geg I was writing something out on this (different method but same result) but you beat me to it, honestly I'm surprised soggy didn't think of preserving aspect ratio when its easy.If you add
CSS:-o-object-fit: contain; object-fit: contain;
to .bbImage the image will maintain it's aspect ratio even if it gets squished by the size limits
View attachment 34797