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
1answer
16 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
13 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
7 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
30 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
1answer
15 views

upload images on front end not successfully [on hold]

I just want to implements uploading images on front end, but there some tricks that i did not understand. what I want to accomplish is that upload a image and add it to a post with the title ...
0
votes
0answers
7 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
15 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
0answers
7 views

Gravity Forms File Upload Case Sensitive Error [on hold]

My clients use a form to submit images to me using a Gravity Form with multiple file upload field. With the last 2 revisions (1.8.14 & 1.8.15), they have reported errors with the upload failing. ...
0
votes
0answers
18 views

Save image url in custom field wp user frontend [on hold]

i have problem to save image url from the frontend. I use wp user frontend to save the image. The plugin save the image uploaded in custom field as attachment ID not url. I need the url saved in ...
0
votes
1answer
11 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
1answer
20 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 ...
-1
votes
0answers
14 views

Media uploads not correctly shown [closed]

I recently moved my website from a subdomain to the domain after development - then I got this problem: When I upload new images in the media uploader, they are not being correctly showed. Do ...
0
votes
1answer
16 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){ ...
-2
votes
0answers
18 views

Upload Excel to Wordpress Custom Post [closed]

Have a "unique" scenario to try and solve. We have a client roster that is typically sent to the dev team as an excel sheet with the appropriate information (client name, client website, category, ...
0
votes
0answers
8 views

media_sideload_image returning File is empty

I've tried everything I could find on the internet, but my media_sideload_image is still only giving the error File is empty. Please upload something more substantial. This error could also be caused ...
0
votes
0answers
15 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
0answers
14 views

Missing WP Media Settings Fields

I have a WordPress-based website, that is causing a number of problems when I try to upload any media. Media Library: After viewing my 'Media Settings', I've noticed that I am missing the default ...
0
votes
1answer
18 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 ...
0
votes
1answer
20 views

How to Make Thumbnail of Post Stay Animated

When I upload my post with an animated .gif, the thumbnail generates into a new image and doesn't stay animated. It will stay animated inside the post which is great. It seems to resize the .gif image ...
0
votes
1answer
26 views

wordpress media library shows empty images

I have copied the my old site files and moving those into new site. i have changed the url in db, and uploaded the files in new server. everything works fine except the media show black images .can ...
0
votes
1answer
37 views

adding image to post thumbnail from another server

i have a image gallery site, each post in site have thumbnail and image in post, now i want get file server for uploaded image. how can i add thumb image from another server? or how can i change the ...
0
votes
0answers
18 views

How can I set up WordPress/PHP to upload images as myself?

I just noticed that my VPS has been uploading images as www-data for the past 6 months, ever since I moved my WordPress install over to my new system. I've been told time and time again that my ...
0
votes
1answer
18 views

How do I enable the customize theme page to accept svg's?

I'm currently working on a theme that enables the user to upload a logo via the customize theme page. I want the user to be able to upload an SVG as a logo. Wordpress does not allow SVG's to be ...
0
votes
2answers
70 views

Unable to create directory

i have been noticing of late, after i upload my sites to a different server, i seem to have some sort of upload problem once i have copied and moved site using ftp to a new host i then can not ...
1
vote
0answers
33 views

How do I get around “Sorry, this file type is not permitted for security reasons”?

I was wondering how I could allow .tiff files to be uploaded in my wordpress site. I get the message "Sorry this file type is not permitted for security reasons". This question has been asked in ...
0
votes
2answers
22 views

Allow only attachment uploaded to current post

The "Add Media" button allows any media to be added to current editor. I need the "Uploaded to this page" from the dropdown menu to be the only option available. Some time ago I found a solution ...
2
votes
0answers
62 views

Change default uploads file using wp Skeleton

I am using Wordpress Skeleton (https://github.com/markjaquith/WordPress-Skeleton) which pulls the themes etc out of the wp directory. I am trying to set it up so uploads have a custom url (eg: ...
0
votes
0answers
14 views

Media Upload to Subdomain does not upload correctly

I am setting up Media Upload to subdomain, but the actual image will not upload correctly. Wordpress-site: /home/site/www (http://sitename.com) Media-site: /home/fxsite/www/ /http://fx.sitename.com) ...
0
votes
1answer
29 views

Make custom thumbnail size image in media_sideload_image function

I am using customize media_sideload_image just as provided in this post by @G.M. Now I want to create different sizes of images other than which WP default uses. Please provide suggestion
-1
votes
0answers
16 views

Faster better ways of adding/updating images in Wordpress?

I've used/developed Wordpress for 7 years and one of the worst aspects of it is uploading images. It is a HUGE pain the ass. You have to go to the page, upload it through the dialog, then place it, ...
0
votes
0answers
19 views

how to dynamically access file upload fileds

in my custom plugin i wrote a php file for displaying a table in front end. and the datas used to display in that are taken from db and i added a input file upload field also but the file uploading is ...
1
vote
1answer
30 views

Edit Image/Image Details - Replace button missing

I have a strange problem. I am dynamically populating content into Wordpress' tinyMCE editor. Part of this content is a placeholder image, that the user can then replace. The issue is when I click the ...
0
votes
1answer
22 views

Uploaded files have permission 000

two days ago i updated wp to the newest version and this problem occurs since then. when i upload files to the media library, their file permissions are set to 000. means no rights. the files are ...
0
votes
0answers
24 views

Wordpress Media URLs?

I just launched a Wordpress site after having done all of the standard procedures: moved the uploads folder, uploaded the database, and did a search and replace on all of the urls in the database. ...
0
votes
2answers
43 views

View content from uploaded file in editor

I have a custom metabox that let's the user upload .csv files while creating a page. The content of the .csv is shown on the created page at the "front-end". I would like to show the content on the ...
1
vote
1answer
17 views

Display users uploaded files as posts

So I have implemented the functionality where anyone can upload certain types of files with a title and description. I am having trouble with the idea displaying them as posts or list in the a certain ...
1
vote
1answer
19 views

Choosing images size when uploading

Is there a way to choose which image size I want to resize to when uploading? I need one image type to be for a featured image (resizing would be for thumbnail size and 900x350) and the other type ...
0
votes
0answers
13 views

How would I put the multi image upload plugin only on one particular page or template

The 'page' part sets the image upload to show on all pages. I want it to only show on one specific page or selected template. public function __construct() { $this->post_types = ...
0
votes
0answers
24 views

Assign uploaded file to user

I'm developing a project in which I need to give the logged in user (editors) the option to "give" that uploaded file (media) to a specific user. In other words, i want to add an additional field in ...
0
votes
1answer
45 views

Custom Link In Wordpress Media “Attachment Details” Upload Screen

When you click "Add Media" and from there select an image from that media library screen on the right you get a breakdown (the attachment details) related to that particular image. Right below the ...
0
votes
0answers
36 views

wp.media upload PDF Thumbnails

I am using PDF Thumbnails to create jpgs from uploaded pdf. The newly created jpg is not showing in the media library until the media manager is closed and reopened. How can I get the new jpg to show ...
0
votes
1answer
46 views

Custom Meta Boxes and Fields for WordPress: Change directory upload based on user-edit page

I have already published this on StackOverflow, but I realised it would be better to post it here instead. I am using the CMB script (Custom Meta Boxes and Fields for WordPress) for uploading files ...
0
votes
0answers
22 views

Upload media to WordPress through a web service

I would like to create a plugin through which I could expose a web-service for the media in WordPress. This service would allow external applications to upload and delete medias. Of course, the user ...
1
vote
0answers
22 views

Wordpress post feature image not uploading

Wordpress admin side post page feature image not uploading. Getting error like below An error occurred in the upload. Please try again later. Please give me answer.
0
votes
0answers
15 views

Generate images according to proportion of original image

I'm looking into if it's possible to generate images with different sizes depending on the proportions of the original image. For example. If the uploaded image has a proportion 4:3 it should ...
0
votes
0answers
14 views

Image path in posts (/uploads/yyyy/mm) does not match actual file location

I just moved to a new server and upgraded WordPress as well. Somewhere in the process my image paths in old posts got mismatched to the actual file location. All the old images are now broken. As an ...
11
votes
1answer
162 views

Reject upload of wrong-sized images using the Media Uploader

I'm working on a super-strict setting for adding images to Custom Fields in the Post Edit screen. My optimal scenario would be to add a a Custom Error message when the user tries to upload an image of ...
1
vote
0answers
40 views

Blank upload.php page

I am wanting to optimize the images that I have previously installed on my Wordpress site. I haven't uploaded any images for a while but now when I try to access the Media Library (Media > Library) ...
0
votes
0answers
20 views

Native WordPress Media Uploader on WordPress Frontend

I am using a custom template on my site to enable frontend posting. I wanted to add an option to upload media(such as pictures) on this form exactly the way native WordPress backend has. In short I ...
0
votes
0answers
38 views

Wordpress plugin admin page breaking

I am developing one file uploading plugin for my wordpress site to upload posts along with taxonomy and post meta data. Functionality wise it is working fine but when file uploading is finishing ...