don't break tag on small images
refactor
Merge pull request #6801 from guardian/tagfix

don't break tag on small images