Displaying 20 results from an estimated 7000 matches similar to: "Image upload"
2006 Dec 17
1
file_column error: StringIO Instead of Temp_File
Hi all,
i am using file_column to upload 3 images from the same form, they are
all different names and DOM IDs so there isn''t a problem with the
multiple upload.
The problem is when i try to upload a file (or 2, or 3) sometimes it
works, but sometimes i get this in the log file:
"bar_image"=>{"file_temp"=>"",
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag
2006 Aug 13
5
problems with file_column plugin
1) installation is not as smooth as some other plug-ins. If you follow
the instructions on
http://www.kanthak.net/opensource/file_column/
it makes a directory called trunk instead of file_column. You have to
manually rename it to file_column. I guess this is a minor annoyance but
it gives me the feeling that things aren''t quite like other plugins.
2) I get this error: undefined
2006 Jan 22
12
Problems with File_column
Hi,
Rails - newbie here..
I''m setting up an app and am trying to use file_column to upload a
picture with an item and I''m running into several problems.
(Background: I''m running Locomotive Rails under OS X 10.4.4, and using
Safari)
I followed the directions to add the necessary items, then found out
that I had to add the item to make the form tag be a multipart
2006 Feb 16
4
file_column :: changing image with object.update
Dear all,
file_column now works fine with object.save i.e., it updates my
database field with the correct image file name and places the image
file into the correct public folder.
However, I cannot get file_column to work the same way with
object.update when trying to change image. It only updates my field
with the image file name. However, the new image is not copied into
the correct
2006 Mar 07
2
file_upload ... won''t
Hi, I''m just trying out Sebastian''s file_upload plugin, but I''m having
problems - bound to be my fault! I can''t search gmane at the moment for
examples that I''m sure have been recently posted :-(
I have a MySQL table "scripts" with a field "filename varchar(255) not
null, and a basic scaffold''d set of files for model
2006 Nov 20
7
Acts as attachement
Hi guys
Question about acts as attachment still getting the following error
undefined method `content_type''
I have set everything up according to the following page however i am
still have trouble
http://weblog.techno-weenie.net/articles/acts_as_attachment
One thing, I have wanted to add this to an existing model in my system.
I have not used the...
script/generate
2006 May 02
3
file_column : _temp field always nil
Hi,
I''m trying to set up file_column to upload attachments for emails. My
view has <td align="left"><%= file_column_field ''to_do'', ''attachment''
%></td> and the attachment_temp hidden field is generated. When I
inspect tthe params on saving the form the attachment_temp param is
always an empty string. Also, when I was
2006 May 31
4
acts_as_attachment , someone using it?
Hi, i just found the acts_as_attachment plugin for image upload, seems
sogood but i cant find any docs about it, if someone here using it can
give some references or working examples about the plugin that will be
excellent.
So what you wanna rails today?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
3
LoginEngine File_column interop
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hello all,
I hope someone can help me with this issue, I have the SVN
file_column and using LoginEngine/UserEngine with Rails 1.1.2. My
issue is that I''m overloading the view for LoginEngine to support a
file image upload as part of the user record and having a heck of a
time doing so.
Near the bottom of my new _edit.rhtml
2006 Aug 05
4
file_column just will not work...
Hello,
I have been trying for some time to get a file to upload using the
file_column plugin.
My code is here: http://pastie.caboo.se/7304
But my code is not the issue. I cannot even pass the unit test that
come with the file_column plugin.
If I run ruby file_column_test.rb i get:
1) Error:
test_store_dir_callback(FileColumnTest):
TypeError: can''t convert Fixnum into String
2006 Jan 09
5
file_column content type
is there a way using the file_column plugin to enforce a certain
content type based on regex (i.ie, /^image/) and/or filesize (150k)
?
thanks
adam
2008 Apr 15
4
is there a way to outsource image uploads?
I''m trying to keep my rails app lean and mean and want to avoid (if
possible) dealing with image uploads, thumbnail generation, running
RMagick etc.
I was excited about Amazon letting you upload files directly from the
browser to your S3 bucket (http://doc.s3.amazonaws.com/proposals/
post.html) but I couldn''t figure out how to generate thumbnails - has
anyone figured this out?
2007 Feb 09
7
Upload image without rmagic
I need a way to upload an image and display it without using any of
the plugins that use rmagic. I have used the plugins (file_column,
fleximage) which both use rmagic and gave me problems (never got
fleximage to work)
Thanks in advance - K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the
time of uploading images i have trouble, i get "uninitialized constant
ArtImage" error and other errors, im following the instructions on
http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt
seems to work, this its the code im using:
#----view
<%=
2005 Oct 04
3
[Q] file_column help needed
Hi all,
I''m trying to use file_column to upload a picture but
I''m getting the following error:
"cannot convert nil into String"
caused by the last line in
FileColumnHelper::url_for_file_column(object_name,
method)
url << object.send("#{method}_relative_path")
I don''t have any images uploaded for existing entries
so does this not
2006 Apr 08
5
file_column
hello,
how to generate new image if i do add new version? For example, I add
version :small => { :size => "320x240" } .
How to tell file_column to generate new image version if image is
allready uploaded ?
Thank you!
--
Posted via http://www.ruby-forum.com/.
2006 Mar 23
2
newbie - form_tag with get?
I can''t create a form with method "get".
The rhtml code:
<%= form_tag :controller => ''teritory'', :action => ''add'', :method => ''get'' %>
The generated html code:
<form action="/teritory/add?method=get" method="post">
What i''m doing wrong?
--
They say money can''t
2005 Dec 29
3
FileColumn Help
i''ve changed store_dir to :store_dir => "public/uploads/users/pictures/"
that works great for uploading, but url_for_file_column is still
outputting:
/user_picture/image/id/name.jpg
how do i make url_for_file_column output the correct url?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 17
8
file upload
This is probably me having an issue with the mvc way of living.. .I''m
used to perl/php scripting...
I''ve got a photo blog I''m making... and in past iterations of this
website, I''d just name the photos after the id of the entry. For
instance:
/photos/id.jpg
/photos/id_thumb.jpg
However, I''m having trouble finding an easy way to do this with rails.