What happened with Web Edition in 2023r3?

I don’t know what happened with the Web Edition 2023r3 but my web app is showing completely wrong.

This is how it looks with Xojo 2023r2

And now with Xojo 2023r3 it looks like this

I’m totally confused by what is happening and have no idea what I’m doing wrong.
Is there anybody who has a clue what is happening here?

In 2023r3, WebImageViewer has a new DisplayMode property. You can see it in the Inspector, and I would guess you will want to set it to ScaleAspectFit. Hopefully that makes it look as it did previously.

https://documentation.xojo.com/api/user_interface/web/webimageviewer.html#webimageviewer-displaymodes

5 Likes

@Gavin_Smith
Thank you. ScaleAspectFit solved the problem.

2 Likes

I can’t replicate the problem.

Are you using SVG or jpg/png?
Are you using 2x, 3x images?

Having a simple 512x512 png on a webimageviewer it looks the same in R2/R3 in my configuration (macOS Ventura, non-retina display).

I just want to know why is this happening. Thanks.

I’m using an image set with png:
Banner (Practicum Aanvraag Tool): 1024x64 px, 2048x128 px, 3072x192 px
Login picture: 600x450 px, 1200x900 px, 1800x1350 px

My plan is to replace the banner with a SVG and I will use the ReSVGMBS plugin for the SVG.

You should actually be able to send the SVG itself, as 98% of web browsers can render SVG: SVG (basic support) | Can I use... Support tables for HTML5, CSS3, etc

3 Likes

I can replicate the problem if I add the 2x and 3x images.

In my case the 2x image is used, so R2 shows within the WebImageViewer and R3 needs to change the setting as Gavin said above (to avoid showing it bigger).

Thanks.