CKImage

Class/Module:
Class
In:
lib/cgikit.rb
Parent:
CKElement

Description

Creates an image tag.

Bindings

Required attributes: file, src, or data.

alt:Alternative text to the picture.
border:Size of image border.
width:Width of image.
height:Height of image.
file:Name of an image file in web server resource directory.
src:You specify an image file directly. This value prevails over "file" attribute.
data:A CKByteData object to display as image. If you create the object without resource manager, You must use this with "mime" attribute.
mime:MIME type for a resource of "data" attribute.

Programming Topics

Methods

own_attributes
run
to_s

Included modules

ElementAttribute

Public Class Methods

own_attributes()

Public Instance Methods

run()
to_s()