Added another helper shortcode

It checks if an attachment is an image