File file = ftp.retrieve(imgSrcPath);
imageScale.resizeFix(file, file, reMinWidth, reMinHeight,
getLen(imgTop, imgScale),
getLen(imgLeft, imgScale), getLen(imgWidth,
imgScale), getLen(imgHeight, imgScale));
ftp.restore(imgSrcPath, file);
} else {
String ctx = request.getContextPath();
imgSrcPath = imgSrcPath.substring(ctx.length());
File file = fileRepository.retrieve(imgSrcPath);
imageScale.resizeFix(file, file, reMinWidth, reMinHeight,