change homeUrl to baseUrl in getImageUrl
identation in thumbs