Regenerate resizes and thumbs after rotation
This commit is contained in:
parent
9e3c0c0884
commit
3caf2b595a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user