Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1181891

    For some reason WordPress refuses to upload an image at the same dimensions as the original.

    I have tried uploading an image 3000px wide x 900px tall (577k) to use in the full width slideshow.
    Whatever I do the image seems to end up 2560 x 768 at 1MB

    Looking on the server the correct size is there:

    Liege-Santiago-Calatrava.jpg. <<< this is the correctly sized image NOT used for some reason
    Liege-Santiago-Calatrava-36×36.jpg
    Liege-Santiago-Calatrava-120×36.jpg
    Liege-Santiago-Calatrava-180×180.jpg
    Liege-Santiago-Calatrava-260×185.jpg
    Liege-Santiago-Calatrava-495×400.jpg
    Liege-Santiago-Calatrava-705×212.jpg
    Liege-Santiago-Calatrava-710×375.jpg
    Liege-Santiago-Calatrava-768×230.jpg
    Liege-Santiago-Calatrava-845×321.jpg
    Liege-Santiago-Calatrava-845×684.jpg
    Liege-Santiago-Calatrava-1210×423.jpg
    Liege-Santiago-Calatrava-1500×430.jpg
    Liege-Santiago-Calatrava-1500×450.jpg
    Liege-Santiago-Calatrava-1500×630.jpg
    Liege-Santiago-Calatrava-1536×461.jpg
    Liege-Santiago-Calatrava-2000×600.jpg
    Liege-Santiago-Calatrava-2048×614.jpg
    Liege-Santiago-Calatrava-scaled.jpg <<<< this is the one it wrongly uses each time.

    Each time I add the image to the full width slider I select full size, but it keeps using the ‘SCALED’ file instead.

    I have tried adding just a simple image, but again it still only uses the ‘SCALED’ version.

    Hopefully you can help.

    Colin.

    #1182958

    Hey ColinWalton,

    Thank you for the inquiry.

    This is a new WordPress feature that handles big images. It limits the size of the uploaded images based on a specified threshold. You can use the “big_image_size_threshold” filter to change the threshold or disable the automatic scaling completely.

    add_filter( 'big_image_size_threshold', '__return_false' );
    

    // https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/

    Best regards,
    Ismael

    #1183003

    Hi Ismael, works a treat – thank you!

    #1183264

    Hi,

    Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Please bookmark Enfold Documentation for future reference.
    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Image size always seems to be "scaled"’ is closed to new replies.