This include all question concerning the process of uploading file, whether from the WP Admin Pages or from a front end editor.

learn more… | top users | synonyms (4)

-1
votes
0answers
14 views

How set for each user owner images folder

I have 200 user in my site. and i need to hide all picture upload from user1 for all ether user when upload it from wp-admin-> media upload. And if user50 upload new picture. So he only see it in ...
2
votes
0answers
18 views

Add inline uploader to plugin option page

I would like to implement an inline file uploader to my plugin's option page as introduced in new media grid view of the WP media library: I imagine having this drag & drop uploader in the page ...
-2
votes
1answer
26 views

Best Photoshop-Wordpress workflow for editing images without re-upload

When I have images uploaded to Wordpress, there is no way for me to flexibly edit these images. For example, let's say I want to add a colored overlay over an image that has been uploaded to ...
0
votes
0answers
6 views

How to manage assets in gigantic multi-page website?

I need to manage assets in Wordpress dynamically. When I mean assets, I don't mean the media (videos, photos, sounds). In my website, I have custom posts that can get customized with icons, banners ...
0
votes
0answers
9 views

Add/change multipart_params parameter when uploading post image

I'm working on plugin that optionaly manipulates uploaded content (images). I managed to add some additional fields on "Insert media" popup under "Drop files anywhere to upload" text, but I need to ...
0
votes
1answer
25 views

Capitilize Alt/Title Tag in Image HTML, Reorder HTML Output

Someone kindly wrote the two pieces of code at the end of this post for me a few years ago. I'm currently trying to modify them but am not having much luck after an hour of Googling and breaking ...
0
votes
1answer
14 views

Customize WordPress Upload Directory

I'm trying upload certain files to the following custom director: /wp-content/uploads/audio/yyyy/mm However, the year and month directories are not being created properly. They are showing up like ...
0
votes
0answers
18 views

Media Library broken images

When I upload image to WP they randomly appear as broken links I can drop the files on the Media Library or Select the files and some files are always shown as broken. I can delete the files and ...
0
votes
3answers
28 views

Images give 404 after changing default domain

Never encountered this issue before. So I've just moved a site for a client to another server and for some reason all images give me a 404 when I change the default domain in the database (siteurl and ...
0
votes
1answer
21 views

Add Image Size for one Media Category Only

add_image_size is great, but if I want to create a swatch size for colors/patterns on my site, I don't need the swatch size for all of my other images. Is there any way to apply image size by media ...
0
votes
1answer
12 views

limit the access to uploaded files

I have some files that I want to be accessible only to registered users. So I have uploded them to a page set as private. Is this sufficient to prevent unregistered users to download them? I have made ...
0
votes
0answers
11 views

Extra profile fields issue on Chrome

I'm using a custom function to create extra fields on WordPress profile editor, such as birthday, custom messages, etc. Two of them are image fields, so the user can upload custom cover and avatar. ...
0
votes
0answers
8 views

Uploading thousands of images easily from an existing album/subalbum structure into same

Having looked and not finding an answer, I'm asking the wizards. I'm creating a WP site with approx 1500 posts about heritage sites, sites of which I have tens of thousands of photos. I manage the ...
0
votes
0answers
14 views

Force relative path in media library for LAN deployment

I have created a Xampp powered local wordpress install. This will be used at my work as a sort of "intranet" using LAN - I have no intentions of deploying it on a server, as it is not required by what ...
0
votes
0answers
11 views

Is it possible to use media_sideload_image to upload local files?

I want to add media_sideload_image to upload a file programmatically . I've got it working when the image URL is online (e.g. http://etc...) but not when it's a local file from my hardrive or network ...
0
votes
0answers
96 views

Reduce Mobile Image upload size (wordpress)

Just a quick question about mobile image upload size. I am using WP user frontend pro to upload images from both desktop and mobile. Using the mobile when the "image" button is tapped, an user can ...
0
votes
1answer
16 views

