1920px PSD getting huge in 1366px resolution

Asked

Viewed 259 times

1

Currently I have started to receive Psds with resolution of 1920px ie, the site made for larger screens, but the designers have sent me the site actually made in this size, ie, fonts, images and etc, all prepared for screen 1920px but if I cut the PSD images and insert them in HTML, if I use the measurements that are in PSD (height, width, spacing and etc.) for the elements, the site gets extremely large in screens of 1366 (which are even the screens that I have here in the office and that I develop the sites). I have already discussed the issue with a design but as most of the times our planets are distinct (hehe) it is very complicated to come to a conclusion. Anyway, does anyone have any information for me? Right now I don’t really know if it’s me (programmer) who is without necessary knowledge of the subject or if it’s the designers who are working with me.

In order to "mask" the problem I am creating a copy of PSD resizing it to 1360 and it is from it that I take the measurements I need such as height, width, spacing and etc. The images I keep cropping the PSD of 1920 but I define the width (width parameter in img tag) according to PSD in 1360 (gave to understand?).

All information on the subject would be of excellent help. Thanks to everyone from now on.

  • if you just want to resize the images by photoshop only, convert them to smart objects, take two clicks on the icon next to the image in the PS Element Panel, it will open in a new tab, create a new file with the desired size, drag the separate image into the file, press Ctrl+T to resize and cover the part that is needed only

  • but it’s like @Leonfreire said, it’s good to take knowledge of responsive design, so you can use anything of any size, in several different resolutions, without ever popping/disrespecting the layout

  • Have you ever checked the DPI in PSD file? If it is larger than 72, when you export it will look larger than the original resolution. At least I went through the same trouble you did, but with the German. The.ai file was exported to image using 150dpi at 1920px, but the generated image was over 3000px. Try to see if that’s not what’s going on.

1 answer

1

You need to take notice of responsive websites. What is happening in your case is that using fixed sizes (probably for everything). In that case your website will work perfectly only for one screen size.

You should learn to use % for measures and take note of Media Queries. Media Queries, in short, are the best way to, in CSS, you adapt your site to different screens, with a unique CSS by size.

As I imagine you are making websites through PSD screen adaptation, you can take the art that is in high quality for websites (1920px) and decrease them by CSS in Media Queries for other resolutions, or simply use %.

EDIT

To achieve something similar to what you are proposing, you will need to remove the limits imposed by the screen and put sizes that you would like to be used for large monitors and giants at once.

For example, in the main part of the content, your CSS has measures like:

.home main .container {
    max-width: 1055px;
}

@media (min-width: 1200px)
.container {
    width: 1170px;
}

This sets a size limit for the screen, but I see that it wants something huge, occupying the entire screen. So you would need to remove this. Example:

.home main .container {
    max-width: none;
}

@media (min-width: 1200px)
.container {
    width: 90vw; /* ou 100vw dependendo da situação */
}

In sponsor would be the same:

.home .sponsors .container {
    max-width: none;
}

I think starting with this idea you can kill the rest, but any further doubt, just comment.

  • Hello Leon, first of all thank you for the reply, see well, I already use media queries, in fact I ended up simplifying my work within 3 environments, be they, "max-width: 767px", "max-width: 991px" and "max-width: 1199px"I came to this conclusion because Bootstrap uses these break points and I use Bootstrap in all my projects.

  • @Leandroberg I get it. But you are working with measures in "%" or "vw"?

  • Look, my elements end up being sized inside the container, and the container is in % (Bootstrap grid). The point is that the Bootstrap container only reaches 1140 and the Psds have arrived much bigger than that, you know?

  • @Does Leandroberg have an example? A fiddle or something so I can help? Answering like that without seeing, I’m just guessing what’s going on.

  • So, do the following, access here the jpg export I made of the PSD I’m working on: http://virtuemasters.com.br/projects/k08/k08-home.jpg And here you see the project being developed: http://virtuemasters.com.br/projects/k08 See if you can understand, in JPG / PSD in this case, everything is much bigger (open JPG with 100% zoom to see this) the fonts are bigger, the elements and etc. Now already in HTML everything is smaller (since I ended up reducing to fit on the screen of 1360. And the customer is complaining that this is all small :/ understand? He wants me to make the size of PSD.

  • @Leandroberg I understood the situation. Classic example of crazy client who does not understand the concept of responsiveness! It’s much better, even on my monitor, the way it’s done in your work. But I will update my answer with some quick suggestions on how you can "simulate" the desired effect. (Although I would really only do this to please customer. I don’t usually sign under this kind of thing. Hahaha...) I’ll give you a call and you check.

  • @Leandroberg Edited. Czech there!

  • Yes yes, in case I did the delimitation of 1055px myself, just to be able to look more like his PSD but with more or less 30% less size/ resolution let’s say so, you know? But after all my work redefining everything to fit on the screen the client insists on saying that the PSD is correct and that our team is who does not understand responsive design :/ For you to have idea, He insisted on it so much that I opened up this Forum here so he could see the community’s views. Well, in that case the PSD is indeed big and off the right grid?

  • Here’s another PSD I’m working on and having the same problem (and this one is from another design): http://virtuemasters.com.br/projects/k08/global-moms-relay.jpg Note that it is also at 1920px but the elements are outside the standard and will be large in smaller resolutions.

  • @Leandroberg In my opinion yes. Your work seems to be well suited to my work monitor, which is at 1360x768 and looks pretty true to the image. I guess to please the guys you’ll have to blow up some sizes.

  • @Leandroberg It is common for jobs to come in 1920px for higher quality. The problem is that customers think about responsiveness. But it has to please, right? Try to leave everything huge the way they want. Like I said, I do it the way you want, but when I don’t like it personally, I don’t sign it. It’s happened a few times.

Show 6 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.