call the imageService function if present
merge and build