add filter to include images from ACF custom fields and populate correctly the attachment post_type posts