Fixed a bug ( portfolio page renders empty img tags if a post contains multiple images)