Questions tagged [uploader]

222 questions
19
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,219
  • 27
  • 33
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
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…
5
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
  • 131
  • 5
5
votes
2 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
  • 593
  • 2
  • 7
  • 23
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
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,004
  • 1
  • 9
  • 13
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
  • 55,729
  • 73
  • 263
  • 420
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
  • 597
  • 6
  • 18
3
votes
0 answers

SignatureDoesNotMatch on Amazon S3 multipart uploader

I'm working on AS3 multipart uploader. I'm using this documentation http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RESTAuthentication.html for building signature. Here is my example: Request: POST /btnOK.png?uploads…
ExtremeBt
  • 86
  • 9
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
  • 326
  • 2
  • 10
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
  • 339
  • 5
  • 21
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,887
  • 7
  • 30
  • 60
1
2 3
14 15