0
votes
0answers
25 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
0answers
46 views

Adding Attachment Display Settings in custom media frame

I made my own custom media frame : $('.add').bind('click', function(event) { event.preventDefault(); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ ...
0
votes
1answer
24 views

Detect plugin/theme installation (via upload)

I am currently trying to detect when an administrator uploads (and installs) a theme or plugin. The code I wrote is very fragile because it depends on the chance that the plugin/theme's name is the ...
0
votes
0answers
67 views

Frontend upload of multiple files

I hope this question is considered on topic since both the tag "plugins" and the meta blog-post "is-it-okay-to-ask-a-question-about-how-to-use-a-specific-plug-in-here" seem to disqualify it but anyway ...
0
votes
0answers
53 views

How to allow users to upload files to a subfolder of my plugin, or without running into permission issues?

My plugin has a form in admin dashboard, allowing users to upload files. Now, when I grab this file, via $_FILES, is there any way I can save it to: example.com/wp-content/plugins/myplugin/subfolder ...
1
vote
1answer
116 views

Media upload not working on theme option in WordPress 3.8.1

I have this jQuery code in my plugin to display a media box preferably to upload an image or to pick an image from the media gallery: (function($){ jQuery(document).ready(function() { ...
1
vote
1answer
98 views

Why does my functions.php cause white-screen and media-library issues?

Overview: I was authoring a child-theme, and realized that functions.php was causing problems with the media-library and caused a "white-screen" to appear after editing a post. I fixed the issue by ...
0
votes
0answers
100 views

upload multiple images in wordpress admin and create post

I have created a plugin with a new page in the admin area. Here I would like to create a function that images can be uploaded and for each image a post is created (with custom meta field data). I ...
0
votes
1answer
54 views

Plugin programming: Uploading a file to a specific folder

I’m trying to develop a wordpress plugin for my dorm for different administration purposes. One of the functions should be to upload meeting summaries into a folder named “referater” in the root of ...
1
vote
0answers
72 views

Image upload and other options in the same plugin settings form?

I write a wordpress plugin. My plugin has two options. One is an image upload mechanism and the other is a checkbox. My code is below: <?php /* Plugin Name: Plugin Name Plugin URI: Description: ...
0
votes
0answers
187 views

How to duplicate the media upload insert media tab?

I'm currently trying to add custom functionality to the media uploader from my plugin... I basically need to be able to duplicate the functionality that is used to run the Insert Media tab on my own ...
1
vote
1answer
282 views

Remote upload file to server B

I'm aware this might be some of the hardest coding to do ever, but thought of giving it a try. Im basically trying to detect all (mp3) filetypes uploaded through the Wordpress media upload and send ...
0
votes
0answers
67 views

build plugin wordpress error when uploading image

I just want to upload an image and I'm building my plugin with this tutorial. But in the part 3 it says image upload should work. However when I try to upload image it's not working. I'm uploading my ...
1
vote
1answer
201 views

media page returnig to 404 in rtmedia [closed]

I am using rtmedia plugin with buddypress plugin to uploading audio, video and image uploading. I am using latest version of both the plugins. But when I browse to media page(i.e ...
-1
votes
1answer
42 views

Upload Image to desired directory through plugin

I am creating a plugin that will allow the admin to manually input users. One of the options is including an image. I am unable to get the image to transfer from the computer into the directory. Here ...
2
votes
1answer
68 views

Is it possible to personalize the Media Library?

When we create a new post and click on Featured Image, I realize that WP creates a folder structure "year/month/image.jpg". I'd like to change that behavior to "category_of_the_post/image.jpg" (or ...
1
vote
0answers
643 views

How to upload image and attach to Woocommerce product gallery?

I got the following code which takes and image, uploads it to my server and sets it as a featured image. How can i change it so it adds the image to the product gallery in Woocommerce? Maybe ...
0
votes
0answers
73 views

plugin: alter “crunching…” text, reject the upload, and other logic

I am new to wordpress, but a customer wants one of my scripts converted into a wordpress plugin. The basic idea of the script is when a file is uploaded with a specific filetype, then start decoding ...
0
votes
2answers
74 views

Plugin Not Working After Being Uploaded To Wordpress Plugin Repository

Why my wordpress plugin is not working after I uploaded it to wordpress plugin repository. Is there any requirement of what tool I should use to write it or may be something else? Here is my plugin ...
0
votes
1answer
259 views

Add a file upload field

I am building a plugin which has a file upload field in it's settings page. The files should not be image files but should be .doc, .txt etc. Struggling with the code for it. Any help would be greatly ...
4
votes
1answer
159 views

Upload specific images to specific folder

I am trying to find a way to upload few selective images to selective folders in WordPress but not able to find a way so far. I do not want to change default work press setting to upload images as ...
1
vote
1answer
2k views

“Add Media” button in custom plugin

I'm writing a custom plugin and i would like to add the "Add Media" button. I just need to upload media, not to retrieve any content/data from the uploaded file. How can I add this button? Thanks
-2
votes
1answer
137 views

Problem Uploading PDF Vouchers w/ WooCommerce

Whenever I try to create a PDF voucher for customers using the PDF Product Voucher extension for WooCommerce I get "FPDF error: Image file has no extension and no type was specified: ...
3
votes
2answers
7k 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
202 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 ...
1
vote
0answers
78 views

Media Upload Tab reload and change $_GET

I have created a new tab under the new media upload whose content is created by: $folder_id = $_GET['folder_id']; global $wpdb; $foldertable = $wpdb->prefix . 'icrm_folders'; if (!$folder_id) { ...
0
votes
2answers
3k views

How organize uploaded media in WP?

I am new in WordPress and I came from Joomla. I am having some problem to understand how can I (if I can do it...) organize the uploaded media into folders and subfolders using WordPress. If I go in ...
3
votes
1answer
282 views

How to create an edit media button for slideshow plugin?

I want to create an edit media button for my plugin, right now you can easily upload images using the WordPress 3.5 media uploader but I want the user to be able to edit the uploaded images, something ...
4
votes
1answer
293 views

Way to force media uploader use custom image size

I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories. ... So in screen shot above, I'd ...
0
votes
1answer
1k views

How to change the wp_upload_dir() path in plugin

I am using one plugin to upload all the client files. By default all the uploading files stored in the path wp-content/uploads/-plugin-name- . How to store all my files in my custom directory that ...
2
votes
1answer
268 views

How to upload thousands of images?

I have a website and 6000+ images in my computer. I am trying to upload 1000 pictures but it's not working, how can I upload all pictures in one and easy step for time saving?
3
votes
1answer
171 views

How to make WordPress use protocol indepentent upload files?

I am using FORCE_SSL_ADMIN in wp-config.php so everytime I upload a new image and inserted into the post, it is using SSL version e.g. <img ...
2
votes
2answers
535 views

Allow all file types for upload

I'm using Wordpress 3.4.2 for a private blog, i.e. one on which only I can post. Now, Wordpress prevents me from uploading certain file types (like C# source files). As far as I understand it, there's ...
-1
votes
1answer
51 views

resizing image upload for all

I'm having problems with file upload, upload any image that I resized. however already deactivated every plugin, pro vopltei default theme, and still occurs redimenxionamento, tme some other option to ...
0
votes
1answer
49 views

include plugin folder directly in theme folder to load faster page n wp

include plugin folder directly in theme folder to load faster page in wp? Load jquery in the footer and the jquery load from plugin installed also.
0
votes
1answer
528 views

Saving/Writing/Adding file to upload folder

Within a plugin I am generating an image, I would like to save this image to the upload folder and update the WPDB with the location of said file. I cant find any build in wordpress functions to ...
0
votes
1answer
463 views

Upload file inside plugins options page

I want to upload images in my custom plugin options page. <form action="?page=slideshow_options" method="post"> <input type="file" name="async-upload" id="async-upload"> <input ...
0
votes
1answer
107 views

Measure and limit file uploads

I want to deliver WordPress powered packages to some users and want them to have: a limitation on disk quota (/each user) A way to measure/show how many MBs they are currently using Any solution ...
2
votes
1answer
1k views

Extending WP's upload/insert media functionality

I am writing my first plugin to upload PDF files to a user specified directory other than the media directory specified in the Media menu under settings. I need to extend the WP's native uploader so ...
0
votes
3answers
2k views

adding a button to the media uploader

I am writing a plugin for Wordpress and am wondering how to add an extra button to the media uploader that says something like "add to album". I can't seem to find info on how other developers have ...
1
vote
1answer
127 views

How to find the origin of a file upload from within wp_handle_upload?

I have a plugin that hooks into "wp_handle_upload" filter. Within that scope I'd like to be able to identify where the upload came from, meaning I want to treat it differently if it was uploaded from ...
1
vote
1answer
234 views

Plugin or method to delete uploads not in media library?

Over time working on a local and development server I've accumulated some junk in my wp-content/uploads folder which are not in the database. The folder and database entry are fairly large and so I ...
0
votes
2answers
518 views

Bulk Image Upload And Rerrange Functionality

I am looking for a solution, it can be pre-existing plugin or code I put into my functions.php file that will allow me to batch upload images to a post, and then have the ability to rearrange the ...
0
votes
1answer
483 views

Is there a function to list all uploaded images? How can I add one?

Is there a PHP function that will return an array of all of my uploaded images? Or, failing that, how bout just my uploaded files? The end goal is to display a slideshow on my homepage: have it ...
0
votes
2answers
3k views

Bulk Image Uploader to create new post from each image [closed]

Is there any plugin which creates a new post from each image I upload/select with it? I want to create many posts with one image per post. Currently I select, upload all images. Then create new post, ...
6
votes
1answer
1k views

What plugin can I use to create a list / slideshow of featured images?

I'm looking for a plugin that will allow the user to upload files, maybe 4-10 that can be used on the homepage as part of a slideshow. I can code the slideshow part myself, if necessary, but the thing ...
0
votes
1answer
717 views

WordPress does not allow me to upload a .xml file

What's a good plugin to upload a .xml file? here is the final question for now.. under Tools: / Import: / WordPress i get this message: Howdy! Upload your WordPress eXtended RSS (WXR) file ...
0
votes
2answers
440 views

custom uploader in the admin area

I am building a wordpress plugin that needs to allow the admin to upload CSS documents, and attach thumbnails. I want to know if there are any methods within wordpress that would be useful in ...
0
votes
3answers
368 views

Simple sildeshow/image-upload plugin?

What i need is either an easy-to-use slideshow with features like uploading and rezising images to fit, and displaying the slideshow in the template. (i want to be able to add it manually in the ...
5
votes
2answers
935 views

Any plugin out there that uses WP's internal image uploader?

I'm trying to use the media uploader thing from WP (the form from the pop-up with crunching and all that), and can't figure out how. Is there any plugin out there that uses it? It would be easier to ...