Made images flexible