search for: thumbnail_path

Displaying 3 results from an estimated 3 matches for "thumbnail_path".

2006 Apr 24
0
ImageMagick and EXIF Data
...ize", file_data.size) end def url path.sub(/^public/,'''') end def to_url return DISPLAYTHUMBS_DIRECTORY + "#{self.id}-thumb.jpg" end def to_large_url return DISPLAY_DIRECTORY + "#{self.id}-full.jpg" end def thumbnail_url thumbnail_path.sub(/^public/,'''') end def path File.join(DIRECTORY, "#{self.id}-full.jpg") end def thumbnail_path File.join(THUMBDIRECTORY, "#{self.id}-thumb.jpg") end def self.display_all_images find(:all, :order => "created_at desc&quo...
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
...rc is overritten to add the base url. I think this is wrong. R() should add the base url. most images won''t need the base url. if the image is generated by an action, I will use R. now, I can''t use the markaby img tag. I have to do. text "<img src=''#{post.picture.thumbnail_path}'' border=''0'' alt=''image'' />" cordially yours, -- gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby Everyone is trying their hardest to do their job but management has set it up so that...
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.