Does anyone know how to get ID's of images from wordpress gallery in post? I have search entire internet and there is nothing to this subject.
You can find out the IDs of which images are included in a gallery by switching to the Text editor tab and look for a piece of code like this:
The comma-separated list of image IDs are enclosed in the
If you're looking to find out IDs of existing images in order to manually create a gallery, you can visit the Media > Library admin menu and click on the Edit link under an image. In your browser's address bar, you should see something similar to the following:
The number after
Assuming that bungeshea is right and you want to retrieve the IDs of images attached to a gallery using PHP, you can filter