Fix for image links in index view (missing counter)