grabs data and puts into img elements