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

Relative path for inserted images #17

Open
porcelanosa opened this issue Nov 9, 2016 · 2 comments
Open

Relative path for inserted images #17

porcelanosa opened this issue Nov 9, 2016 · 2 comments

Comments

@porcelanosa
Copy link

I want save in DB text wit relative path for images and files.
For example like this

<p><img alt="" src="/storage/avatars/581f1855d7306.jpg"/>заметчательные воздушные шары.</p>

How I could make this?

@MihailDev
Copy link
Owner

@AlisherN
Copy link

AlisherN commented Nov 19, 2018

I have a problem like this. My admin url is admin.site-name.loc and frontend url is site-name.loc. When I try to upload an image, ckeditor image uploader sets a url like this: /path/to/upload/folder, and this url refers to the backend. However, I am uploading an image into frontend side. I need a url like this: http://site-name.loc/path/to/upload/folder. How could I do this?
image
image

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

3 participants