similar to: form_remote_tag with multipart/form-data

Displaying 20 results from an estimated 1000 matches similar to: "form_remote_tag with multipart/form-data"

2006 Jul 22
17
Problem getting form_remote_tag to work with image upload
Hey guys, I am trying to pass the parameters for the file being upload, but the params[] are not being passed. Ive read through some posts and realize this is an issue with RoR. I read through some of the posts and someone suggested using: http://svn.kylemaxwell.com/form_remote_upload/trunk/ I tried to install it, and although I thought I installed it correctly, it doesn''t work.
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and file_column playing happily together. According to my research, no one has done this yet. If you happen to have tried this, and have some workable code, send me an email. I''d rather not duplicate the effort. Thanks! -- Kyle Maxwell Chief Technologist E Factor Media // FN Interactive kyle@efactormedia.com
2006 Feb 01
3
Problem using form_remote_tag and multipart
I have a form and e file field, and what I''m trying to do is when the file is uploaded, a div shows the uploaded image using ajax, without refreshing the page. But the problem I''m having is that with form_remote_tag it won''t accept :multipart => true. Any ideas? Thanks a lot
2007 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested. But, I added some code to that model that I do need to test. Basically, I need to somehow fulfill the "uploaded_data" property so I can actually run my tests(otherwise they fail because of validations). The "uploaded_data" field is what would grab the multipart data from form. Here
2008 Aug 11
1
Unexpected parameter problem using rsaga.geoprocessor() {RSAGA}
Hello, I discovered SAGA, an interesting free GIS, a few days ago and now, I would like to use it from within R 2.6.2 using the RSAGA package. I read the documentation for this package and thought that I understood it correctly for trying to call some of the SAGA modules. For getting the information on the usage of and arguments required by the SAGA command line "Import Binary Raw
2007 Aug 03
6
Problems saving an uploaded image to an app folder
In my app, the user can upload images. Rather than shoving the image data in the database, i want to put the filename and content type into the db, then rename the image with its record''s id number, and then save it into a local folder in my app folder. (hardcoded for now) All the details are being saved to the db ok, so as far as i know the "picture_file=" method is fine.
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to javascript security limitations. I created a plugin that modifies form_remote_tag so that if you pass it the option: :html => {:multipart => true}, it will submit via an iframe, allowing you to upload files. It works nicely with file_column :). Currently, it only works with RJS templates (no :update option), and I only
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default behavior ignores the upload when the Javascript serializes the form to create the parameter list. Basically, i''m just looking for an ajax file upload capability. Any help would be appreciated. thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 28
5
Is it possible to upload file with form_remote_tag?
I have tried to upload a picture file with file_column plugin and form_remote_tag, but no success. When I do request.params.inspect it shows null for picture parameters. With normal form the file uploads nicely, so is it possible to upload file with form_remote_tag? -- Posted via http://www.ruby-forum.com/.
2006 Jun 01
9
Image upload
ok, im done, the plugins file_column and acts_as_attachment doesnt seems to work for me, i want a simple thing, upload images, resize it to 216px width, save its filename to a table and save the file to the /public/images directory, i have searched a lot but all the examples are too complex, im starting with rails. If someone can post a example code for the view, controller and model(if any)
2008 Nov 13
3
Creating a file and saving in public directory
Hello, I''m fairly new to Ruby on Rails. I have a model called Report and I''m trying to create a text file that is saved in a /public/report directory. I''ve had a look at the ruby api but I can''t seem to get this working. The current code I have is: #report.rb class Report < ActiveRecord::Base after_save :write_file def write_file if @file_data
2006 Apr 12
3
form_remote_upload
Hey all, I just upgraded rails to 1.1.2, and form_remote_upload now prevents my application.rhtml layout from being processed. I''m not sure if the problem lies with v 1.1.2, or if upgrading the gems screwed stuff up. Anybody have any ideas? Rob -- c++: the power, elegance and simplicity of a hand grenade -------------- next part -------------- An HTML attachment was scrubbed...
2006 May 10
0
Saving extracted data
Hi there, I have a file upload form on my page that is for images. In the model I have this: def file_data=(file_data) @file_data = file_data write_attribute ''extension'', file_data.original_filename.split(''.'').last.downcase write_attribute("content_type", file_data.content_type) write_attribute("current_name",
2006 Apr 24
0
ImageMagick and EXIF Data
Hi there, I''m writing a little application that parses an image file and extracts the camera settings from the file (the EXIF data) and saves all the fields to the database. The idea is that after awhile people will be able to search based on camera make, model, lens settings, etc... and all the pictures that meet those requirements will be displayed. The picture is stored on the file
2008 Apr 25
1
attachment_fu and mime type issues
Hi All, I am having a problem with the attachment_fu plugin and flac audio files. In the dev environment, using mongrel, the form upload object does not seem to have any associated content_type. I get the following attachment_fu validation error: "Content type can''t be blank". I don''t understand why the file_data would not have any content_type. Doesn''t rails
2012 Nov 04
1
hexdump.c32 for Syslinux 5.00-pre9
Applies to Syslinux 5.00-pre9. Attached, below, and available at: Repository: git://git.zytor.com/users/sha0/syslinux.git Branch: hexdump - Shao Miller From c9c67dd61ba0b11e46d514601cf0722e1b43017c Mon Sep 17 00:00:00 2001 From: Shao Miller <sha0.miller at gmail.com> Date: Sun, 4 Nov 2012 00:26:32 -0400 Subject: [PATCH] hexdump.c32: Simple file hex-dumper Usage: %s
2016 Nov 04
4
[PATCH 0/2] improve Lua API for files and initramfs objects
From: Paul Emmerich <p.emmerich at first-colo.net> Hi, the new API for initramfs and files in master lacked the ability to build initramfs objects from files loaded via HTTP/TFTP in Lua. The documentation indicated that it should be possible (and I believe I did that in an older version). I implemented a few new functions to handle files/initramfs objects better. Changes: * NEW:
2004 Feb 23
1
Hide unreadable, strange problem
The "hide unreadable = yes" option gives strange results with samba 3.x. Everything works fine when the server runs as a domain controller. Users see the directories they are supposed to (unix group permission) in the share. Turning off domain control and setting "security = DOMAIN", however, hides every directory in the share unless you are an admin user. I can cd to the
2011 Mar 29
0
[PATCH] Implementation for sl_initramfs_add_file() in lua.c32
This is a possible implementation for syslinux.initramfs_add_file() for the lua.c32 module, it adds a third parameter not documented, the dst_filename as it is required for placing the new file in the initramfs: ########################################################### --- syslinux.orig/com32/lua/src/syslinux.c 2011-03-29 16:52:37.161106252 -0300 +++ syslinux/com32/lua/src/syslinux.c 2011-03-29
2006 Jun 12
2
dom id on form_remote_tag
I want to make use of a form_remote_tag to submit a form asynchronously. Easy done. However, we also want to add an observe_form tag to check for some value changes while the form is being entered. The observe_form tag needs a dom id to work on but I can''t see how to enter an html option for the dom id of the form on the form_remote_tag. Any ideas? Here is the form tag so far...