The Wordpress upload directory. [Read more about `wp_upload_dir()` here](http://codex.wordpress.org/Function_Reference/wp_upload_dir).

learn more… | top users | synonyms

1
vote
0answers
403 views

Upload video in custom folder

I am trying to find a system to upload some kind of media in a custom folder. I want to keep all uploads in default wordpress folder and create a custom folder just for videos. So i would have the ...
0
votes
2answers
201 views

Using Add from Server to upload by post ID

I am using Add From Server plugin http://wordpress.org/extend/plugins/add-from-server/ basically it imports/upload image from the server. Currently the plugin copies the images into month/year folder ...
2
votes
3answers
2k views

Using wp-uploads instead of wp-content/uploads

What is the difference between the wp-uploads directory and the wp-content/uploads directory? I am running Ubuntu Server 12.04 and recently installed WordPress using apt-get, but there have been a ...
1
vote
1answer
1k views

Post type specific upload folder in 3.5

In 3.4 I used the following function to change image upload folder by post type. Different upload directory based on post type in a theme Now it doesn't work anymore in 3.5. Do you have any idea how ...
0
votes
1answer
912 views

Upload an image at frontend > Create direction and/or rename filename possible?

I have a form for a non-profit-club, that publish posts + up to 20 images. The image-path will be writen in a custom-field. Images are uploaded. Ok, now i want to rename the pictures or (much better) ...
0
votes
1answer
43 views

Is it possible to set the upload location to a different server?

Our university has given our student society a 1GB portion of storage to be used for our website. We're low on their bandwidth priority however so it did not work speedily with Wordpress. I managed ...
1
vote
3answers
6k views

How to change the file upload directory on version 3.5?

The option to change the upload folder for images is gone on version 3.5, any way to make it visible again or a workaround ? From this core ticket: Changing the upload_path and upload_url_path ...
1
vote
1answer
601 views

Organizing uploaded media with wp_insert_post() and wp_handle_upload according to time parameter

I'm retroactively creating a post with wp_insert_post() and attaching a featuring image to it. I need the image to go into the folder that corresponds to the post's publishing date. I'm using time ...
4
votes
1answer
1k views

Different upload directory based on post type in a theme

I have a lot of uploaded image files and image sizes. So it would be better to organize media files into folders based on post type. I have just read this tutorial, but as I can see it works with ...
1
vote
1answer
808 views

WP doesn't remove uploads from folder when removed from “Media Library”?

I'm wondering why WordPress doesn't remove uploads from folder when removed from "Media Library"? I set limit to 5mb on WPMU but even if user removes everything from "Media Library" he can't upload ...
3
votes
1answer
1k views

Organize uploads by year, month and day

As of now my uploaded files are organized by year and month. But I would like to organize them by year, month and day. I mean like this 2012/10/30/image goes here PS: There is a plugin available to ...
0
votes
1answer
3k views

Multisite missing tmp folder error while uploading

I have a multisite setup on a server that requires me to upload to a stage server then send a "publishnow.txt" file over to send everything to the production server. This is a state agency hence the ...
4
votes
2answers
6k views

Wordpress Uploads Folder can't be Written to

This one has me stumped I'm sure it is something really small that I am overlooking but I think I've been looking at it too long to see what the problem is. Wordpress is telling me: "Upload ...
2
votes
1answer
74 views

Images in upload folder with hexadecimal names

I'm using Wordpress 3.4.1 with the Suffusion theme 4.3.0. I've noticed that there are a large number of images with hexadecimal names, like 54f96e1d5f478186f66bde9d6aeda625.jpeg. I'm wondering how ...
1
vote
2answers
42 views

Switched hosts to one with cPanel. To transfer my blog should I do the WP install or just be uploading my old WP directory & database?

I've never transferred a website before let alone a database. I believe I backed up the database to an .sql file and I haven't deactivated the old host yet in case I need to do it again. My main ...
0
votes
2answers
1k views

Moving existing media items to new upload path structure not updating full URL path

Have been developing a site and noticed that all of the media files were being saved in the default WP year/month/day rule in the wp-content/uploads directory. I decided to change this to assets and ...
0
votes
1answer
357 views

uploaded images not going to /uploads folder

having a huge problem with a site. i updated the theme to use post thumbnails (that's how old it is) and then when trying to upload an image to use as featured thumbnail: the images process/crunch ...
0
votes
1answer
187 views

Image not showing up in media loader success area - followup

This is part two to this question: Post Specific Uploader I am using an upload filter to put files in a location based on post_id. Now when the file uploads, the URL path in the meta is wrong and the ...
5
votes
1answer
3k views

Change upload directory for PDF files

I would like to change the upload directory for PDF files only, not for other files. For example, the PDF files would be uploaded to wp-content/uploads/pdf but other files would remain in ...
1
vote
1answer
1k views

why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?

I am using a new blog on WPMS (3.0.1, updating is not an option) to aggregate posts (and their featured image) from a few blogs on the same install, and I have to do it programmatically rather than ...
0
votes
1answer
2k views

Setting image upload absolute path?

In anticipation of a major upgrade, I moved the webroot from site_v1 to site_v2. The public url for the WP 3.3.1 install is still example.com/ (no change). I did a tar copy from the /site_v1 dir to ...
0
votes
1answer
2k views

Use wp_upload_dir() correctly

All, I'm using the Uploadify plugin to upload some images. I've included the uploadify folder in my themes folder. However, when I try and call uploadify.php I get the following error: Call to ...
1
vote
1answer
797 views

Changing upload dir in a plugin regardless of post type

I read this post and found it really interesting. I tried to modify it a little to make it work if you have a custom db table and not really a post type to rely on. So I tried to figure that out using ...
2
votes
1answer
1k views

Extending WP's upload/insert media functionality

I am writing my first plugin to upload PDF files to a user specified directory other than the media directory specified in the Media menu under settings. I need to extend the WP's native uploader so ...
9
votes
4answers
31k views

Can I upload media to a specific folder?

By default, media uploaded through the Wordpress dashboard goes into a folder determined by the current date. For example: /wp-content/uploads/2011/09/. Once the media is uploaded I'm not seeing any ...
5
votes
3answers
1k views

Media Upload Folder - how to manage

Situation : When uploading an image via the media uploader, WP automatically makes at least 3 additional sizes, that comes to 4 images including the original one. Most of the time, the images will be ...