The customer wants to make a website similar to camera club website. In that a slider can display photos of different proportions. I have the problem,
Problem 1: wix element image cannot display the complete image. When the height of the image is greater than the width of the image. The full image cannot be displayed.
Question 2: wix element slid gallery cannot display the complete image.
See the video below.
Is there any solution? Thank you.
https://www.youtube.com/watch?v=7jUEJGK2kTw
Hello,
You would be better suited going through Wix Customer Care about this issue as it is not a code issue.
https://support.wix.com/en/article/contacting-wix-customer-care-for-support
Thanks, I have sent a ticket. wait for the answer.
To add to the reply from Anastasiia above, you are simply using the Wix Editor itself and no code is involved with your process.
Therefore you should be going through Wix Support as she states as it is not a code related issue for which the Corvid Forum is to be used for.
Also, just to note that if you read the Wix Suppot pages for Images, you can learn about resizing images yourself, which going by your video that it is something you are not adjusting in the image elements own settings.
https://support.wix.com/en/the-wix-editor/image
https://support.wix.com/en/article/wix-editor-resizing-images
Plus, for something like on the provided website, why not just make use of the Wix Slideshows that are already provided.
https://support.wix.com/en/article/wix-editor-adding-and-setting-up-a-slideshow
If you wish to do something through code for the images, then you can make use of the fitMode function from the Image API and set all your images to fit one size as shown here.
https://www.wix.com/corvid/reference/$w.Image.html#fitMode
All image settings have no effect. Slideshows software is highly automated. But lack of flexibility. The API that can best meet customer requirements should be. I used the fitMode you pointed to. I think basically my problem has been solved. Thank you very much for your professional guidance.