Settings in ‘Media > Settings’ is ignored when inserting images
When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I’ve placed in Settings/Media.
When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I’ve placed in Settings/Media.
How can I change the Maximum upload file size? I would like to be able to upload 10Mb at a time.
I’m using WordPress 3.4.2 for a private blog, i.e. one on which only I can post. Now, WordPress prevents me from uploading certain file types (like C# source files). As far as I understand it, there’s a white-list that defines what can be uploaded.
I’m looking to make the “Alternative Text” field required in the Media Library, just like the “Title” field above it.
As the recent changes in WordPress 3.5 removed the “full URL path to files” option from media library I am wondering how to set this option to a custom path now?
I use the media uploader in a own meta-box for a custom post type called “premium”.
The Thickbox opens after a click of the button in the meta-box and files can be uploaded.
I’ve spent a lot of time reading the other threads on this question, but I just cannot get my code to function properly.
I have a wordpress multisite, where I would like all the images uploaded through the main site (mysite.com) to be accessible to sub1.mysite.com and sub2.mysite.com. All the images should be in one folder without subdirectory (e.g: wp-content/uploads/image.jpg).
I tried the bellow function, but my images for subdomains are uploaded to wp-content/uploads/sites/#blog_id/
For users with the Contributor user role, I want to restrict the total amount of images that they are allowed to upload. I found this code posted on an answer here: