Mobile app version of vmapp.org
Login or Join
Sent6035632

: This could vary by site and user base, but many websites are still supporting a screen width of 1024 pixels wide (because there is still a sizable user base using that resolution). Therefore,

@Sent6035632

This could vary by site and user base, but many websites are still supporting a screen width of 1024 pixels wide (because there is still a sizable user base using that resolution). Therefore, you'd want your image to be big enough to fit into a space that was 1024 pixels wide. Let's say you have 15px of chrome on the left and right sides of your lightbox and you wanted a 30px margin on either side of that for people running 1024px wide monitor resolutions.

1024 - 30px(lightbox chrome) - 60px(margins) = 934px wide image.

Again, the specifics might be different for your site, particularly if you want the lightbox edges to lay at a certain point in relation to your page or if you are trying to snap to a grid or something like that.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme