[BUGFIX] Only show grid if extended captions is on and images count > 0

Fixes #39