ImageBam Remote Upload Widget (BETA)

About

The ImageBam remote upload widget enables users to upload and share photos without ever leaving your site. The widget is a perfect complement to forum posting pages and webpages where users need to host and share images. Installing the widget requires only a few lines of code and is fully customizable.

Example

Flash Content


Example Text Area (could be a forum post input box, comment input box, etc.):

Installation:

Include <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> in your header.
Include following Javascript below the DOM-element that is being used as container for the flash movie.

<div id="ImageBamWidgetContainer"></div>
<script type="text/javascript">
    ibw_code_type = "bb";
    ibw_textarea_id = "targetTextareaId"; // replace this with the correct ID
    ibw_container = "ImageBamWidgetContainer";
</script>
<script type="text/javascript" src="http://www.imagebam.com/files/imagebam-widget.js"></script>

Options

ibw_container (mandatory):
the ID of the DOM-element where the flash object will be inserted

ibw_textarea_id (mandatory):
the ID of the textarea where the code should be inserted

ibw_code_type (mandatory):
"html" output code in HTML-format
"bb" output in BB-format

ibw_content_type:
"SFW" only allow uploads to be marked as SFW
"NSFW" only allow uploads to be marked as NSFW
"" allow both options

ibw_css_class:
name of the css class that should be used in the HTML-formated output

ibw_callback:
function to replace the standard callback function

ibw_font_color:
6 character color code - e.g. FFFFFF

ibw_background_color:
6 character color code - e.g. FFFFFF

Help

If you need help please post in our technical support forum.