added basic supprt for pictures
added proportional scaling and storage