1
0

Regenerate resizes and thumbs after rotation

This commit is contained in:
Romain LE DISEZ 2010-05-17 15:37:22 +02:00
parent 9e3c0c0884
commit 3caf2b595a

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);
}
}