rename to get length of image name to under 30 chars