Prepare upload page for iframe embeddability.