Added default attribute for images
Added list type support