Photo adjust size. Javascript Adjust Image Width and Height