Tagged Questions

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)

0
votes
0answers
6 views

WordPress Media manager select file button, how to prevent hiding?

In a customized mediamanager (base versione 3.5) I would like to keep displayed the "select file" button even when some files are already uploaded in the album. Is there a simple solution?
0
votes
2answers
17 views

How to fix the orientation of images when uploading via the WordPress Media Uploader?

I've been using the Image Rotation Repair plugin to fix the orientation of images when uploading using the Media Uploader (some images taken on my camera phone are not rotated on upload, resulting in ...
-4
votes
0answers
16 views

Suggest me Wordpress plugin or mixtures of few plugin with workflow to handle this (detail in description) [on hold]

wordpress plugin that can register users and only register users have access to the front end page where he have a option for input the post title post description post image and a choose file option ...
0
votes
1answer
19 views

HTTP Error when trying to upload image

I'm getting an HTTP error when trying to upload an image. The image is 6MB, yet I was able to upload a 10MB image just previously. I set the following, but they did not help: ...
0
votes
0answers
12 views

WordPress Custom File upload meta box saving 0 bytes as File size

I am trying to save custom images with the custom post type , so i added a custom meta box for file upload . it seems it is working fine but when i upload any file it save the file size is 0 Bytes . I ...
0
votes
2answers
25 views

Error when upload images larger than 1024px

I'm stuck on a problem with uploading files. When I try to upload an image with 1024px or more, WordPress displays an error: Error sending. Try later. After reloading the media page, the thumb of ...
2
votes
0answers
39 views

Wordpress Media mime type filter problem 4.0

I have added new mime types with the 'post_mime_types' filter eg. PDF, doc, mp3 etc... Filtering by custom mime type on the upload.php page in media grid view works as expected but in list view it ...
0
votes
0answers
11 views

Display all 'uploaded to' images for a page/post in 'edit' admin area

I'm using the Frontend Uploader plugin in order to allow people to allow images to posts. This allows images to be 'attached' to posts. I can display a gallery of all attached images on the frontend ...
0
votes
0answers
13 views

Thumbnails produce unwanted gray pixels on white background

Is there a workaround for producing QUALITY "Featured Image" thumbnails of different sizes? WordPress produces compressed thumbnails that contain grey pixels where it should be a completely white ...
0
votes
2answers
48 views

How to download files to Wordpress?

How can I download file to wordpress? I mean, we have a link of a file for example http://example.com/myVideo.mp4 which is a large file. So I'm not able to download it to my computer, then ...
1
vote
1answer
27 views

Customizer: Unique identifier that distinguishes which image upload control is uploading an image

In the Theme Customizer, I've got a custom add_action('wp_handle_upload', 'upscale_responsive_bg_imgs') which upscales responsive background images when uploaded from the theme customizer. It's ...
0
votes
0answers
14 views

Serving images from a subdomain: image upload not working and no error given

I have a two stage Capistrano setup using Wp-Stacks. I would like to have a common image upload directory for them, since the image dir is 2GB, don't want to duplicate that. I'm trying to serve ...
0
votes
0answers
17 views

Files larger than 500 kilobytes are not allowed

This is a very strange problem as illustrated on the picture
0
votes
0answers
45 views

Used Duplicator to transfer a site. Now my media uploads aren't working

I deleted an image from the Media tab and when I tried to upload another, I started getting this error: The uploaded file could not be moved to wp-content/uploads/2014/10 I tried CHMODing the ...
0
votes
1answer
26 views

Where does wordpress store the FTP credentials?

When wordpress asks for FTP information to upgrade, you type it in and then it seems to store it for future use (for future upgrades, and maybe also for media uploads?) Where does it store these ...
0
votes
0answers
14 views

The most of the images don’t appear, although URLs are correct

I don't understand. The most images on my website Eslovaquia.sk don't appear despite the fact that all are in a valid folder. E.g. logo. There is broken-image-icon instead the logo in the header. ...
0
votes
0answers
47 views

Wordpress Media Upload Plugin 3.5 JS PHP

