Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Image Upload w/Application in a sub-URL #147

Open
ut opened this issue Jun 18, 2015 · 0 comments
Open

Using Image Upload w/Application in a sub-URL #147

ut opened this issue Jun 18, 2015 · 0 comments

Comments

@ut
Copy link

ut commented Jun 18, 2015

I have a rails app with redactor-rails running in a sub-URL like http://www.domain.com/sub/. I could easily add the sub-URL to the paths at config.js for imageUpload, imageGetJson, etc. But I could not find a configuration to add the sub-URL for the image URL which is used for uploaded images within redactor. The URL starts directly with /system, which does not work, if the application runs in a subdirectory of domain:

<img data-verified="redactor" data-save-url="/system/redactor_assets/pictures/1/1505.jpg" src="/system/redactor_assets/pictures/1/1505.jpg">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant