Previewing/rendering images from relative path #1347
-
I have a very simple project which the admin page is in the different path with the frontend (no router, just directory based urls)
I need the admin user able to manually type some relative link and see the preview on the editor...
How to achieve that? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Why not just use the absolute path?
|
Beta Was this translation helpful? Give feedback.
-
Haven't tried but won't the editor be looking for |
Beta Was this translation helpful? Give feedback.
Why not just use the absolute path?
<img src='/images/img-1.jpg />