fixed multiple image upload bugs and linked pages together