added view frame of jpeg images