Forum HTML Templates VideoStories How exactly does the image resize (the ?mw=xxx&mh=xxx) work? Reply To: How exactly does the image resize (the ?mw=xxx&mh=xxx) work?

#16172

Labluzzaman
Support
Posts: 574

Hi,
You can make small image with same ratio of your image size like 1920*1080 in photoshop. Or upload it in youtube/vimeo with your preview image and paste the image link in src it will adjust automatically, if not then you can control the dimension with css. And for your vimeo preview image open a vimeo video and go to inspect element and find .video class under .video-wrapper div, it has a background image src, copy the link and change the format .webp to .jpg/.png (only google chrome supports .webp format without adding any script) and also those mw, mh. Hope you can understand what I’m telling.

Thanks.