Change `return` statements to `next` in images

/cc @kansaichris