Images don't show in error article
-
niklitsas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 9 hours ago #3797
by niklitsas
Hi,
I am new here, thanks for the great job you have done.
I just installed the component, made it working but when I set it to load an article as a custom error page, it doesn't show all the data in the article as I have set them. The greek fonts show broken and the images don't show at all.
Have any advice?
I use joomla 3.36 and editor jce
Thanks in advance,
Nikolaos
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 11 months ago - 9 years 11 months ago #3799
by admin
Hi,
probably the links are wrong when rendered by ReDJ. Can you post here (e.g. in a txt file) the HTML code of your article?
Thanks,
Luigi
Last edit: 9 years 11 months ago by admin.
The following user(s) said Thank You: niklitsas
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 11 months ago - 9 years 11 months ago #3800
by admin
The HTML code is:
<img src="images/logo2.png" alt="logo2">
So the FULL URL of the image built by the web browser is:
http://tsak.eu/index.php/en/images/logo2.png
Which is wrong. You should fix the img src path (e.g. add a slash behind) to be like the following:
http://tsak.eu/images/logo2.png
Kind regards,
Luigi
Last edit: 9 years 11 months ago by admin.
Please Log in or Create an account to join the conversation.
-
niklitsas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
9 years 11 months ago #3802
by niklitsas
Hi,
First of all, Many thanks for the instant help.
JCE editor produced the html code and I didn't notice the problem because I never have encountered any compatibility problems.
I set the path as "/images/logo2.png" and everything is ok.
With the font problem? I noticed that in greek fonts when there is a letter with punctus, it is broken and shows incorrect.
Maybe the editor? I tried Tinymc but the same. Or I have to load any font libary first?
If you know, please let me know because I don't know so much
Many thanks for the great help, I am grateful
Nikolaos
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 11 months ago #3804
by admin
Sorry,
I didn't noticed you just put the {articleid} macro in the error page, so if you see the whole html of your error page it contains just three rows, no header, no body.
You should build an html page (e.g. based on your site homepage) and put the macro for the content article inside it.
Kind regards,
Luigi
The following user(s) said Thank You: niklitsas
Please Log in or Create an account to join the conversation.
-
niklitsas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
9 years 11 months ago #3808
by niklitsas
Hi,
I made an html copy of a new menu "error 404" and pasted it in the html box of the component and evrything is ok.
Thanks,
You were great!
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds