add posts attachment