Truncate image_cache filename to keep it in its database field.