1
0

Regenerate resizes and thumbs after rotation

This commit is contained in:
Romain LE DISEZ 2010-05-17 21:37:22 +08:00 committed by Tim Almdal
parent 8562aff551
commit 08cd20fd4e

View File

@ -48,6 +48,9 @@ class jhead_event_Core {
$image_info = getimagesize($item->file_path());
$item->width = $image_info[0];
$item->height = $image_info[1];
$item->resize_dirty = 1;
$item->thumb_dirty = 1;
$item->save();
graphics::generate($item);
}
}