Previewing/rendering images from relative path #1347
Answered
by
Alex-D
margarizaldi
asked this question in
Q&A
-
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.
Answered by
Alex-D
Dec 14, 2022
Replies: 2 comments 2 replies
-
Why not just use the absolute path?
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Alex-D
-
Haven't tried but won't the editor be looking for |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why not just use the absolute path?
<img src='/images/img-1.jpg />