Thumbnail

Table of Contents

Thumbnail

The thumbnail component allows the user to preview either the picture using a device's camera (if iPad, iPhone, Blackberry or Android device). Once the camera or camcorder have completed capturing and accepted (Use), the thumbnail will automatically be calculated and will appear prior to upload. There is not representation or value for this component on the server or in any of the backing beans. This is strictly a view strategy for use in the embedded client container.

Usage

An embedded container supported by ICEfaces mobility, must be present in order to use this component for representing either scaled down image of <mobi:camera> or <mobi:camcorder>

  1. There is only ever just one attribute a "for" attribute which must represent the mobility camera or camcorder component.
<h:form prependId="false" enctype="multipart/form-data" >
   <mobi:camera id="camera" 
       value="#{cameraBean.cameraImage}"/>
   <mobi:thumbnail for="camera"/>
   <h:commandButton type="button"
       actionListener="#{myBean.processUploadedImage}"
       onclick="ice.s(event, this);"
       value="Upload"/>
</h:form>

Component Documentation

thumbnail
camera
camcorder

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2016 ICEsoft Technologies Canada Corp.