: 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,
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.
More posts by @Sent6035632
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.