Glossary Item Box

Overview: Overview

Client-side API: GalleryBox client side API

Deployment: Security settings

Controls: How to work with gallery

HowTo: How to create custom gallery

See Also AspLib component library Send comments on this topic.

GalleryBox

The control for working with MediaGallery - provides easy access to images, flashes, movies, documents or any other files from gallery. Users may upload files to server via gallery.

 

Features:

 

 GalleryBox view sample:

 

Gallery allows to:
Content type may be:
Type File extensions
Image *.gif, *.xbm, *.xpm, *.png, *.ief, *.jpg, *.jpe, *.jpeg, *.tiff, *.tif, *.rgb, *.g3f, *.xwd, *.pict, *.ppm, *.pgm, *.pbm, *.pnm, *.bmp, *.ras, *.pcd, *.cgm, *.mil, *.cal, *.fif, *.dsf, *.cmx, *.wi, *.dwg, *.dxf, *.svf
Flash *.swf
Media *.asf, *.asx, *.wm, *.wmx, *.wmp, *.wma, *.wax, *.wmv, *.wvx, *.avi, *.wav, *.mpeg, *.mpg, *.mpe, *.mov, *.m1v, *.mp2, *.mpv2, *.mp2v, *.mpa, *.mp3, *.m3u, *.mid, *.midi, *.rm, *.rma, *.rmi, *.rmv, *.aif, *.aifc, *.aiff, *.au, *.snd
Documents *.doc, *.pdf
Custom Depends on GalleryFileMask (default *.*)

User can upload content to the server if AllowUpload property of the GalleryBox equals true - overwise Upload tab in the Gallery dialog became disabled.

 

If you plan to use uploading of files to server into the gallery which is using database this database must be writable (not read only).

You can set maximum file size in KB for uploading to server - set MaxFileSizeKB property.

 

Getting details about selected element on server

If the control has an attribute AutoPostBack after pressing OK button all the attributes of selected object might be get using following properties of control:

Property name Description
PathToFile Path to the file
ParamWidth Width of the object
ParamHeight Height of the object
ParamLoop Shows that flash must be autoplay
ParamMenu Shows that flash must have menu
ParamAutoplay Shows that flash must play loops
ParamScale The flash scale string
ParamTarget The item target
ParamType The type of the item

Overview: Overview

Client-side API: GalleryBox client side API

Deployment: Security settings

Controls: How to work with gallery

HowTo: How to create custom gallery

 

 


© 2002-2007 Astron Digital. All Rights Reserved.