Figure inlined width trigger distorted layout

I recently changed my theme to completely new one (fresh), and all my post images suddenly started to break my layout. When I inspect code all images and loaded content that are wrapped in 'figure' ...
0
votes
0answers
29 views

Saving an upload media meta box field

I'm using the answer for this previous question (link below) to generate a custom meta box with media upload functionality: Properly add an upload media button in a meta box field I've managed to ...
0
votes
0answers
17 views

New tab on featured image modal

I need to add a new TOP tab on the media upload modal. I tried with the media_upload_tab hook but is not working because it simply add a new tab on the modal's sidebar that is showed only when you ...
1
vote
2answers
62 views

Maximum upload size changes in php.ini ignored - How to remove upload size limit?

I'm working on a multisite WP installation and I need to import content from other Wordpress sites (.wxr files). When I use the Import WordPress plugin I got the following: The maximum allowed ...
1
vote
0answers
20 views

How to switch to year/month directory structure format from a single folder

Currently we have close to 800,000 images in the Wordpress /uploads folder. It's a single folder and not structured on years and months. Our admin says that there might be an issue with backing up ...
0
votes
1answer
39 views

WPAlchemy MediaAccess inserting media link in WP Editor instead of custom field in metabox

I'm currently working with WPAlchemy class to create a metabox in a custom post type (Events from EventEspresso plugin more precisely). This metabox should be able to call the media uploader and ...
0
votes
0answers
29 views

How to configure WordPress to create thumbnails

I was having a problem on a 3.8.0 install where thumbnails were not being created by WordPress. I thought it was the install, so I installed 3.9.2, not upgrade, but completely different install. And ...
1
vote
1answer
9 views

post_id missing from the wp-admin file upload request

I'm trying to upload an attachment using the "Add Media" button placed right above the editor. The request goes to the wp-admin/async-upload.php file. I can put a var_dump($_REQUEST); call there. ...
0
votes
1answer
12 views

Open Media Uploader Link in single post or page

I want to open the media Upload Window like in a single post or page. It is important for me, to have that menu on top, which filters the media Library: This is my current code, which allows only ...
0
votes
0answers
107 views

HTTP error when uploading an image

I know there are already a few posts on this issue, but unfortunately none of those answers were helpful to me. Every time I upload an image, I get an HTTP Error - that's it. Nothing more, no ...
0
votes
0answers
24 views

Add Upload button in Tinymce Editor popup?

I am creating a tinymce popup where I need to have an option to upload file. I searched for a while but could not find any solution for this. Is there anyone who can help me to grab it ? Please ...
0
votes
0answers
45 views

Failed media upload: “The uploaded file was only partially uploaded.”

I am running Linux CentOS 5.8 and I have my web pages using WordPress 4.0. I am trying to uplad jpg photos to server via WordPress, but it randomly fails. I uploaded few photos, and then I get ...
0
votes
1answer
12 views

Wordpress Thumbnail compression depends on the server?

Different image weights were generated in different servers when Uploading images to Media. For instance, an original image of 2.1Mb uploaded to a server generated a 700Kb image, for the medium ...
1
vote
1answer
15 views

post_parent is 0 when uploading new files

I have a custom-type post I'm trying to attach some audio/wav files to using the wp-admin UI. When I upload the new files using the Add Media popup those get saved and embedded into the post just ...
0
votes
1answer
22 views

How to set custom upload directory per user after moving content directory

I set the content and the wordpress directory of wordpress like described in the codex: define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress'); define('WP_CONTENT_DIR', ...
0
votes
1answer
17 views

My deleted media exists jet

I've a problem with my wordpress theme. I deleted some media files (some img) and it's appearing in my Media section (in my wp-admin) without thumbnail, but it's like the file exist. I'm looking in ...
1
vote
0answers
35 views

Refreshing collections in the admin media manager

I know this question is very similar to this previously asked question; however, I was wondering if there was a more up-to-date/official way to refresh content programmatically in the WordPress admin ...
0
votes
0answers
7 views

