Questions tagged [uploader]
227 questions
20
votes
1 answer
How to test that a file is uploaded in a controller?
I'm trying to test that my user has a photo value when I upload an image. It works fine in the browser, and the basic functionality of the test passes, but if I try to assert that user.photo is not nil, it fails. Here's the test
describe 'POST…

Greg Blass
- 3,523
- 29
- 42
9
votes
1 answer
" iframe.contentDocument" Not Working in IE8 and FF(3.5 and below) any other steps to solve this?
I used this "iframe.contentDocument" in js file-uploader , But it not working in IE8 ,Firefox(3.5 and below versions.
How can i solve this by using other DOM's for working with iframe ?
Thanks to all

ajay
- 119
- 1
- 7
7
votes
3 answers
How to upload a file using javascript?
I want to create an uploader with js. Can anyone help me how to upload a file using javascript?

Manjeet Kumar Nai
- 1,382
- 1
- 13
- 16
6
votes
2 answers
wp.media multiple:true setting isnt working in custom plugin
I'm using the wordpress media library in my plugin...
var images = wp.media({
title: 'Upload Images',
library: {type: 'image'},
multiple: true
}).open().on('select', function(e){...});
... but…

Vel
- 171
- 7
6
votes
2 answers
Agile Uploader Wordpress implementation
I'm trying to implement a front page Wordpress uploader which gives the user the possibility to upload an image from a Wordpress page and also resizes images before upload. I found Agile Uploader. The uploader is in a form.
The problem is when I…

Chirea Mihai Bogdan
- 61
- 1
5
votes
3 answers
wp.media undefined using Wordpress Media Uploader
Edit: Other variations of scripts don't seem to work either, the wp_enqueue_media() goes alright, but it looks like the script that includes the wp.media is not included.
I'm trying to use the Wordpress Media Uploader in a custom plugin, but keep…

Max
- 803
- 3
- 10
- 24
5
votes
5 answers
Uploading multiple files simultaneously with Flex
I have been working on a flex uploader, where the user can select multiple files.
It works fine when the files are uploaded in a queue (one at a time), however as soon as I try to have it upload 2 files at once I run into issues.
It seems that files…

David
- 51
- 1
- 3
5
votes
2 answers
Picasa access in android: PicasaUploadActivity
I am new to Android, and I'm struggling to figure out exactly what tools are available to me.
I am developing for Android 2.0.1 for now, just because that is what my device runs.
Specifically, I am writing an app that I would like to upload images…
user265447
4
votes
5 answers
PHP uploader for about a thousand images?
I am working on a websitwe and I need a client to send me close to a thousand pictures. There is a bit of a geographical distance between us, so while mailing a CD or SD card is not impossible, it is not preferred. Can I write a PHP uploader to…

Moshe
- 57,511
- 78
- 272
- 425
4
votes
1 answer
Multiple Carrierwave mount_uploader on a single model
I have a model called Recipe which has 2 images that use carrierwave, so in this model i have this to setup carrierwave
mount_uploader :author_photo, AuthorUploader
mount_uploader :photo, PhotoUploader
I have also added multiple version to my…

Robert
- 596
- 1
- 7
- 20
3
votes
2 answers
Quasar Framework Uploader with axios
A question about the quasar framework uploader component.
I need to post the images to a URL that will rename the uploaded file and return the full path.
I'm using the upload-factory and axios
But I'm having problems understanding exactly how to…

Ericko
- 134
- 3
- 11
3
votes
2 answers
How do Display Image Thumbnail before Form Submit in Vich Uploader?
I'm using Vich Uploader Bundle to submit one image per form, I'd like to be able to display a thumbnail of the image before it's uploaded because as it is, the image is uploaded and nothing is shown or done to indicate that anything happened. I…

Dan185
- 356
- 3
- 12
3
votes
1 answer
blueimp jquery file uploader image_versions doesn't work
i´ve the blueimp jquery file uploade. I´ve tried to make more image_versions.
The first and the last image_version does work. In my case '', 'small' and 'thumbnail' works, the other one are not working.
At the other image_versions the image would be…

gatno
- 33
- 3
3
votes
3 answers
Rename file when upload in php
I'm making simple file uploading script right now. Everything works well, but when I upload another file with same - script just overwrites it. So, what I want is to be able rename each uploaded file to random name. (Ex. 12jfisfhassa…

papi
- 379
- 7
- 25
3
votes
2 answers
WordPress Custom Insert Into Post Button
For images uploaded using WordPress' media uploader, there is an "Insert Into Post" button that sends a shortcode to the editor for that image.
I have a text input that, when focused, I'd like the media uploader to appear so that the user can select…

HWD
- 1,547
- 7
- 36
- 72