Add thumbnail styling to inline img