I have a small issue creating a small plugin. I am trying to achieve a gallery meta box using Media Upload 3.5. At this point I am able to upload images, but when trying to update the image. I wont ...
0
votes
1answer
17 views

Run filter if only it was run from specific admin page ( 'upload_dir' changed )

The situation is following: In WordPress, there is a plugin page created with optionality to upload media files. The code added to this plugin, that changes the upload directory by adding of filter ...
0
votes
0answers
10 views

Problem uploading file with wp_handle_upload

I use the wp_handle_upload function in my plugin to upload a file to the uploads directory. The plugin works fine on my local development site, but when I use the same plugin in my online website I ...
0
votes
0answers
10 views

Thickbox / image upload empty on library

Uploading images on WordPress using metaboxes is always a pain. Plugins desactivated, I have an empty media library using an upload button in a metabox. The count is good though. Scripts are ...
2
votes
0answers
67 views

Saving data-URI to media library

I have a TinyMCE plugin that generates PNG images using HTMLCanvasElement.toDataURL() (MDN). Currently, I'm just displaying them on the backend by putting the data-URI in an image tag, but I'd really ...
0
votes
1answer
25 views

How to upload unknown file type?

I've already read about mime types in wordress and how to add them, but I can't find any documentation about the correct type of files. For e.g. after a lot of research I find out that the epub ...
1
vote
0answers
33 views

How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite

I have a question that I thought the below thread would provide the answer to, but things in WP have changed so it doesn't quite do it, although it helped my understanding of things. How to protect ...
0
votes
3answers
51 views

Missing a temporary folder despite settings in wp-config.php

When trying to upload media to my Wordpress 4.0 running on a shared Apache 2.2.14, PHP 5.3.2 host, I get the error message "Missing a temporary folder". I have no influence over the php.ini which is ...
0
votes
0answers
10 views

Adding photoship mime type in plugin

