Prepare to built gallery