public Image resizeImage(int intX, int intY) {
        if (isFile()) {
            if (intX >= 0 && intY >= 0) {
                File flTmp = new File(strFile);
                if (flTmp.canRead() && flTmp.isFile() && flTmp.exists()) {
                    Image imgOrig;                                                                                                            // Image object that will hold the original image
                    Image imgMain;
                    imgOrig = new ImageIcon(strFile).getImage();
                    imgMain = imgOrig.getScaledInstance(intX, intY, 0);
                    return new ImageIcon(imgMain).getImage();
                }
            }
            return null;
        } else if (isURL()) {
            if (intX >= 0 && intY >= 0) {
                Image imgOrig;                                                                                                            // Image object that will hold the original image
                Image imgMain;
                imgOrig = new ImageIcon(urlFile).getImage();
                imgMain = imgOrig.getScaledInstance(intX, intY, 0);
                return new ImageIcon(imgMain).getImage();
            }
        }
        return null;
    }