Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
1  
Can't you just insert via URL? –  bungeshea Dec 23 '12 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. –  gsingh2011 Dec 23 '12 at 5:23
    
Would simply disabling the generation of additional image sizes work? –  bungeshea Dec 23 '12 at 5:25
    
@bungeshea Hmm, I think that would be fine. Do you know how to do that? –  gsingh2011 Dec 23 '12 at 5:27
    
See my answer –  bungeshea Dec 23 '12 at 6:03

1 Answer 1

up vote 4 down vote accepted

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.

Media Settimgs

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.

share|improve this answer
    
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. –  gsingh2011 Dec 23 '12 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? –  bungeshea Dec 23 '12 at 6:33
    
Do you like a media library in backend of wordpress for the images of your folder, there you fill via ftp? –  bueltge Dec 23 '12 at 8:58
    
+1, congrats on your first thousand! –  brasofilo Dec 23 '12 at 16:18
    
Thanks, @brasofilo –  bungeshea Dec 23 '12 at 20:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.