Displaying 20 results from an estimated 4000 matches similar to: "File Column"
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with
file_column? i tried it and everything works fine, but my question is
can you do more than just make sizes with a version of image? i''m
working on a photo album and i would like to resize the image to a
medium size, but create a thumbnail as well and crop anything left to
make the thumbnail a perfect square.
--
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.
2006 Feb 28
6
File_column, RMagick, and watermarking
I''m working on a photo gallery and I''m using File_column to handle the
uploads of the files and create my thumbnails, but does anyone here have
any idea how to have a watermark (opaque text maybe) placed over one of
the versions? Any ideas on how to go about this would be great. Even if
it''s just straight RMagick code, that would be fine too.
Thanks in advance for the
2006 Apr 23
2
file_column and Thumbnails
I see that the SVN version of the excellent file_column plug-in can create
thumbnails using the url_for_image_column helper.
This uses Rmagick to create the thumbnail... Quick question...
Let''s say the file is a TIFF image - can the helper create a JPG version of
the thumbnail for display in the browser?
Curious if the plug-in can handle that transform with some creative use of
the
2006 May 09
3
File_Column Development Dead?
I''m curious if anyone knows if development on the file_column plug in is
continuing? I''ve seen some SVN commits from awhile back but no binary
releases.
Did Sebastian speak at Canada on Rails? Anyone catch that?
What is the future of file_column?
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads
are working fine.
However, when I try and use the :magick options to make resized
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
file_column :media_item,
:magick => {
:versions => {
:thumb => {:size =>
2006 Mar 08
3
file_column Cropping -> image offset information
Hello,
I had a problem cropping images with file_column. These are my settings:
file_column :image, :magick => {
:versions => {
:thumb => "80x80>",
:medium => "150x150>",
:square => {
:crop => "1:1",
:size => "50x50!"
}
},
2005 Sep 09
5
file_column: patched for imagemagick and validation
Hi all,
I patched file_column to add imagemagick transformations of uploaded
content. I added an options hash, and it takes the :magick and
:format keys. :magick is a string of imagemagick command line options
for convert (Reference:
http://www.imagemagick.org/script/convert.php). Format is an optional
extension for the finished image. If Imagemagick recognizes the
extension, then it will
2006 Jun 01
9
More flexible file column?
The file column plug-in is great, but there is a problem with it. Well,
two... But the other is well documented now. :^)
Consider a time when you''ve created a CMS for a client and it''s been in
use for over a year. Say 1500+ images have been uploaded so far. Now the
client comes back with a simple request... ''Can you change the thumbnail
size to 80/90, rather than
2006 Jun 16
4
Depot App: Upload Images
Hello,
I''m a newbie to Ruby on Rails and like many others, I have been working
through the depot application in the Agile Web Development book.
I was wondering if anyone had enhanced the depot application to include
the upload of images for each product? The following describes the sort
of thing that I have been asked to produce for a client, so apologies if
the information is not
2007 Dec 17
3
not able to view the images after the upload
hi,
i have this problem where in i''m able to upload the images using
file_column
to the server but i''m not able to view the images.i''m not able to see
the images
but then i''m able to view the image name when i click on my show action.
can any one please help??
THIS IS MY LOG as to what happens when i do the image upload.
Processing UploadController#create
2006 May 19
1
FileColumn
I''m using Windows and Postgres 8.
I installed RMagic gem thingy and FileColumn plugin ok.
I followed instructions exactly as directed on FileColumn web site which
is very straight forward:
---model
class My_model < ActiveRecord::Base
file_column :column_for_file_name
end
-----view -upload form--set to mulitpart
<%= file_column_field "my_model",
2006 Aug 17
3
file_column do download from URL
Is there a simple way of forcing file_column to download file from given
(ex. in form) url instead of uploading it manualy?
I know:
http://blog.caboo.se/articles/2006/01/09/file_column-magick-and-versions
require ''open-uri''
Attachment.find_first.filename = open(url)
if not working as expected... what is interesting is that:
>> @a =
2006 Apr 28
2
file_column with polymorphic table relationship?
Hello,
I''m just starting out with both Rails and Ruby, so I hope this isn''t too
simple of a question - but I''ve been struggling to find a solution.
I''m using the file_column plugin to handle image uploads and thumbnail
generation. In addition, I''ve wrapped the image into a polymorphic table
so I can have uploaded images associated with multiple
2005 Dec 27
1
filecolumn to database
Hi,
I''m using filecolumn to upload a file to mysql blob :
_form.rhtml : file_column_field "entry", "attach"
model (rb file) : file_column :attach
How can I update controller create function to insert file in database ?
redefine model save function ? Someone has a sample source ?
Regards,
Fabian
2006 Apr 26
3
re-sizing pictures.....
So i followed the steps in the agile development book and everything is
working just fine... i even added a few new functions to list and manage
the pics. but what if i start uploading big pics? i don''t want to have
huge desk-top size pics taking up the whole page all the time. right?
so does anyone have a sort-of thumbnail thing they''d be willing to
share? any help would
2006 Jan 19
0
file_column error: tmp file created but not actual
Hi
When I submit the form with field_column, the actual
image is not
uploaded, only temp files are crreated and I dont see
actual file created and the image file name is not in
the database and get "fieldWithErrors". Then if
submit again, the actual file in created and an
database record is generated.
Here is the log file. I print @params and @wallpaper.
I find the following:
1st
2005 Nov 18
10
[Request] file_column configurability
I wasn''t sure where to email this request, so I am hoping the author of
file_column actually sees this. I was wondering if there were any plans to
allow some configurability in the file_column plugin. By configurability I
mean allowing the developer to define which table column is used as the
unique identifier when creating image folders. Right now it seems like it
uses the ID of the
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there,
I''d like to use RMagick to watermark an image in the tmp directory
before Attachment_fu saves it to Amazon S3.
I took a look at the callbacks available in attachment_fu. There''s an
''after_attachment_saved'' method but this would be too late, and a
''before_thumbnail_saved'' but this is no good because it''s for
thumbnails.
I
2006 Jan 16
3
file_column error
Hi, Sebastian
I downloaded FileColumn plugin and love the concept. But when I
tried the example listed on the plugin web site, I got the following
error:
NoMethodError in Entry#new
undefined method `file_column'' for Entry:Class
My environement is Red Hat linux 9.0 with mysql 4.1. I installed
file_column under vendor/plugins. If I run "ls", I get the following