Add generated styles for image elements