Skip to:
Content
Pages
Categories
Search
Top
Bottom

Images on Latest Posts vs. Blogs

Viewing 3 replies - 1 through 3 (of 3 total)

  • Boone Gorges
    Keymaster

    @boonebgorges

    The problem is that the src path is relative. On your blog, the path is relative to the correct place. Once the item has been republished, the reference is no longer valid.

    I suppose you could write a filter for bp_activity_content that would detect this kind of code, call up the correct URL of the blog, and rewrite the src path as an absolute path. Not sure how consistent it would be across different blogs, though.


    jivany
    Participant

    @jivany

    Are you manually entering that relative URL? You may want to consider using the WP Media manager and uploader as I believe it defaults to inserting fully qualified paths (domain name and all). This would prevent the issue you’re seeing.


    dizziness
    Participant

    @dizziness

    Thanks for the help. The problem is that the main blog is not in a subdirectory. If I add a new blog, the image on the blog activity page and on the entry page both work. But these main blog is not in its own subdirectory but falls in the install root.

    Is there anyway to modify the theme to call for links with the full path or a modified relative path?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images on Latest Posts vs. Blogs’ is closed to new replies.
Skip to toolbar