Title: Set Post Image Path Name Programatically?
Last modified: November 16, 2020

---

# Set Post Image Path Name Programatically?

 *  [Glennf](https://wordpress.org/support/users/glennf/)
 * (@glennf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/set-post-image-path-name-programatically/)
 * I want to set the Image name in a post without logging into the blog and going
   to the post and updating it.
 * Is there any way programatically to set this custom Image URL path?

The topic ‘Set Post Image Path Name Programatically?’ is closed to new replies.

 * ![](https://ps.w.org/wonderm00ns-simple-facebook-open-graph-tags/assets/icon-
   256x256.gif?rev=2891184)
 * [Open Graph and Twitter Card Tags](https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags/)
 * [Active Topics](https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wonderm00ns-simple-facebook-open-graph-tags/reviews/)

## Tags

 * [og:image](https://wordpress.org/support/topic-tag/ogimage/)

 * 0 replies
 * 1 participant
 * Last reply from: [Glennf](https://wordpress.org/support/users/glennf/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/set-post-image-path-name-programatically/)
 * Status: not resolved