WordPress.org

Ready to get started?Download WordPress

Forums

More images in Upload-folder than I actually uploaded (6 posts)

  1. Mariokluser
    Member
    Posted 4 months ago #

    Hello,

    In the past I never used the media library because I wanted totally control of everything and just embedded stuff I had uploaded to specific folders via FTP with html-code into posts and pages.

    However, there are more and more themes that force me to make use of the media library, so here I am totally frustrated:

    When I upload one image to the media library and the have a look via FTP I see that WordPress had made 11 copies of the image in different sizes and formats. I totally do not understand why this is. If I upload an image with the size 1200x600 I don't see the point of having an unrequested copy in 500x500 or 250x250.

    Probably useful to know is that I tried to create a slider for the Customizr-theme, what by the way stretches the images in a unwanted way, but this is another problem.

    Thank you very much for you information.

  2. Senff
    Member
    Posted 4 months ago #

    Depending on the theme, this is normal.

    It can be useful if you want your site to show images with consistent sizes. For example, if the user uploads three images, all different sizes, then it's easy to make the site show all three images with the same size (all 500x500, or all 250x250).

    Full details: http://codex.wordpress.org/Function_Reference/add_image_size

  3. Mariokluser
    Member
    Posted 4 months ago #

    Just tried it again. 1 upload = 7 versions. Actually this is why I love to have control myself over the files I upload to the server.

    The weird thing is that I only see the one I uploaded in the Media Library. The others I can only see in FileZilla. Once I delete the one in the Library they still show up in FTP. Even if I log in and out with FileZilla. If I then select them all and hit the delete-button and hit 'yes' FileZilla tells me that there is no such image found.

    Weird. I don't like that at all.

  4. Dave Naylor
    Member
    Posted 4 months ago #

    That's because FileZilla will have cached the directory listing.

  5. Senff
    Member
    Posted 4 months ago #

    The weird thing is that I only see the one I uploaded in the Media Library. The others I can only see in FileZilla.

    Again, this is normal.

    Another example: in a post listing, it could show the (smaller) thumbnail version of an uploaded image -- then in the full post, it could show the (larger) full version of that image.

    Anyways, if you don't want this functionality, you'll have to dig in your theme and find references to the add_image_size() functions....and delete them if you want.

  6. Mariokluser
    Member
    Posted 4 months ago #

    OK, thank you very much. I will dive into this. Will also try what happens when I go into the Media settings and set the small and medium images to ZERO. This could solve the issue, I guess.

    Thanks again!

Reply

You must log in to post.

About this Topic