Skip to content

Wrong image paths in rootrelative and fullpathurl mode #19

@gerritvanaaken

Description

@gerritvanaaken

Affects inserting images with advimage plugin. My image directory is set to "assets/images/" in file system settings.

In rootrelative mode
Image URL from MODx browser: "assets/images/myimage.jpg"
image preview url: "http://localhost/assets/components/tinymce/assets/images/myimage.jpg"
url of generated image after inserting: "/assets/components/tinymce/assets/images/myimage.jpg"

In fullpathurl mode
Image URL from MODx browser: "assets/images/myimage.jpg"
image preview url: "http://localhost/assets/components/tinymce/assets/images/myimage.jpg"
url of generated image after inserting: "http://localhost/assets/components/tinymce/assets/images/myimage.jpg"

In docrelative mode the urls are correct, but useless for websites with "friendly alias path". This is decsribed here as well: http://modxcms.com/forums/index.php/topic,55324.msg318337.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions