modified usemin for images