fixed problem with images loading into posts