fix images/thumbnails