Exam image script have more to do about image sizes.
details:
image script had problem with small images .