• Hi guys,

    I’m having some trouble with image uploads on the latest version of WordPress. I have defined a set of custom sizes in my functions.php file as follows:

    add_image_size( ‘product_testimonial’, 662, 366, true );
    add_image_size( ‘product_image_listing’, 120, 290, true );
    add_image_size( ‘product_image_detail’, 290, 700, true );

    When I upload an image (with dimensions 2000 x 2000) the following 3 files are created:

    \wp-content\uploads\20127\My-Test-662×366.jpg
    \wp-content\uploads\20127\My-Test-120×290.jpg
    \wp-content\uploads\20127\My-Test-290×700.jpg

    But nothing else … the original is not stored anywhere. This is a problem because I want to offer the full, hi-res version as a download to my users.

    Does anyone know why this would be happening? I’ve built 7 or 8 different WordPress sites and never had this problem before. I guess its either a bug in the most recent version, or (more likely) something about my config is wrong.

    Any help would be much appreciated.
    Thanks, Mike

Viewing 1 replies (of 1 total)
  • Thread Starter mikeharris

    (@mikeharris)

    UPDATE:

    If I remove my 3 add_image_size calls the original photo is successfully uploaded and the standard thumbnail, medium and large versions are generated. Makes me think its more likely to be a WordPress issue ….

    Any help would be much appreciated ??

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress image upload – original not stored’ is closed to new replies.