This include all question concerning the process of uploading file, whether from the WP Admin Pages or from a front end editor.
0
votes
0answers
14 views
A link (not in the post) to download a specific PDF file
I want to add a button (or rather, a link formatted to look like a button) in the utilities area somewhere above the main navigation menu of a WordPress-based business site (that is, not in the body ...
2
votes
1answer
15 views
Wordpress Media Manager - limit to specific mime type
I am working on a CPT in which I need to add some meta fields with which user can attach media. There is a condition to attach any one mime-type attachment to single post.
I created a two meta ...
0
votes
1answer
15 views
Specified file failed upload test. Error When Uploading Image From Front-end
This is my code:
$file_return = wp_handle_upload($_FILES['my-photo'], array('test_form' => FALSE));
if(isset($file_return['error']) || isset($file_return['upload_error_handler'])) {
echo "And ...
0
votes
1answer
19 views
Upload files in wordpress
What is the best way to upload files in wordpress? How can I upload multiple files at a time like media uploads in wordpress?
0
votes
0answers
7 views
Images not loading
I am using wordpress on magento and i migrated the server. Now i have setup everything the blog url and site url is fine. When i upload images using media uploader the images being uploaded doesn't ...
0
votes
1answer
17 views
How to use getimagesize() of image upload?
I need to check the resolution of an image I want to upload via media box, and then upload it into a custom directory.
As a starting point I used part of the code from How Can I Organize the Uploads ...
0
votes
0answers
14 views
Bring up the media uploader on click
In my theme's options page. I want to have a textfield where a user can enter a http path to an image.
and
have a button beside it which brings up the media uploader (library) where a user can ...
0
votes
0answers
24 views
Is there a way to force Featured image to show as attachement?
When adding an image as a featured image to a post - if the image is an existing image in the Media Library, then the image is not added as a true attachment but as a thumbnail, shown like this in ...
0
votes
0answers
17 views
How do I add populate media files from my plugin
So I am creating a plugin that will be able to upload a special kind of video. I added a two new tab under Media Page called "Add New Custom Video", "Custom Video Library" - I was able to call the ...
0
votes
0answers
51 views
Change upload directory and url
I am developing a plugin and I changed the upload directory of the v.3.5 media uploader to this: \wp-content\plugins\deixto\cle.
I used the following function and filter:
function ...
0
votes
0answers
18 views
Change default upload location on mulitsite
Ive set up a wordpress multisite, but would like to change the default location it uploads media to a remote server, but keeping the same folder structure, as in each blog has a folder.
Is this ...
0
votes
0answers
13 views
Can You Tell Me How Did He Created This Upload Option? [closed]
look at this site
http://www.lolhappens.com/meme/?meme=College%20Freshman
[You Need To Login Using Facebook To View Full Page]
On Left Side It has Users Uploading Form Data.
Please Tell Me How Did ...
0
votes
1answer
22 views
Unable to Upload Images on Local Windows Install
I am having the Famous has failed to upload due to an error
Unable to create directory error that soo many people run into.
Any search on Google of StackExchange will result is the common, change ...
0
votes
1answer
32 views
Batch upload to create posts each with one image, headline, and body text
I've been handed 300 images, 300 headlines, and 300 paragraphs by a client. Is there a way for me to place all of this in a CSV file (or other format) and upload the whole shebang into a fresh ...
-4
votes
0answers
22 views
How Can I Create Upload Option On My Wordpress [closed]
Can You Please Tell Me how Can i Create Upload Option Which Make users To Upload Photos To My Wordpress...
Plz Look At This Sites [both sites Are Wordpress]
theamazingandroid.info/meme [Its My Demo ...
0
votes
1answer
48 views
wp_editor on front end media upload jquery live error
I have set up a front end editor for a project I am working on. The editor is inside a div with display set to none. The user will click a button to get the editor div to show up.
The issue I am ...
0
votes
0answers
32 views
Resize and crop image during upload
How to add more function to resize and crop image during upload?
I want to creat a avatar upload form on author profile.
And size of avatar: 150x150
If file size have width > height => resize by ...
-6
votes
0answers
40 views
How do I add features to the Meme Plugin? [closed]
I have installed the Meme Plugin on my WordPress web site.
At the end of the meme creation process there is a Create & Share option allowing users to share access to their Facebook accounts.
How ...
-2
votes
0answers
10 views
Select Files Default Location [closed]
Is it possible to have the 'Open' dialog (when selecting files to import to the media library) point to a default location on my pc?
-1
votes
0answers
10 views
Upload Images from front-end and that image will be used as local avatar in wordpress,suggest any plugin [closed]
How to upload image from front-end,
the uploaded image used as avatar,
suggest any plugin,plz
0
votes
0answers
23 views
How to upload images using <form> as a post thumbnail?
In my custom image upload form, codes are (generally):
if(isset ($_POST['submit'])=='Submit')
{
$product_image_1=$_POST['product_image_1'];
$product_image_2=$_POST['product_image_2'];
$newPost = ...
0
votes
0answers
12 views
How to remove details wordpress uploader
I modify wordpress uploader and when user select image in directory already then image insert in to post automatic This implement Can be done or not?
otherwise if can't do i want to delete details ...
0
votes
1answer
78 views
Upload image to wordpress
I'm a beginner writing website and use WordPress and I'm writing plugin that involves profile page (not avatar because this field that I implemented, user can upload image, anything, i.e. Picture of ...
1
vote
1answer
107 views
Use Media upload in custom widget on wordpress 3.5
I'm creating a small widget for wordpress 3.5 that allows you to upload images.
The widget is loaded correctly by wordpress. When I add the widget to a sidebar upload button does not work. If I ...
0
votes
2answers
142 views
How to upload image with simple form?
I writing plugin in my profile page and i want to create upload via 'Browse' button and 'Dir' field that will upload and return image url.And i don't want to use media-upload.
I used to read Set ...
1
vote
0answers
19 views
Multi Upload In Theme Options
I need to use the WordPress media upload on a theme options page. It needs to be able to have multiple fields on one page. I have seen a few things on the site using search but nothing recent and ...
0
votes
1answer
35 views
How to add filetype to meta value when using wp_upload_bits?
I've set up a custom post type and would like to have the ability to attach files to those posts. I've got the CPT and metabox set up, and the upload function as well.
When I display the CPT on the ...
0
votes
0answers
17 views
how to automatically cleanup failed Wordpress uploads in /tmp?
How do we automatically cleanup failed Wordpress uploads that are in /tmp ?
Say delete everything that is 3+ days old.
0
votes
0answers
24 views
Allow 200 MB uploads
Is it "safe" to alter the php.ini file for the sole purpose of allowing content editors to upload files with a size of 200 MB? I know this would affect all other sites on the same server.
-5
votes
0answers
21 views
image uploader malfunctions (admin/medialibrary-uploader.php ) [closed]
admin/medialibrary-uploader.php
-> This file malfunctions. What can I do to be able to upload again?
0
votes
0answers
19 views
custom upload directory only for plugin uploads
i'm trying to add an upload_dir filter only for plugin-uploads. does anybody know why the code below doesn't work, and what could work instead? thanks in advance!
$upload_dir = 'publications';
...
1
vote
1answer
38 views
Restrict authors to seeing ONLY their media files
I'd like to restrict authors ability to see files uploaded by other users because this causes no end of trouble, since they can change captions etc.
I tried this code from here How to hide media ...
0
votes
2answers
43 views
http upload error as a subscribed user
Im getting an http error when uploading a featured image as a Subscriber. If I upgrade the user to editor or admin all works well. My server is Ubuntu 12.10, NGINX, WP 3.5.1
I have checked php.ini ...
0
votes
0answers
15 views
Change upload URL, but only upload
Love using Cloudflare, but one of the limitations is that they restrict upload file sizes to 100MB and I need to have users be able to upload larger files. The workaround I've been using is to change ...
0
votes
0answers
38 views
Hide Media Library tab from Media Uploader Popup
I am calling the media uploader with the following JS..
jQuery(document).ready(function($){
var custom_uploader;
$('#upload_image_button').click(function(e) {
e.preventDefault();
//If ...
1
vote
0answers
50 views
Changing image URLs in media library
On a default wordpress install, the media library is located at:
/wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server.
This filter
...
0
votes
0answers
50 views
Press this! not working
I am trying to debug a Press this function on a site {Adult Contents}
This issue is, images on the page does not add up and does not show...
javascript code for press this button is
javascript:var ...
1
vote
1answer
31 views
Is there any good way to use SVN for uploads directory?
We just got our servers set up with SVN which works great. Wordpress upgrades and plugin installations are managed manually, which all goes through SVN as well, but I can't work out a good way to ...
6
votes
1answer
132 views
Listing of all uploaded files in network sites
Can I list all files uploaded by users in Network sites? In Multisite each user can manage their files with their own blog but the Super admin can't monitor all the uploaded files...how can i do that? ...
6
votes
1answer
93 views
How to make “Upload files”selected by default in Insert Media?
I am frustrated having to click on the "Upload Files" constantly instead of the first choice being Upload Files in posts editor....How can i make “Upload files” selected by default instead of "Media ...
0
votes
0answers
39 views
Automatically Add Caption in image
I want to automatically add caption for each picture appears in the name of the image or the alternative text
example Caption add automatic
0
votes
0answers
67 views
Make Add media button accessible to all in front end
I am trying to add an interface in which any user(including non logged in) can create a post from the front-end. I am able to bring the default wordpress editor to front-end using the wp_editor ...
0
votes
0answers
18 views
Edit Media: Apply changes to specific size only
In the Edit Media (edit image specifically) box, you can crop, flip, rotate, among other things. On the right sidebar, there is an option to
Apply changes to:
All images sizes
Thumbnail
All ...
0
votes
1answer
52 views
Control resizing of uploaded images
I am looking for the regular images that get uploaded from the media uploader. I want to put in an image resize script instead of using WordPress to manage the images. The main reason being is that I ...
0
votes
0answers
31 views
Custom post types images go to a specific folder, not the montly one
I have a website which allows "mini sites", meaning custom post types.
We noticed that the images that are published along the mini-sites reviews go automatically to the same month, while regular ...
3
votes
1answer
123 views
Set custom upload path for custom post type only?
I have a custom post type of 'clients' and would like all images/files uploaded through the admin for these posts to go to a specific directory on my server, but everything else to stay as normal. Is ...
2
votes
1answer
65 views
Extend 3.5 media uploader plugin to change button name
I have followed a tutorial on how to upload images using Wordpress' 3.5 media uploader. All is well. I would just like to change the text of the actual upload button "Insert Into Post" to something ...
1
vote
3answers
105 views
Wordpress 3.5 Media Uploader - Only allow 1 upload and certain file types
I am trying to include the new WP Media Uploader in a Custom Meta Box.
I found this tutorial:
http://codestag.com/how-to-use-wordpress-3-5-media-uploader-in-theme-options/
However i am looking for ...
0
votes
0answers
76 views
Http error when upload some images
I'm using Wordpress 3.5.1 on Debian Wheezy with PHP 5.4.4.
I have increased memory in php.ini to 512M.
It is a new Wordpress with no plugins.
When i try to upload images, some images won't upload :
...
-1
votes
0answers
30 views
How to get an attachment filename
Hey in the code below I have "echo apply_filters('the_title', $attachment->ID);" instead of showing the name of the attachment I want it to show the name of the file (e.g. document-1.doc)
Is this ...


