ResourceImageRepository implementation :)