Fix #67: Per-image grid settings