WordPress.org

Ready to get started?Download WordPress

Forums

Image quality differs in post vs when viewed directly (6 posts)

  1. mangotreat
    Member
    Posted 3 years ago #

    Hi there,

    I've scoured the forums and Internet and can't seem to find a relevant answer, though the topic in general has been discussed.

    I'm seeing a discrepancy between the quality of the images I upload in posts vs. viewing the image by itself.

    Here's what I've done:

    1) Edit image in Lightroom/Photoshop and resize to 750px on the long side.
    2) Upload to post via "Add an Image"
    3) Save and view in browser. The image in the post/article is not clear - the quality has been degraded.
    4) I right click on the image > View Image to see the original uploaded file and the quality is fine - just what I initially wanted.

    My Questions:
    1) Why does the image quality suffer when it's viewed in the post vs. via the link directly to the image?
    2) Is there any way to fix it so the images look great in the posts, too?

    Many thanks in advance for your help or suggestions.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Check with your hosts that the latest version of GD Library is running on your server.

  3. TCBarrett
    Member
    Posted 3 years ago #

    Just a shot in the dark:
    Are you using html to request it an different size? Have you got the correct (cropped) image size defined to match what you are after?

    The image size should be defined either in the media menu or explicitly in your theme or plugins:
    http://codex.wordpress.org/Settings_Media_Screen#Media_Settings
    http://codex.wordpress.org/Function_Reference/add_image_size

  4. mangotreat
    Member
    Posted 3 years ago #

    @esmi - I checked with my host and they said GD Library is automatically enabled and is the most recent version.

    ----

    @tcbarrett - I've played around with the defined sizes in the Media Menu. I've tried to set it to the exact size of the images I've uploaded and tried using a larger size to see if it made a difference. It didn't.

    Not sure what you mean by "using html to request" the different size...

    ----

    Any other thoughts?

  5. TCBarrett
    Member
    Posted 3 years ago #

    What I meant was that using the HTML <img> tag to set a width and height that doesn't match the real image dimensions just stretches/squashes the image, it doesn't resize it.

    Also, setting the image sizes only affects future image uploads, it does not work retroactively, or change things on the fly.

  6. mangotreat
    Member
    Posted 2 years ago #

    @tcbarrett - yeah, I did know you couldn't change already uploaded images. I wasn't setting the size of the images with HTML in the post, but trying to fiddle with the max/min size in Media Settings and then reuploading new images to see if it made a difference, which it didn't.

    Seems there's not much to be done...?

Topic Closed

This topic has been closed to new replies.

About this Topic