trying to fix photo upload bugs
fixed multiple image upload bugs and linked pages together