How to prevent image element stretching and how to zoom?

few questions remaining here:

how to prevent stretching when you resize window ?

how to “zoom” into part of the picture and scroll the camera?

We don’t have the editor options yet but since the release of engine 1.54, there is an API to preserve the aspect ratio of the image in an element to cover or fit.

For the moment, you can set this in code as shown here: PlayCanvas 3D HTML5 Game Engine

If you need to do this, you will need resize the element to ‘zoom’ in/out and move it based on your panning input