Added image block and made corrections

Changed other if statements to else if.

Added image block content