got images working correctly in eclipse