public
Description: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
Homepage: http://wiki.github.com/Squeegy/fleximage
Clone URL: git://github.com/Squeegy/fleximage.git
Plugin is now compatible with Rails 2.2.  [#8 state:resolved]
Squeegy (author)
Fri Dec 12 15:45:36 -0800 2008
commit  1ed1b457d7c946926b695655395a603b1a1e64a7
tree    ed8e20d04f9dcc2af84c7ab67b2ea66b75b48485
parent  a8c55bd650a1462a8862303eedcce58c12844f69
...
5
6
7
 
 
 
 
 
 
 
 
8
9
10
...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
0
@@ -5,6 +5,14 @@ module Fleximage
0
     class TemplateDidNotReturnImage < RuntimeError #:nodoc:
0
     end
0
     
0
+    def self.call(template)
0
+      "Fleximage::View.new(self).render(template)"
0
+    end
0
+
0
+    def initialize(action_view)
0
+      @view = action_view
0
+    end
0
+    
0
     def render(template)
0
       # process the view
0
       result = @view.instance_eval do

Comments