ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > WebsitePainter
forum topic indicator screen resolution and viewport size ...
person icon
cyberam
Registered User
Quote
2024-10-16 13:01:55

Some questions have come up, so I post them all at once.

I want to set up a portrait website for an iPhone 11. The screen has a resolution of 828 x 1792px and the viewport is 414 x 896px so the CSS Pixel Ratio is 2.

1. Which screen seize do I set up in WSP the resolution or the viewport?
2.If I import an image is lets say 1200 x 1900 px, what happens in WSP? Is it different than in RocketCake?
3. What happens if I set the page seizes in WSP to auto?
4. When importing images, where do WSP and Rocket store the files?
Ok, quite a few questions, but I'd rather know before I have to start all over again.

person icon
niko
Moderator
Quote
2024-10-17 07:48:46

WSP is not responsive, it creates websites with a fixed size. Nothing is scaled.

The viewport width of an iPhone is 414 in css units, so you should be fine when you put everything on your site with a width of maximum 414 units.

If you put in an image for example, make sure it's not wider than 414 units if you want everything to be easily watchable, otherwise you have to scroll on your phone.

I don't think the width and height you set for your site in the properties is relevant and mostly ignored on most browsers today - but I can be wrong.

Imported images are stored usually in the rc_images or wsp_images folder.

person icon
cyberam
Registered User
Quote
2024-10-17 10:30:40

Thanks a lot Nico. Guess with 'not wider than 414 units' it means pixel ?

person icon
niko
Moderator
Quote
2024-10-17 10:36:03

Yes, it's not actual pixels on the device, but that's how HTML works. The iPhone 11 has a pixel ratio of 2.0, so it's actually 828 pixels, but for HTML, it just looks like 414.

person icon
cyberam
Registered User
Quote
2024-10-17 10:50:15

Thanks again. Last question, I haven't understood about responsiveness. Is RocketCake responsiveness inherent or will it only be triggert by setting break points etc. I mean, if I import an image wider than 414 units, do I have to scroll on iPhone to see it all or makes RC it fit without me telling the width? And if so I then only have to care about the ratio?

person icon
niko
Moderator
Quote
2024-10-17 15:24:23

Yes, usually only about the ratio. In RocketCake, almost all elements are by default sized to a percentage depending on the screen width.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |