better commetns
fixed possible nullpointer ex
image info (resolution) helper