created loadImg function to desplay the correct image for the mood of each event