search for: path_to_imag

Displaying 8 results from an estimated 8 matches for "path_to_imag".

Did you mean: path_to_image
2013 Mar 29
3
ovf conversion
I try do use one of the images available from [1] These images comes in two flavors, one vmx, one ovf. I do not know how to convert one of these to centos6-libvirt-kvm virt-convert gives me an error $ virt-convert -i ovf -o virt-image path_to_image.ovf ERROR Couldn't convert disks: Disk conversion failed with exit status 1: qemu-img: Could not open 'path_to_image.vmdk' The vmdk does exist. It seems that qemu-img can not handle this vmdk format. I am also not sure if v2v could do it. I think the essence of my post is the ques...
2006 May 11
4
modelling data to specify user access
...olds all the images, and divide it out into portfolio and galleries. I am sitting down mapping the data right now, but I am not sure how to handle this. How many tables to I need and how do I map them together? So far I have these tables: Users *ID *username *password Images *ID *image_name *path_to_image *path_to_thumbnail Galleries *ID *gallery_name and then I''m not sure about: Gallery_Names? User_Access? I''d appreciate help if anyone has had experience with this before... Jason -- Posted via http://www.ruby-forum.com/.
2009 Jul 24
5
padawan seeks advice from jedi masters to create toggle box via ajax/rjs before slitting wrists with ruby powered light-saber.
I AM TRYING TO MAKE A DAMN TOGGLE BOX, BUT USING MY OWN GRAPHIC AND HAVING THE MOUSECLICK TRIGGER BOTH SWITCHING THE GRAPHIC (via AJAX) AND SAVING THE STATE IN THE DATABASE. I GOT IT ALL WORKING WITH NORMAL HTML GET CALLS TO THE SERVER, BUT I NEED IT TO BE AJAXIFIED SO THAT THE PAGE DOESN''T RELOAD. AND TO COMPLICATE MATTERS, IT HAS TO WORK IN A TABLE WITH AN ARBITRARY NUMBER OF ENTRIES,
2008 Jun 09
10
Testing file attachment with Paperclip
Does someone have an example on faking a file upload for just ensuring it gets called, without actually uploading the file to s3. I thought that stubbing Model.has_attached_file would be enough, but it doesn''t seem so ... This is what I did: Video.stub!( :has_attached_file ).with( :name ).and_return( true ) has_attached_file is from paperclip, it gets mixed to the model. 1)
2007 Aug 14
0
HVM Suse from iso don''t start correcty in Debian Dom0
...this config file: gamma.hvm kernel="/usr/lib/xen-3.0.3-1/boot/hvmloader" builder=''hvm'' device_model=''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' memory=512 name=''gamma'' vif=[ ''type=ioemu,bridge=xenbr1'' ] disk=[''file:/path_to_image/gamma.img,ioemu:hda,w'',''file:/path_to_iso/openSUSE- 10.2-GM-DVD-x86_64.iso,hdc:cdrom,r''] boot=''d'' vnc=1 vncviewer=1 xm create gamma.hvm start correcty, but when I''d like view with "vncviewer localhost", the pop up window appear, but...
2009 May 25
0
NameError (uninitialized constant FileColumn::Magick::ImageList
Hi, I have been using RMagick and File Column in my app together without a problem, but when I tried to add in some new functionality in my model where I use file_column, I got the error in the subject line. The offending line in my code is: image = Magick::ImageList.new(path_to_image) Has anybody ever seen this problem when using the two libraries together? I have tried adding in a require ''RMagick'' and an include Magick, but that doesn''t seem to clear up the (apparent) namespace issues. Any ideas here would be appreciated. Thanks, Simon
2007 Dec 01
3
Rails 2 problem with compute_public_path
...;>Enter code:</td> 64: <td><%= text_field_tag :code %></td> vendor/rails/actionpack/lib/action_view/helpers/ asset_tag_helper.rb:350:in `compute_public_path'' vendor/rails/actionpack/lib/action_view/helpers/ asset_tag_helper.rb:350:in `path_to_image'' vendor/rails/actionpack/lib/action_view/helpers/ asset_tag_helper.rb:390:in `image_tag'' app/views/users/new.rhtml:61:in `_run_rhtml_47app47views47users47new46rhtml'' vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb: 224:in `fields_for''...
2008 Dec 10
12
image_tag cannot show picture
Dear all I am new to rails. In view, I place the following code, but cannot show the picture in the webpage <%= image_tag("green.JPG") %> However, I can access the picture in this url http://localhost:3000/images/green.JPG The HTML source code generated <img alt="Green" src="/images/green.JPG.?1228211220" /> I cannot identify the problem. Please help