Converting images onto mobi, desktop or laptop templates

This is not Webflow related but thought I’d give it a go. Do any of the experts out there know the best way to skew an image onto a device template(as shown below)? Is there an option outside of photoshop? Can you even do it on photoshop? I can skew an image on Figma, but unfortunately,

the ratios have to remain the same.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)