Fixed some variable issues with the last example (images)