× Here you can get community support related to ReDJ.

Images don't show in error article

  • niklitsas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 week ago #3797 by niklitsas
Images don't show in error article was created 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
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 1 week ago - 9 years 1 week ago #3799 by admin
Replied by admin on topic Images don't show in error article
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 1 week ago by admin.
The following user(s) said Thank You: niklitsas

Please Log in or Create an account to join the conversation.

More
9 years 1 week ago - 9 years 1 week ago #3800 by admin
Replied by admin on topic Images don't show in error article
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 1 week ago by admin.

Please Log in or Create an account to join the conversation.

  • niklitsas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 week ago #3802 by niklitsas
Replied by niklitsas on topic Images don't show in error article
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.

More
9 years 1 week ago #3804 by admin
Replied by admin on topic Images don't show in error article
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
  • New Member
More
9 years 1 week ago #3808 by niklitsas
Replied by niklitsas on topic Images don't show in error article
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.112 seconds