Use item_image_gallery() to use a default icon for non-image files.