add trailing slash on image