similar to: Setting up Fleximage

Displaying 20 results from an estimated 100 matches similar to: "Setting up Fleximage"

2008 May 15
9
Squeegy Fleximage Routing
Hello people, I''m using squeegy fleximage for my site right now and having some difficulty to achieve some things. Updates photos are saved in created at date generated fom like : '' /images/2008/05/14/22.png '' . However this route is not accessible through the browser and I don''t know how to add it in my routes.rb knowing that the dates will change everyday.
2011 Aug 25
0
Rails 3.0 Fleximage Error Errno::EACCES
Hi, I''m using Fleximage on my website so users can upload avatars. I recently upgraded to Rails 3.0 and switched host to slicehost.com. I successfully installed imagemagick and the gems rmagick and fleximage. Everything seems to be working fine except when I try to edit my account and upload an avatar. After selecting an avatar and click the update account button I get the following
2007 Jan 19
0
Fleximage get a resized thumbnail
I am using for the first time the Fleximage plugin... good, I can upload and resize images on the fly before storing them.. User has-one Image I need to get a very small thumbnail to be stored directly into a tinyblob field of the user record... , I know Fleximage is able to produce thumbnails, but regarding performance I''d prefer to store the thumbnail direcly into the user record...
2006 Dec 15
6
RMagick=bad, ???=good
I know that Zed has made mention of the fact that using RMagick with mongrel and rails is a bad thing. I''m currently using FlexImage (which in turn uses RMagick) on my application and really haven''t had too many problems. We get a restart for memory usage every 8-10 hours on one mongrel of twelve running, but I''m not sure if that''s an RMagick issue. Either way,
2007 Jan 07
0
making textfields unscannable by spammers? use fleximage?
hi, i am building a site and would like to make it so spammers cant copy phone numbers and emails. would using something like this help solve this problem? http://beautifulpixel.com/articles/2006/11/03/fleximage-can-draw-text thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
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:
2011 Oct 05
3
Rails 3 routes with same name, different param name based on constraint
Hello there fellow RoR enthusiasts, I have been wrestling with rails 3 routes for hours trying to accomplish the following: I want to use the *same url helper* (photo_url) in my views but have a different route match made depending on the format of the parameter I pass. Seems simple enough, right?? If the parameter looks like nn.nn.nnnnnn.whatever, I want the param passed to
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
2007 Jul 11
7
Best way to upload an image and make a thumbnail
Hi, which is the best way to upload an image, keep that and also make a thumbnail? The images should not be stored in the database, but as normal image files in a specific directory. I think that for the thumbnail i should use rmagick, but for the upload ? (something which work with and without javascript, in every browser) Thanks :) -- Posted via http://www.ruby-forum.com/.
2006 Nov 21
1
file_column and resizing only when it's bigger issue
I have limited space in my web design to display the logo of the upcoming event. So I put in code like this. file_column :image, :magick => { :versions => { "250x165" => "250x165"}} I was under the assumption that the image under directory 250x165 will be of this size if the image is bigger than 150x165. But I found out that for an image of size 134x88 the image
2012 Dec 14
0
[LLVMdev] issue with profiling in LLVM 3.1
Hi, I am using the profiling feature of LLVM 3.1. Mostly, it works well, but seems to be wrong in a few cases. For example, I have found that the number of times a function executed is reported as less than the number of times that the basic block calling this function executed (the difference was about 25x!). I am copying out the exact functions below. The relevant parts are in bold font:
2007 Dec 22
2
multiple file upload
Hi, I want to do a multiple file upload with Ruby. I want to let my users upload pictures on my website to their account. I''m looking for something with a nice interface. I was wondering if you knew of any plugins/gems i can use THanks :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2005 Sep 19
2
warning: already initialized constant
Hello all. I''m new to Rails and working on replacing an existing Perl based app. Everything has been smooth, and I''m beginning to get the hang of things. I just implemented DB based photo handling, with code directly from the Pragmatic Rails book. Here''s a fresh server log of my app, with a logged in user (by cookie and session) getting a list of his photos. The
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
Had this error when trying to add comments to another user''s photo. ActiveRecord::StatementInvalid in User photosController#show Mysql::Error: Unknown column ''comments.user_id'' in ''on clause'': SELECT photos.`id` AS t0_r0, photos.`user_id` AS t0_r1, photos.`title` AS t0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0.... I did create a user_id
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi. I am using BackgrounDRb to process thumbnails and upload to S3 - things are hunky-dory in development (thumbs are generated, these are uploaded to S3, the metadata is saved to trhe DB, and I get a nice status page updated by periodic calls via ask_status), but when I tried to deploy to our staging server and stop/start BackgrounDRb via Capistrano, things blew up - well, not exactly,
2007 Feb 26
24
Ruby/rails port of Cocoon/hibernate
Hi, I''m currently running an apache/jboss cocoon/flow/hibernate/ajax paypal (directpayment) project and am looking into the possibility of porting it across to ruby/rails. For that reason I would like to know the following: 1. Can I call my java classes or would I be looking at a complete rewrite in ruby? 2. How effective is ruby in terms of seperation of concerns regarding design from
2005 Aug 08
68
Pluralized Controller Names?
If I do: script/generate controller Photo I get a controller named photo_controller. OTOH, if I do: script/generate scaffold Photo I get a controller named photos_controller. (Note that the controller name is pluralized). I realize that I''m specifying the controller name explicitly in the first case, but it seems odd to me that the scaffold command generates a pluralized
2010 Sep 21
0
Upload form with uploadify jquery plugin
I would like to integrate the uploadify plugin with a standard rails form. However I can''t figure out how to add a new field and have it get submitted with the file upload. I added a name field into the form, but the valued does not get submitted. <% dialog_file_description = ''Photos'' allowed_extensions = [:jpg, :jpeg, :gif, :png] max_size = 20.megabyte
2009 Feb 21
1
undefined method user_id
Basically, Im trying to add comments to photos that other users have uploaded. And Ive encountered an error: NoMethodError in CommentsController#create undefined method `user_id='' for #<Comment:0x4768cd0> C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1857:in `method_missing''
2007 Aug 15
0
Rails error on generated app
I created a very simple app with a database table for image file names and tags to be associated with the image. When I generate the scaffolded app it has an error in it. There is an uninitialized constant of the same name as the model class but singular instead of plural. I.E. Model class Photos < ActiveRecord::Base and in the completely generated app I get an error when creating a row in