implemented photo opener and dimensions fixes