Regenerate resizes and thumbs after rotation
This commit is contained in:
parent
8562aff551
commit
08cd20fd4e
@ -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