WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Publish/Updating post is changing image links

[Resolved] Publish/Updating post is changing image links

  • I have written a filter to wrap images included in posts with figure tags and their captions with figcaption tags. I turned off the visual editor so that it doesn’t strip out all the html from the images.

    That all seems to work fine until I publish or update the post. At this point the link to the full size image gets changed to /sitename/post-type/post-title/attachment/attachment-title/
    where before it was /sitename/assets/filename.jpg

    Can anyone help suggest why this is happening?

    Thanks

    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Publish/Updating post is changing image links’ is closed to new replies.