add blocks to gallery