• Resolved websiteadm

    (@websiteadm)


    Hi, so I am having problems, again, with png and jpeg files loosing quality on websites. I would like to use svg instead, but a few, even with compression, are too big. If I use Add Image From?URL, store them in another page just for it, when people load the image from url in the page, it will still be heavy?

    Best regards.

    The page I need help with: [log in to see the link]

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

    (@bcworkz)

    A file that is too large is still too large no matter where it comes from ?? WP will still side load an image from URL so it still ends up on your server. If you need to keep large images off of your server, there are plugins that will let you use a CDN to store certain files. This keeps them off of your server, but end users still need to get the large files, albeit maybe a little bit faster.

    Probably your best opportunity to reduce an image’s file size is to use .webp format. If even .webp is too large I think you will need to compromise some on quality to reduce the file size.

    Thread Starter websiteadm

    (@websiteadm)

    Hallo, is a vector, I compressed as much as could, still have 1mb. All jpeg’s in the site, that are not photography, they lack quality, even when exporting to the web with maximum quality. They have quality on my notebook, they loose once they are in my site. What can I do to solve it?

    Best regards.

    Moderator bcworkz

    (@bcworkz)

    If you use the original image file in posts it should remain the quality it was uploaded with, WP does not process it any further. If this original image’s size as displayed on the page is not its native size, any loss of quality is due to browser resizing and there’s nothing WP can do about it.

    However, if the image in the post is one of the down sized images, there is likely loss of quality due to the down sizing process. This is done by the image editor installed on your server, not WP itself. In the specific case of JPEG images, the editor’s default image quality setting is 90. You could increase it to 100 through the ‘wp_editor_set_quality’ filter.

    Unfortunately, this probably will not help quality much. Server image editor down sizing capability is generally seen as inadequate by those who are discriminating about image quality. At the same time, using quality 100 will significantly increase file size without a proportional gain in quality.

    If you need to use down sized images and are unhappy with the resulting quality, your only option is to manually downsize to the correct size using a proper photo editing application. Replace the file WP created with your manual version via FTP. It’s impractical to do this for all images, but you might want to do this for images that are particularly important or particularly bad in quality.

    Even with a good photo editor, image quality and small file size are at odds with each other. It will always be a compromise.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Image From URL’ is closed to new replies.