Added 'popup' parameter for image upload form to show/hide the navbar and footer.