Blurry product images in Dawn theme

Solved
rusinov
Tourist
14 0 2

Hey guys, I'm having issues where my product images are very blurry on the front end. They are fine when I preview them on the back end. Start happening after I've switched to the new Dawn theme. Images that I've uploaded are 1000px +, but site displaying them at half of that. Is there a way to fix that? Site: sapandbark.com

Thanks!

sapnadbark.com
Replies 32 (32)
HamishDavisonIC
Explorer
52 6 40

@rusinov I think they're just steadily updating Dawn

We both came to the same conclusion! I spent 3 days on mine though haha

 

rusinov
Tourist
14 0 2

Totally, I wish there was an update button without rebuilding the pages again.

sapnadbark.com
HamishDavisonIC
Explorer
52 6 40

@rusinov You can set up a GitHub Fork but it's beyond my technical skills right now, but I'm going to look at it soon.

HamishDavisonIC
Explorer
52 6 40

This is an accepted solution.

@rusinov if you could mark this answer as a solution I would appreciate it so it reaches more people:

Let's talk about how to make your Dawn images not so blurry!

This was more because Dawn is currently in development than anything else 

All we need to do is update Dawn, all your products etc. will be saved but you will have to quickly put your images (which will already be uploaded) back into the customizer, but it's worth it as the quality is vastly superior

HamishDavisonIC_0-1631922161324.png

HamishDavisonIC_1-1631922186745.png

HamishDavisonIC_2-1631922204984.png

I personally recommend Craft as it looks nice af

 

 

View solution in original post

kbeautyblossom
Excursionist
27 0 8

Thank you for this too. 

I downloaded it but I wish I didn't need to start over. LOL

Pauline_Millwar
Tourist
10 0 7

Hi,

Did anyone work this out? I am not a developer, but i inspected the code via a browser and i noticed that when i removed the "w" from after the number after the image url (see attached to make more sense) the image became clear.

Any ideas where this "w" comes from in the files and if it is ok to remove it?image-issue.jpg

StephanieG
Excursionist
10 0 2

Did anyone reply on the “w” ?

I tried it but it did nothing. I see there is a product width of 1100 so I lowered that and it did nothing. 
I do like the theme I have dawn as craft but the images are way to blurry 

StephanieG
Excursionist
10 0 2
Click to expand...
 

Mine is still burry

StephanieG
Excursionist
10 0 2

What is that code you found? I can view your picture

fineartprint
Tourist
11 0 2

My way of kind of fixing this issue with the enormous blurry image DAWN theme loads on clicking any product images (modal view) is to alter width:100% to width:70% on 

section-main-product.css, line 651 (this has worked ok for me on desktop. So now i do not see the blurry images (most of my jpeg files are of 1500px, so loading it as it DAWN did by default, they looked terrible)

 

 

@media screen and (min-width: 750px) {
  .product-media-modal__content {
    padding: 2rem 11rem;
  }

  .product-media-modal__content > * {
    width: 80%;  /*----------HERE-------------*/
  }
  .product-media-modal__content > * + * {
    margin-top: 2rem;
  }
  .product-media-modal__toggle {
    right: 5rem;
    top: 2.2rem;
  }
}

 

Mobile device workaround: On mobile devices, loading full screen image looked even worse. I fixed this by adding "width: -webkit-fill-available;" on the same file, line 610, have a look below

 

.product-media-modal__content > * {
  display: block;
  height: auto;
  margin: auto;
  border: 0.1rem solid rgba(var(--color-foreground), 0.04);

width: -webkit-fill-available;  /*-----------HERE, you may adapt it to the width % you like, for example width:120%, just to have a little zoom effect and scroll */
}

 

 

i am not a CSS expert anymore (i am very far from that) so i cannot tell if there will be any other implications. For the moment i have tested it on my desktop PC and my mobile device, only on product pages and the result is the one i wanted. 

You may check it live on this product page https://wallprint.photo/products/fineart-print-zinal-village-swiss-alps-valais