upload images into pages - fix