Added basic img loading, not tested yet.