get images working properly