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