images upload page and other fixes