• Resolved peden

    (@peden)


    Hi WordPress Community,

    Hope you are well. I’m trying to upload a non compressed image as a featured image to a WordPress Page. Non compressed as not compressed at all by wordpress. It seems impossible. WordPress always do a little something with it that decreases the image quality and increases the image size.

    I have tried GIF, PNG, and JPEG files
    I have tried to add the code:
    “add_filter( ‘jpeg_quality’, create_function( ”, ‘return 100;’ ) );”
    I have tried WP Smush
    I have tried to upload a picture via ftp and insert it
    I have tried Nelio External Featured Image

    But none of these solutions do the job.

    Do anyone here got some ideas?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    I believe WP defaults to ImageMagick if it’s available on your site. You can try forcing it to use GD (if available) with the ‘wp_image_editors’ filter. Remove the IMagick item from the passed array.

    If you can find a better image processing extension and it can be used to extend WP_Image_Editor, you can cause it to be used through the same filter.

    Thread Starter peden

    (@peden)

    Thanks for your reply, bcworkz.

    I managed to solved it this way:

    1) Upload the file the usual way to the media library
    2) Upload the file via FTP
    3) Upload it to the media library with a plugin called media from ftp
    4) Rename the file so it overwrites the first picture I upload the usual way in my ftp client.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Non compressed image’ is closed to new replies.