AWBinding filenameBinding = (AWBinding)bindingsHashtable.remove(BindingNames.filename);
if (!filenameBinding.isConstantValue()) {
throw new AWGenericException(getClass().getName() + ": \"filename\" binding must be constant.");
}
String filename = filenameBinding.stringValue(null);
AWMultiLocaleResourceManager resourceManager = AWConcreteApplication.SharedInstance.resourceManager();
AWImageInfo imageInfo = resourceManager.imageInfoForName(filename);
String imageUrl = imageUrl(imageInfo, filename);
AWEncodedString width = widthString(bindingsHashtable, imageInfo);
AWEncodedString height = heightString(bindingsHashtable, imageInfo);
String widthString = width.string();
String heightString = height.string();