add attachment to gallery