Displaying 20 results from an estimated 30000 matches similar to: "Copy an already uploaded file using file_column"
2006 Jul 19
0
Web Service (server) and file_column issues
Hi there,
I''m having some issues with using SOAP and file_column. The Web service I
created is pretty straight forward. It gets the 5 most recently updated
members from the database. Nothing too spectacular. However, the Members
class uses file_column and when I try to connect to my web service I get
this error:
TypeError in Connect to serviceController#display_recent_updates
Do
2006 May 18
0
file_column - filtering uploaded file type and storing image size?
Sorry, more newby FC questions!
I would like to use one file upload field to upload both PDFs and images.
The images are in the listing_images table and PDFs are in the
listing_pdfs table - both have a one-to-many relationship with listings.
How do I do this?
For listing_images, I would like to store the width and height of the
image so I can produce valid xhtml image tags. I can''t
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi,
I''m on Windows and getting the following error while trying to use
file_column with RMagick,
uninitialized constant Magick
C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
#{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in
`file_column''
I installed file_column by
2006 Jul 13
0
file_column
Hello all, another rails newbie here.
I''m working on an project to simply upload pictures with some extra
information, I was able to get uploads working thanks to file_column,
however, a couple things are troubling me. First of all, according to
the file_column website, displaying images should go like this:
<%= image_tag url_for_file_column("entry", "image")
2006 Jul 27
0
Separating file_column upload directory by account
I''m working on an app right now that uses
http://www.kanthak.net/opensource/file_column/index.html Sebastian Kanthak''s
file_column plugin for file uploads. The usual directory structure it saves
to is:
model/attr/id/filename
For my current project, I''d like to separate uploads by account so that it''s
easier to monitor an account''s resource usage.
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi,
sounds somehow stupid, but I can''t get rid of my files that I uploaded
into my application via the file_column plugin. Any suggestions?
Cheers
Thomas
--
Posted via http://www.ruby-forum.com/.
2006 May 23
2
In Place Editor Fields and Safari
Hi,
Does anyone else have any problems with Safari and in place editor fields?
I''m specifically talking about trying to save a null value in a text box. In
Firefox/IE/Camino/etc... saving a null value from an in place editor works
how it''s supposed to. If the value is null, then ''click to edit'' is
displayed. However with Safari when a null value is saved,
2006 Mar 26
2
File_Column plugin causes strange errors on windows
I installed the File_Column plugin and setup my relationships.
create_table "screenshots", :force => true do |t|
t.column "image", :string, :limit => 255, :null => false
t.column "description", :text
t.column "created_on", :datetime, :null => false
t.column "item_id", :integer, :null => false
t.column
2006 May 15
4
Anyone got a copy of File_Column trunk
Anyone able to post a copy of the svn trunk of file_column? The
website''s been down for the past few days, and I''ve only got the last
release (0.31, I think), which is missing a whole load of goodies.
Tx
2006 Jan 12
2
file_column issue: file upload fails without error
environment:
Locomotive + Rails 1.0 Max
Lighttpd 1.4.8, FastCGI 2.4.0
Ruby 1.8.2
File_column version: 0.3.1
Path to file_column: /vendor/plugins/file-column/
symptom:
Uploading a file using file_column fails; no file is uploaded and the
"filename" column remains blank. No error messages are produced - a new
record is created with blank filename.
code and log here:
2006 Jul 24
4
Mongrel + BackgrounDRb + File Column = Upload Progress Bar?
Hi there,
I''ve been digging around trying to find some information (mostly examples)
on how one would handle a progress bar upload using BackgrounDRb and File
Column. I did read http://backgroundrb.rubyforge.org/ and Ezra''s blog of
course, but I still have a few questions.
I made a simple upload form (as a test) that is submitted to the
"upload_song" action.
def
2007 Aug 17
1
zipping a file after upload, file_column
I''m using file_column and I''m not sure where to put code for zipping
(compressing) a file.
I want to upload an audio file, but compress it as a .zip file before
saving.
That way I can force downloads rather than having audio files load in
visitor browsers.
question is: Where do put code to do the zipping, so that it occurs
before the file is saved?
I want the database entry to
2006 Jan 05
1
File_column image validation
Hello,
Is it possible to enforce minimum image size and other validations using
file_column? if so does anybody have some examples. I have looked at Kyle''s
file_column extension and I saw that it enforces format''s (jpg,pdf etc) but
nothing for size.
Thanks!
Sunder
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 20
2
Image Display Question
Hello there,
I have something odd happening to my image tags when displaying an image.
Here''s what my ''<img src>'' tags are looking like:
<img alt="2-thumb" src="/images/public/uploaded_images/2-thumb.jpg?" />
Notice the question mark at the end of the string. I have no idea where this
coming from. Here are the important parts of my
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 Jun 01
3
file_column - blank folder created, no upload
i want to upload and resize images so i installed the file_column plugin
but im having a big trouble, i have a table images with (id, name)
fields where the images names/path will be stored, i get a success
message(from the controller after @art_image.save) every time i try to
upload but only a blank directory its created /public/image/name/tmp ,
without errors messages, i see a post related
2006 May 31
6
Restricting access to files uploaded by file_column
Hi Guys,
Does anyone know how to restrict access on files that you upload in file
column to certain users only? I notice that files being saved by the
file_column by default are being saved under the public folder and can
be accessed just by typing the URL directly. Let''s say you have a Login
system where you restrict access to some pages and allow those users to
upload their own
2006 Jul 12
1
Test for file_column
hi all,
has any one had experience writing a test for file_column
I can write a test for testing the data in the form, but am not sure how to
test against the image
any tips?
cheers
dion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/08f7996a/attachment.html
2006 May 08
1
file_column - url_for_file_column issue.
Hi,
url_for_file_column @variable, ''name'', takes an instance variable. My
question is, what if I don''t want to have to retrieve the instance variable
every single time but I have the image id, along with its name with me.
Could I contruct that object in a view and pass it to url_for_file_column:
<% @picture = Picture.new %>
@picture.id = ...
2006 May 18
1
in_place_editor / file_column
has anyone managed to get get in_place_editor and file_column to work in
tandem ? I am trying to allow someone to edit a photo in place, but not sure
if this is possible.
adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/487d5fee/attachment.html