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
2answers
39 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
20 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
18 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 ...
1
vote
0answers
33 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
12 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
20 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
13 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
12 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
17 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
13 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
23 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
0answers
23 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
15 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
18 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
11 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
19 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
33 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
28 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
43 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
19 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 ...
0
votes
0answers
11 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
9 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
11 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 ...
10
votes
1answer
151 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
31 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
16 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
34 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 ...
0
votes
1answer
38 views

Show media url immediately after upload in media uploader

do anyone know a plugin OR override to show the image url immediately after upload - in the media uploader (so not via post/ page-upload) ? Now it's like -> upload -> edit -> right side is the url I ...
0
votes
0answers
21 views

wp_generate_attachment_metadata(), display image content after post, why?

I succeed to upload and attach an image for an article created in frontend in wordpress, otherwise when I used the wp_generate_attachment_metadata() after the generation I have something like that : ...
0
votes
0answers
12 views

When editing images, apply changes to specific image size

The image editor only has these options: Apply changes to: All image sizes Thumbnail All sizes except thumbnail I have a custom image size that that I'd like to only apply the changes to. Is ...
0
votes
0answers
26 views

Media is not getting uploaded on specific site using wordpress xml-rpc

I am using WordPress XML-RPC to create post from one WordPress site to another WordPress site. Following is my code, my code is using these two functions. function ...
0
votes
1answer
42 views

Upload folder is not writable, even when permissions are correct

I recent migrated my site from Godaddy to Webfaction. On migration, I get this error: Upload folder is not writable. Export and file upload features will not be functional. Naturally, I check ...
0
votes
0answers
18 views

Is it possible to add a custom tab to the Featured Image Modal and if so how?

I tried using the media_upload_tabs filter but that didn't work. This question looks very similar to this Adding A Custom Tab To The Insert Media / Add Featured Image Modal but there that wasn't ...
0
votes
0answers
19 views

Extract a .zip by uploading using file in wordpress

I am uploading a ZIP folder that is saving as zip, but I want to save it by extracting it. Where can I edit the file for it?
0
votes
1answer
41 views

How to split my uploaded media into directories?

I am reading the documentation of WordPress Media Library and it seems to me that it doesn't allow me to split my uploaded media into directories. Is it true? Why this choice? How can I implement ...
0
votes
0answers
17 views

Redirect all multisite uploads to single folder

I have a network of multisite blogs which much operate separately for reporting and small functional reasons, but which share a lot of the same data and imagery. I am looking for a way to redirect ...
1
vote
2answers
43 views

Hide images from anonymous user?

I'd like to set my WordPress (self-hosted) site up so that you can only view images if you're logged in. I want it to be impossible to view the images without being authorized as a user of the site. ...
0
votes
0answers
33 views

How To Force User to Enter Post Title First When Adding New Post

This is my first ever question here and In a wordpress newbie so please bear with me. Using a plugin, I set a custom upload directory, to save the uploaded media (post images and featured image) in ...
0
votes
0answers
96 views

Custom Meta Boxes repeatable field show on single.php

I have some code that adds a Metabox, with repeatable fields to the edit screen of the WordPress backend. It looks like this: The code, I have in the functions.php, looks like this: function ...
0
votes
0answers
29 views

Force image rename based on post title for the following script

I am looking to have this upload rename image titles to match the post title. So instead of 0182012018228_sometitle.jpg it would be like daves-and-busters.jpg and the next file call ...
0
votes
0answers
17 views

Download Manager in a Multisite setup

I'm currently running a Wordpress Multisite (Network) and need a solution for a download manager. The specific requirement is that there should only be one file repository/db table that is used by all ...
0
votes
0answers
26 views

How to add a profile pic and biographical info at registration page?

I am running a multi-author blog which is also open to new authors registrations. How is it possible that new authors are forced to include the following information to the registration page ...
0
votes
1answer
48 views

add_image_size() and uploading the exact size leaves 1x1 image in uploads

I've added an image size of 370x150 which works, but if I upload an image to those exact dimensions get_post_thumbnail() no longer works as expected. If I look into my uploads folder I'll have a ...
0
votes
1answer
32 views

Categories in media library

I want to add a rather big sound collection to the media library. The problem is that i can't add category to the bunch of files while uploading them... I even can't add it to one uploading file.... ...
0
votes
0answers
100 views

Pull latest Youtube Video from json url and make new post

I am trying to automatically "add-new" Wordpress post when a Youtube User uploads a new video. Using wp_insert_post(); I can echo what I need to, but how do I write a function that determines: "If ...
0
votes
0answers
10 views

Backbone is breaking the media uploader

Greets, when using backbone in a plugin of mine the media uploader on the post edit page stops working properly. The uplaod button doesn't work anymore and the drag and drop functionality doesnt ...
0
votes
1answer
32 views

What does Wordpress media uploader do to image files on upload?

This question is specifically for images and what optimisation happens to these files when they are uploaded via Wordpress Media Library? Images .jpg .jpeg .png .gif And how is ...
1
vote
0answers
68 views

Add tinymce buttons to caption textarea in media uploader

I want to add some basic tinymce buttons ( Bold, italic, underline ) to caption textarea in media uploader in WordPress. (Shown in attached image) I dig a little bit into wordpress core in media.php ...
0
votes
0answers
14 views

How do I allow family commenters to upload photos?

I'm trying my first WP site - a family blog. I'm hosting it on GoDaddy with a few other websites I work on. Less than 20 people have access/permission to the family site. We're collecting old family ...
0
votes
1answer
15 views

Change path to child of page when uploading image via custom field

Is it possible to change the path of an image when it is uploaded via a custom field so that instead of appearing as www.mysite.com/wp-content/uploads/2014/05/file.pdf it will appear as ...