Download and gallery backend