Index: ../src/java/org/apache/myfaces/custom/inputHtml/InputHtml.java
===================================================================
--- ../src/java/org/apache/myfaces/custom/inputHtml/InputHtml.java	(revision 332323)
+++ ../src/java/org/apache/myfaces/custom/inputHtml/InputHtml.java	(working copy)
@@ -54,6 +54,8 @@
     private Boolean _showTablesToolBox;
 	private Boolean _showCleanupExpressionsToolBox;
     private Boolean _showDebugToolBox;
+    
+    private String _imageLibrary;
 
     public InputHtml() {
         setRendererType(DEFAULT_RENDERER_TYPE);
@@ -69,9 +71,10 @@
 
         values[1] = display;
 
-		String[] types = new String[2];
+		String[] types = new String[3];
 		types[0] = _fallback;
 		types[1] = _type;
+                types[2] = _imageLibrary;
 
         values[2] = types;
 
@@ -107,6 +110,7 @@
 		String[] types = (String[]) values[2];
 		_fallback = types[0];
         _type = types[1];
+        _imageLibrary = types[2];
 
         Boolean[] toolBarButtons = (Boolean[]) values[3];
         _allowEditSource = toolBarButtons[0];
@@ -122,6 +126,16 @@
 		_showCleanupExpressionsToolBox = toolBoxes[5];
         _showDebugToolBox = toolBoxes[6];
     }
+    
+    public String getImageLibrary(){
+   		if (_imageLibrary != null)
+   		    return _imageLibrary;
+    	ValueBinding vb = getValueBinding("imageLibrary");
+   		return vb != null ? (String)vb.getValue(getFacesContext()) : null;
+    }
+    public void setImageLibrary(String imageLibrary){
+   		this._imageLibrary = imageLibrary;
+    }    
 
     public String getStyle(){
    		if (_style != null)
