// the remaining variants.
for (Iterator i = images.iterator(); i.hasNext();) {
Variant variant = (Variant) i.next();
ImageMetaData image = (ImageMetaData) variant.getMetaData();
GenericImageSelection generic = (GenericImageSelection)
variant.getSelection();
int widthHint = generic.getWidthHint();
int currentWidth = image.getWidth();
if (widthHint != 0) {
int allowedWidth = (widthHint * deviceWidth) / 100;
if (currentWidth > allowedWidth) {
if (logger.isDebugEnabled()) {