Handles long images too. Added some more examples. Still needs a good scrub.