I read over other posts about adding mime types, but I am still unsuccessful. Here is the code in my plugin: add_filter('upload_mimes', 'custom_upload_mimes'); function custom_upload_mimes ( ...
0
votes
0answers
9 views

Preventing a user from inserting a gallery using the Media Uploader, causes errors

As the title suggests I am trying to prevent a user from inserting galleries. This can be achieved with: function remove_media_library_tab($tabs) { if(!current_user_can( 'administrator' )){ ...
3
votes
1answer
131 views

Create image formats with different qualities when uploading

I'm trying to come up with a solution where the generated image formats cover both responsive and high-resolution aspects when uploading a new item in the WP admin. I've put together a set of formats ...
0
votes
1answer
22 views

Allowing images only when uploading files

I want to allow users to upload .jpg .png and .gif files only. I've tried hooking to the wp_handle_upload_prefilter filter like this: function custom_upload_filter( $file ) { $mimes = array( ...
0
votes
1answer
27 views

Wordpress File URL Path Incorrect

I have images uploaded to a Wordpress site and they can be accessed by the following URL: http:/eatdrink.ca/content/uploads/2014/09/FoodWebSummer-main-420x194.jpg but Wordpress is giving the ...
1
vote
1answer
31 views

Is it safe to allow non-admin users access to media uploader

Hi fellow Wordpress users :) I wanted to ask is it safe to allow non-admin users access to WordPress media uploader. Can they inject a virus while uploading media? How is WP system fighting against ...
0
votes
0answers
12 views

Copy image url to my own field in media upload

i have add new field in media upload for slider plugin. what i don't get it how to copy the image url to my own field. look at the screenshot:
0
votes
2answers
62 views

Theme stops media uploader from working

I took over a website from a previous developer that built most of the site. Because the theme was a custom one, he chose to do it using Toolbox. The site has been standing for just over a year, and ...
0
votes
4answers
75 views

How can I reduce file upload size?

Current file upload size limit is 128MB. I want to reduce this to 1MB. I do not have access to php.ini file. I do have access to .htaccess and I could use this solution. But why isn't there a method ...
0
votes
1answer
42 views

How to send email in wordpress with more than one attachments

In my plugin, there is a contact us form through which users can upload multiple files and it will be uploaded into wp-contents/uploads/2014/10 folder. Uploading is working, but now I need to send ...
0
votes
0answers
12 views

Multisite Uploads

I have a wordpress multisite installation for multilingual press. Right now everything works fine, but I have a problem with the uploads. I have some custom fields (acf) for picture uploads, ...
0
votes
0answers
19 views

Custom wordpress media upload tab with the attachment browser

I've managed to add a new tab to the "Add Media" window with the help of this answer. Now I'm trying to add a custom gallery type in this tab. I'm trying to add the default attachment browser in this ...
0
votes
1answer
40 views

How to change the value “uploaded to” in the media library (Wordpress 4.0)

When I open my media library and go to the detailed view i get the list of the pictures contaning this row: Is there a way/plugin to change the "uploaded to" setting for one spesific picture? (My ...
0
votes
1answer
74 views

Image upload error?

I have searched everywhere for an solution and even though I have found others with similar issues it seems they are not the same. I have a fresh WordPress install and have it setup for multisite. ...
0
votes
0answers
17 views

wp.media frame refresh

I have a custom frame for selecting media files inside my plugin. Whenever I upload a new file from within the frame, the files in the default media manager get refreshed, but in my custom media frame ...
0
votes
1answer
34 views

Remove Media File Items From Server That Do Not Exist in Media Library

Pretty much as the title suggests I have items on my server (images mostly) that do not feature anywhere in the media library. What is the best way to delete these? Is there a plugin or would I need ...
0
votes
1answer
27 views

How to set uploaded image as featured image wordpress

How do I set an uploaded image from form to be the featured image of the post. Here are the basics of my code: User fills form and uploads image. Submitted form data appears as a custom post type. ...
0
votes
0answers
21 views

Cannot upload with 777 via plupload on Ubuntu 14

I'm using plupload in a HM plugin to let the users upload there logo. I just noticed that it only works on windows local server and in production mod. But on my test servers (2 servers both with ...
0
votes
1answer
62 views

XML-RPC: How to add media caption to uploaded image?

I need to migrate non-WP data from an SQL database to posts in WP, and thought that using XML-RPC in a closed environment before deploying was a smart solution. This is my first WP project, so I'm ...
0
votes
0answers
32 views

Is there any way to Integrate WordPress with Imgur for Image Hosting

I wanted to use Imgur for hosting all my WordPress website images. Till now I know how to integrate Imgur with a simple form using an upload script. The process is well explained at Subin's Now what I ...
0
votes
0answers
18 views

Insert into post or

I am about to delve into wp media upload/edit code, I want to add another option where you can insert into post I want to add a use as title graphic option. Hoping someone may have braced this before ...
0
votes
1answer
13 views

controlling whether upload is attached to post or not

I'm using the new (3.5+) media upload API to open a media modal dialog from a post meta box, and select a file from the media library (as per ...
0
votes
2answers
44 views

Can't upload media, permissions are correct

I did a manual backup and re-install of a WP site, and it worked fine. Then my client updated some plugins, regretted it and asked me to restore the site to its previous state. I used the same backup ...
0
votes
1answer
34 views

Use WP_Filesystem to list files in directory

Is there a way to list files in a directory using WP_filesystem instead of something like: function listFolderFiles($dir){ $ffs = scandir($dir); echo '<ol>'; foreach($ffs as $ff){ ...
0
votes
0answers
43 views

Cannot add custom image uploader for custome post type in custom wordpress theme

I am trying to set image uploader for a custom post type on a Theme I am developing. The aim is to get it to insert the image URL into the textbox of id "meta-image" but instead it inserts the image ...
0
votes
1answer
24 views

Upload image from a URL and assign it as a Featured Image to a Custom Post Type?

I am 90% done building a plugin that uses the Amazon.com API. What I have built is a Books Custom Post Type. My Books CPT has Custom Taxonomies for Book Category, Book Tags, Book Author, and Book ...