Grainy images on Participants Pages on TeamRaiser.

Options
Has anyone else experience an issue with Participants pictures being grainy when uploaded. I have checked and the images are supposed to be 300x400. I have resized images for participants and the same thing is happening. Especially when in mobile version. Any help will be appreciated. 
Tagged:

Comments

  • Can you share a link of the page where the pictures are like this?
  • http://events.curechildhoodcancer.org/site/TR?fr_id=1120&pg=entry


    Please click on "Search for a CURE's Kid" to see participants pages. 


    Thank you in advance. 
  • Oh ok, I see the issue. At desktop, the images look fine to me, but if you shrink down the window and eventually get to 767px and below, there's actually a few containers that contain media queries and resize to 100% width. The images themselves already have 100% width, so for example once your window hits 767, your picture stretches to fit that entire area, nearly doubling the size the image by stretching it, causing it to look blurry. There's a few ways you could solve this, but the easiest would be to add a max-width of 300px to the images themselves.
  • Does that mean the same as resizing it to 300x Width and 400x Wide? Because that is what I did before I uploaded the pictures. Or am I suppose to do something else after that. I apologize, but as you can see I am not an expert on web design so I am not sure exactly what to do. 
  • No worries!


    Those are 2 different things. What's happening right now is that you've uploaded an image that has been saved at 300x400px, and that's working perfectly fine for your desktop layout. But your page is responsive, so as the size of your window shrinks, the elements on the page will shrink with it. When the page width is down to 767px or below, that image is being told in the page's css to take up 100% of the width of it's parent element, which is also being told to occupy 100%. So the result is an html element that spans the entire width of your screen, and a picture that is also 100% of the screen. However, this causes the image to stretch because it was only uploaded to be a max of 300px wide.


    So really, you have 2 options that are fairly easy to implement.


    1. You can add a line of css to your code that targets those specific images and tell it to set a max-width of 300px. This is the option I would choose.

    2. You could resize and save your pictures to be a larger size, something like 800x1067 to keep the same aspect ratio. The issue with this option is that you're increasing the file size of each image, creating more for the browser to load because it's a larger picture/file size. However, this would leave you with clear pictures when they stretch like that.
  • Thank you so much. That was very helpful. I'll contact support to see how they can help me add the code as I wouldn't want to resize 130 images. Currently I am not sure where to add that code so it applies to all the pages. I know it needs to be done in pagebuilder - but I am not sure which page to use. Thanks again so much for your guidance. 

Categories