Media upload privelages have been disabled for administrators - any ideas?

I have a nearly finished installation of Wordpress that was working fine. Then at some point the permissions for uploading images died for Administrator statuil. Details are: The issue: - I first ...
0
votes
1answer
20 views

How does wordpress name resized image copies?

I've noticed that usually, Wordpress will name a scaled image copy by appending the resolution, like this: image1-200x200.jpg Is this always the case? Are there any special circumstances where they ...
0
votes
0answers
10 views

Images showing up as broken

I'm running multisite on my WordPress and the main site is showing images fine, but the other 2 are showing as broken. My file permissions for upload is the standard 755 and have also tried 744 with ...
0
votes
1answer
20 views

Automatically Insert Into Post when uploading Media

When files are uploaded, I would like the, to automatically get inserted, bypassing the need to click on the "Insert into post" button I use WordPress Multisite 3.5 I tried the following, but it ...
0
votes
0answers
7 views

Using switch blog with media

i use switch blog with an ID ( from the site 1) on multisite ( all other site ID) but in the media URL i get the current site path instead of the switched blog ( site 1 ) switch_to_blog(1); here i ...
0
votes
1answer
13 views

Assigning image to Post-Type won't work anymore: exceeded time?

weird, but for some reason i get suddenly the following error in my Wordpress backend when assigning an image from the "media-gallery" to a post-type. Fatal error: Maximum execution time of 80 ...
0
votes
0answers
13 views

My images link are sometimes WRONG, why?

I'm having a strange issue at work with a wordpress I only partialy created. So my work needed a wordpress very very fast, directly online, even without any kind of article or page (yeah ... I know, ...
0
votes
0answers
20 views

Exclude some photos in media library

I was searching for filters to exclude some photos from media library. I have an array of image ID, and want them to exclude from media library any idea?
0
votes
0answers
11 views

get image original directory path when select from wp_media

When i select an image, lets say from drive D:/images/01.png from var custom_uploader = wp.media I need this path D:/images/01.png. when i select an image this functions trigger ...
0
votes
0answers
64 views

Can't generate thumbnail images

Having a very strange problem with this site I recently took over hosted on RackSpace. Seems whenever i upload a new image, it doesn't generate different sizes and I'm trying to get it where it will ...
0
votes
0answers
33 views

Force an image upload form field to display as checkboxes

I'm using a plugin called Media Library Categories which adds category taxonomy to media files, so I can give images a category denomination. It works and displays as checkboxes in the Edit Media ...
2
votes
1answer
42 views

Uploading images: 'ø' get replaced with 'ø'

So, I have 2 sites. One in production, and the another in development. They have the same content and uploads. In production, images with names containing æ, ø, or å gets the character replaced with ...
5
votes
1answer
176 views

Custom “Uploads” Dir: “Edit Image” in Media Library broken

Directory Structure I have customized my (local) install (dev box). The current directory structure is: ./root |- wp (WordPress Core root) \ |- wp-config.php |- wp-content (Content and ...
0
votes
1answer
34 views

Distinguish between 2 instances of admin-ajax.php

I've added an avatar image selector to my profile.php page. I'd like to be able to alter the query that loads the image library using pre_get_posts but I can't find any way to distinguish between ...
0
votes
0answers
22 views

add media to custom folder

Hopefully its a simple question for more experienced Wordpress programmers. I am using <?php media_sideload_image($file, $post_id, $desc); ?> However this function adds the media with a ...
0
votes
0answers
8 views

Security of using uploaded file across two admin submits

I'm writing a plugin that merges two files, based on user input about which file to draw each section from. This means that I have to get the user upload and display it before I can get the user input ...
0
votes
2answers
68 views

Upload Multiple Files With Multiple Fields And With media_handle_upload

I asked this question about few days ago and the answer solved my instantly problem but now when I tried to put many file fields in the form just the first field work because the solution of my ...