Post id for image in custom population method

Feature request: add post id in custom population method for image