mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
Updated mage-card-plugin.
This commit is contained in:
parent
f78b4017bf
commit
c0da5e1fa0
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -168,7 +168,7 @@ public class ImageCache {
|
||||||
BufferedImage image = getResizedImage(original, Constants.THUMBNAIL_SIZE_FULL);
|
BufferedImage image = getResizedImage(original, Constants.THUMBNAIL_SIZE_FULL);
|
||||||
File imagePath = new File(path);
|
File imagePath = new File(path);
|
||||||
try {
|
try {
|
||||||
log.info("thumbnail path:"+path);
|
//log.debug("thumbnail path:"+path);
|
||||||
ImageIO.write(image, "jpg", imagePath);
|
ImageIO.write(image, "jpg", imagePath);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error(e,e);
|
log.error(e,e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue