implemented promises to load consecutive ig images