fixed camera button
added rotation code for images