Skip to main content
Participant
July 6, 2018
Question

Fussy PNG on Wordpress

  • July 6, 2018
  • 3 replies
  • 393 views

Hi! I'm saving graphic images for my portfolio website that are 991px by 667.96px with the "save for the web" function. When I see the preview on my screen on Preview (non-retina) the PNG looks great quality. However, once I upload to my website, the image displays in really low quality. The img becomes fuzzy, the colors distorted and is basically the opposite of crisp.

Some things to note:

I'm using a Wordpress theme

The image (AI art board) is exactly the size of the area is supposed to fill on the website (991px by 667px)

I even saved it at 200% (1982px by 1334px)

I used an img tag in the Wordpress text area as shown here:

img src="https://widemargincreative.com/wp-content/themes/plater/images/JJP_art2.png" alt="" width="991" height="667" class="aligncenter" />

I also noticed that my img was resized to a weird dimension of 960px by 646px

When I right click on the img and select inspect, I see this css attribute:

img[Attributes Style] {

  1.    width: 960px;
  2.    height: 646px;

Can anyone tell me why this is happening? Thank you so much!

This topic has been closed for replies.

3 replies

Monika Gause
Community Expert
Community Expert
July 6, 2018

thrudyr61047617  schrieb

Hi! I'm saving graphic images for my portfolio website that are 991px by 667.96px

Decimal document sizes measured in pixels make no sense

There's no such thing as a part of a pixel.

Participant
July 6, 2018

whoops, I meant to erase those decimals before posting. the img is only 991x667 px

Mylenium
Legend
July 6, 2018

Image sizes are fixed in WP and determined by the theme. You can add explicit tags as you want - WP will simply ignore/ sanitize them and use the image version it generated from your media upload based on your embed settings. if you realyl want to use your original sources, you have to turn off all that stuff in WP and make it behave, meaning you likely may even have to edit the theme's PHP files. None of that has anything to do with AI, it's really a WP thing.

Mylenium

Participant
July 6, 2018

Thank you Mylenium! At least now I know from an expert that it's a WP related issue and not the way I was saving the img. Editing those php files sounds a little tedious bc I have very little experience... but do you think saving my images at 960px by 646px would solve the problem? I might try that first... Thank you so much for your input

Participant
July 6, 2018

website here: JenJ Photo |