The image types array is not being saved properly. When an image block is edited, the value of the image types is reset to NULL so it disappears.

After a bit of digging I found the offending line:
Line 586
in 'function _gallery_settings_block_save()'
$value = array_keys(array_filter($value));
Should be
$value = array_values(array_filter($value));

Thanks for a great module, keep up the good work.

Comments

profix898’s picture

Status: Active » Fixed

Bugfix committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.