Upvote 3

Window resize - full screen image : keep image proportions

Solved Astrid 7 years ago

Hi there,

I would like to create a full screen background image where:

- the width equals the window width

- height equals the window height

Is there a way to keep the proportions of the image (so it's not distorted) -> a section of the image will be masked in order to keep the same proportion throughout all window widths and heights?

Here is an example http://xgio.net/vattaric/

Is this doable?

Many thanks,


Leave a Comment
Attach a file