Finally fixed the image sizing problem. Got rid of the foundation th class