I've uploaded images directly to my WordPress server through FTP. I want to add these images to a post, so right now I'm using the Add from Server plugin that allows me to browse images on the server and add them to the media library. The only thing I don't like about this is that adding an image to the media library generates two smaller versions of the image that are used for thumbnails. Is it not possible to completely bypass the media library and add images directly from the server?
-
1Can't you just insert via URL?– sheaCommented Dec 23, 2012 at 5:09
-
@bungeshea Yes, but that gets tedious after a while, especially when you've organized your folders into directories and you don't know the exact structure and have to look it up. I'd prefer a solution that involves a file chooser.– gsgxCommented Dec 23, 2012 at 5:23
-
Would simply disabling the generation of additional image sizes work?– sheaCommented Dec 23, 2012 at 5:25
-
@bungeshea Hmm, I think that would be fine. Do you know how to do that?– gsgxCommented Dec 23, 2012 at 5:27
-
See my answer– sheaCommented Dec 23, 2012 at 6:03
1 Answer
I think that the best option here would be to disable the generation of additional image sizes on adding an image to the media library. Doing so is fairly straight-forward:
Visit the Settings > Media page of your WordPress dashboard. Under the Image Sizes section, change all of the values to 0.
Save the changes. This will stop WordPress generating thumbnails, medium, and large sizes of every image you upload.
You will also notice that when you go to insert an image, the "Size" dropdown box is missing.
-
Thanks, this works well. Although I wish WordPress would let me add media directly from the server without me having to modify their settings and add additional plugins.– gsgxCommented Dec 23, 2012 at 6:24
-
I know what you mean. In WordPress 3.6 the media library will be totally revamped … perhaps someone could submit a trac ticket or an idea with this request?– sheaCommented Dec 23, 2012 at 6:33
-
Do you like a media library in backend of wordpress for the images of your folder, there you fill via ftp?– bueltgeCommented Dec 23, 2012 at 8:58