similar to: File_column and rmagick options

Displaying 11 results from an estimated 11 matches similar to: "File_column and rmagick options"

2007 May 02
1
problem in: img_options["size"] = img_size
hi guys, I have show_image problem. I have the following code in application_helper.rb in my rails project def show_image(src,img_size) img_options = { "src" => src.include?("/") ? src : "/images/#{src}" } img_options["src"] = img_options["src"] + ".gif" unless img_options["src"].include?(".")
2006 Apr 07
4
file_column and animated gifs
hi, is it possible to resize animated gifs with file_column? if i upload an animated gif file with file_column than the animation no longer exists... -- Posted via http://www.ruby-forum.com/.
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!" } },
2007 Mar 28
5
link_to best practice
I''m looking for best practice for creating a hyperlink which has both an icon and text. I am currently using this in my view: <%= link_to image_tag(''icons/add.png'', { :align => ''absmiddle'', :border => 0, :size => ''16x16'', :alt => ''New education record'', :title => ''New education
2014 Mar 14
2
[LLVMdev] [ARM] [PIC] optimizing the loading of hidden global variable
Hi Tim, The global merge pass puts the GVs into a sturcture to guarantee their address are contiguous. It works for static GVs but for global hidden GVs, this will cause name resoltion fail during linking .o into .so Any thoughs? Thanks, Weiming > Hi Weiming, > > On 12 March 2014 17:43, Weiming Zhao <weimingz at codeaurora.org> wrote: >> Clang will emit 1 GOT entry for
2014 Mar 12
3
[LLVMdev] [ARM] [PIC] optimizing the loading of hidden global variable
Hi, When I’m compiling a code with –fvisibility=hidden –fPIC for ARM, I find that LLVM generates less optimized code than GCC. For example: test.cpp: void init(void *); int g0[100]; int g1[100]; int g2[100]; void foo() { init(&g0); init(&g1); init(&g2); } Clang will emit 1 GOT entry for each GV and 2 instructions to get the address: ldr
2008 Oct 22
0
a question about linux/asterisk/commands
hi; I'm curious, is there a way, after i set up an admin ivr one needs a password to enter, to make for say option 7 for say give me current bandwith usage information? Let me tell you what i do now and you could give me your ideas. First of all i have a user, mbabcock that i ssh with, I'm using the latest of freepbx and right now how i get the status for me is typing vnstat and
2008 Sep 05
5
Only 1 more thing to switch to linux - Trackmania
Is there a way to make this game work under Wine, becouse it doesn't wok (TMNF) and it is one of the last things that stops me from moving to linux 100% Well, I install it normally (double click) and everything, but when I press Start game it crashes and nothing works. My computer: - Up-to date Ubuntu - Core2Quad Q6600 - ATI/AMD radeon 3870 - restricted drivers - 4G of RAM - I've tried
2009 Jul 26
0
Centos 5.3 on HP 2133 Mini-Note
Harris O. Centos 5.3 on HP 2133 Mini-Note http://wiki.centos.org/HowTos/Laptops/HP/HP2133 --- CentOS 5.3 on HP 2133 --- HP 2133 - 120 GB - 1 GB ram - Via C7 1.6 GHZ Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) VGA compatible controller: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01) 1. Install CentOS 5.3 on to your USB
2009 Jul 20
2
Installation of CentOS 5.3 on to Hp 2133
Hello. For couple of days ago i was searching google for some howto on installing Centos 5.3 on HP 2133 but i didnt found any. Since i have managed to install it on my HP 2133 i wrote on howto as well. I just need 2 things to be changed / defined better and its installing ndiswrapper (wich i did but im not so sure that i took right .rpms but it works), and second one is Installing 7zip on centos
2009 Sep 22
14
Creating a paravirtualized guest with Xen 3.4.1 and Centos 5.3 (64bit)
Hi, I have a set of 32bit HVM images running fine under Xen 3.2.1 and Xen 3.4.1. Due to performance issues with the fully virtualized setup, I would like to migrate one of those images to a paravirtualized image to compare the network performance. As I do not have a Xen-aware kernel for that VM, I thought the best would be to provide one from outside. Sounds like an easy task, doesn''t