Thanks again. It is working… BUT it`s showing only custom-field-name of the first attached image under every image that I attached to this post.
What I mean:
1. First image
custom-field-name1
2. Second image
custom-field-name1
3. Third image
custom-field-name1
And it supposed to show:
1. First image
custom-field-name1
2. Second image
custom-field-name2
3. Third image
custom-field-name3
I hope I wrote it clearly 🙂