Forums

[resolved] Images looking low res in headers (7 posts)

  1. mross55
    Member
    Posted 1 year ago #

    The image in the header looks low res but I am not saving them as low res. I've also tried to enlarge the images to see what happens but get the same result.

    They look fine in photoshop and as a jpg (or png) before uploading so I just don't know why they're appearing so low res. Is it something in the way wordpress works with them? http://tinyurl.com/29y4duh (page)

    Anyone have any ideas please?

    Thanks

  2. Mark / t31os
    Moderator
    Posted 1 year ago #

    If you mean this image.
    camberwellelectrics.imageidentity.biz/wp-content/uploads/2010/07/laundry-appliances-banner.jpg

    It looks fine when queried directly (use the URL above), in your page however it's displayed using a phpThumb script (which seems to be messing with the quality).

  3. mross55
    Member
    Posted 1 year ago #

    Thanks for responding.

    Yes, that's the one I mean. All the header images are supposed to be that quality.
    Any idea on how to fix that in the phpThumb script?

    I'm new to WordPress.
    Cheers

  4. Mark / t31os
    Moderator
    Posted 1 year ago #

    Nope no idea, i just knew the script was the source of your issue.. :)

  5. mross55
    Member
    Posted 1 year ago #

    :)

  6. mross55
    Member
    Posted 1 year ago #

    Anyone have any idea how to fix the phpthumb script please?

  7. mross55
    Member
    Posted 1 year ago #

    For others who have the same problem and need an answer:

    http://phpthumb.sourceforge.net/demo/docs/phpthumb.faq.txt
    Q: Image quality is very bad, very pixelated -- why?
    A: You may be trying to resize images larger than the available
    PHP memory, so phpThumb is simply extracting and using the
    EXIF thumbnail as the image source, which is usually about
    160x120 (so if you resize it to 640x480 it will look very bad).
    To calculate the required size for memory_limit in php.ini,
    calculate the number of pixels in the image and multiply by 5:
    For example, 1600x1200 = 1600 * 1200 * 5 = 9600000 = 10M
    Easy solution: install ImageMagick

Topic Closed

This topic has been closed to new replies.

About this Topic