Is it possible to get the second image from the gallery with the post_id
?
I usually work with get_the_post_thumbnail
but in this case I would like to get the second image from the post gallery, so a different image from the post's featured image.
Does exist some tutorial to get it?