fixed some style bugs, django issues with image tags