custom uploadmedia callback support