similar to: Serve an image up from an action

Displaying 20 results from an estimated 400 matches similar to: "Serve an image up from an action"

2006 Feb 19
2
Sortable list (scriptalicious) and updating database
I have made a sortable list which is sortable by dragging & dropping the list elements. It works, but the order of the elements will not be updated in the database. Hopefully someone could help me, or tell me what I''m doing wrong. Thnx! Rgds, Eric Controller: album_controller.rb class AlbumController < ApplicationController def show_sort_album @photos =
2006 Mar 05
2
How to clean up this code?
Hi! I''ve got 2 tables: products and images. Product has_many images, image belongs_to product. In images table i store product_id and name of the image (not the image itself). I''ve created a single form, where user can add any number of images for a product he/she is creating (new fields are created using javascript). The images that are uploaded are saved to public/images
2005 Nov 23
1
assign() problem
I've written a piece of code (see below) to do a wavelet image decomposition, during the evaluation of this code I would like to write the results of some calculations back to the R root directory. I used assign() to do so because the names should vary when going thrue a while() loop. For some unknown reason I get an error that says: Error in assign(varname[i], imwrImage) :
2020 Jun 30
2
fdisk boot partition
I am trying to use CentOS 8 host to boot an image (OS X) that I created using dd. First I tried fdisk -l image_file.img - all looks good so I did fdisk image_file.img - this works - but seems in CentOS 8 fdisk there is no longer a toggle bootable flag option. How do I do that ? Thanks, Jerry
2006 Feb 19
2
Prototype Ajax + File Uploading-- How?
Good evening! I''m currently trying to submit some data and a file upload through Ajax. I''m using rails & prototype, and somewhere there''s a disconnect. I''m reasonably convinced the file upload isnt being sent at all, or if it is, Rails has absolutely no idea. The form itself heads with: <form onsubmit="new
2020 Jul 01
1
fdisk boot partition
On Jun 30, 2020, at 1:25 PM, John Pierce <jhn.pierce at gmail.com> wrote: > > On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis <jerry.geis at gmail.com> wrote: > >> I am trying to use CentOS 8 host to boot an image (OS X) that I created >> using dd. >> >> First I tried fdisk -l image_file.img ... > > > fdisk has been deprecated for quite a
2006 Aug 24
0
newbie problem: upload an image to filesystem
hi there, i''m trying my first app in ruby on rails, but unfortunately i cannot uplaod an image to the server and store the filename in a database. i tried the fileColumn plugin and the imagemagick, but i don''t know how to use them. can somebody please help? thx stefan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
2006 Apr 05
6
How to Upload Image through RoR??
Hi, I have one form , in which I am using file_field teg for input image file as follows. ===== <%= file_field("store", "picture") %> ======= Tha Actual fileld name of my Image field in Database is "store_photo" with datatype LargeBLOB. & Inside my Store Model I have specified "def picture" as follows:- ========================= def
2006 Aug 11
0
File column and rmagick not creating resizing some images
I am new to RoR. I am trying to use file_column and rmagick to resize images uploaded to my RoR app. The problem is that only images larger than the dimensions specified in my code will resize. For instance, if the uploaded image is 98x98, then the new images will remain that size. How can I enlarge images using file_column and rmagick? Here is the code in my model: file_column
2013 May 27
0
[Question] How to restore btrfs raid0 image file?
Hi, So the case is, now I''ve got a btrfs image file, which is created from a raid0 btrfs fs. And if I run ''btrfs-image -r image_file /dev/sdf'', then I have to mount it with ''degraded'' mode, and that still fails because raid0 requires two disks at least. So any ideas how to make it work? thanks, liubo -- To unsubscribe from this list: send the line
2020 Jun 30
0
fdisk boot partition
On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis <jerry.geis at gmail.com> wrote: > I am trying to use CentOS 8 host to boot an image (OS X) that I created > using dd. > > First I tried fdisk -l image_file.img ... fdisk has been deprecated for quite a long time, I think parted is the preferred command line tool now. -- -john r pierce recycling used bits in santa cruz
2008 Sep 18
2
Setting up Fleximage
Hello! I''ve been trying today to setup fleximage to handle photo uploads to a RoR application by following the tutorial that is provided (http://github.com/Squeegy/fleximage/wikis/gettingstarted) Originally, I just dropped in all of the sample code that they provided, which I copied below this question. - When I tried to access "new" to upload a new photo, I received an error
2006 May 05
0
RubyOnRails + FileUploads = Problems?
How does dropsend.com do this? I thought they are using ruby on rails to allow people to send large files? Chris -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Zed Shaw Sent: Thursday, May 04, 2006 5:27 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Mongrel + RubyOnRails + FileUploads = Problems? On
2011 Apr 29
3
running libguestfs as a service?
Hello, First off, many thanks for libguestfs... very useful! I'm trying to run libguestfs as an RPC service by using a python daemon with the python libguestfs bindings. With this service I'm "centrally" editing VM images, and often running many GuestFS() on the same image file in a short amount of time to edit the image's contents. The problem I'm running across is
2015 Jul 25
0
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
Hey guys, So I was able to modify dlltool to produce the exact same layout as lib.exe with the same section numbers etc. I've first managed to first create the correct section so that lld gives me link errors and then resolve those errors to create an exe. This is one thing that is still missing that sticks out like a sore thumb In the actual imports of the functions the objects are very
2015 Jul 25
2
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
> > For example the gnu linker provides the section with the stub code and the > offset for injection. Meant to say dlltool here not gnu linker :) On Sat, Jul 25, 2015 at 11:17 AM, Martell Malone <martellmalone at gmail.com> wrote: > Hey guys, > > So I was able to modify dlltool to produce the exact same layout as > lib.exe with the same section numbers etc. >
2005 Jun 05
2
pxelinux and DISPLAY
I've begun tinkering with syslinux v3 and have uncovered an anomoly with the DISPLAY file when called by pxelinux.0. If I have: DISPLAY boot.msg With an "^Xsplash.lss\n" in the file boot.msg (exactly: 18 73 70 6C 61 73 68 2E 6C 73 73 0A) file, it will fail to load the rle image. And produce some goofy results in the tftpd log: Jun 5 06:27:06 pxe in.tftpd[24649]: RRQ from
2011 Mar 21
1
[elflink] diskstart.inc:420: error: Sector 1 overflow by 5 bytes
Hi Feng, I'm currently hitting the overflow in core/diskstart.inc on the elfink branch where I see you changed the overflow check, commit 2e91ec5f155f04aee878ed70a04fb5b15e40da3b Author: Feng Tang <feng.tang at intel.com> Date: Wed Jul 14 15:55:25 2010 +0800 elflink: a lot of core/fs merge @@ -691,16 +798,22 @@ rl_checkpt equ $ ; Must be
2008 Jan 21
5
attachment_fu and story runner, any updates
I''m trying to write a story for a Rails app which involves using the attachment_fu plugin to upload images. After blunting my pick on this for a while, google found me this: http://www.ruby-forum.com/topic/134743#600831 So it seems that there''s a hole in Rails integration testing and multipart form posting. David offered to incorporate a patch to story runner at the end of the
2010 Jul 27
2
[PATCH] core: remove HAS_LOCALBOOT
HAS_LOCALBOOT is set unconditionally in config.inc. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> diff --git a/core/comboot.inc b/core/comboot.inc index 59db7ec..d6f670c 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -723,13 +723,9 @@ comapi_idle: ; ; INT 22h AX=0014h Local boot ; -%if HAS_LOCALBOOT comapi_localboot: mov ax,P_DX jmp local_boot -%else