private void selectImageSizing() {

		int oldValue = thumbSize;

		if (imageSizeX < THUMB_MIN && imageSizeY < THUMB_MIN) {
			realImgPath = ImageBrowser.projectName + "\\thumbs\\" + image.image_id + "_" + THUMB_MIN + ".jpg";
			thumbSize = THUMB_MIN;
		}
		else if (imageSizeX < THUMB_SMA && imageSizeY < THUMB_SMA) {
			realImgPath = ImageBrowser.projectName + "\\thumbs\\" + image.image_id + "_" + THUMB_SMA + ".jpg";
			thumbSize = THUMB_SMA;
		}
		else if (imageSizeX < THUMB_MED && imageSizeY < THUMB_MED) {
			realImgPath = ImageBrowser.projectName + "\\thumbs\\" + image.image_id + "_" + THUMB_MED + ".jpg";
			thumbSize = THUMB_MED;
		}
		else if (imageSizeX < THUMB_MAX && imageSizeY < THUMB_MAX) {
			realImgPath = ImageBrowser.projectName + "\\thumbs\\" + image.image_id + "_" + THUMB_MAX + ".jpg";
			thumbSize = THUMB_MAX;
		}
		else {
			realImgPath = "void";
			thumbSize = 0;
		}

		if (thumbSize != oldValue) {
			sizeChanged = true;
		}

	}