Images are not displayed if text is added to the page - Forum

Forum Navigation
You need to log in to create posts and topics.

Images are not displayed if text is added to the page

Hello, friends!

I've started to modify little by little my ancient site and faced a little problem with displaying pictures.

When I add text to a page (Headline or Paragraph object, it doesn't matter), which already has pictures, then pictures stop displaying during compilation (during test and final compilation). In development mode the pictures are visible, displayed perfectly. But when compiling, in different browsers instead of pictures I see empty frames. All the pictures I need are in the Images folder. If I remove the text, the pictures will be displayed normally again. What am I doing wrong?

Here is the page (temporary address) where the pictures are not displayed: https://orgpsiholog.com/orgpsiholog-Web/#!/programs

Hi @vadim, the images are correctly compiled and referenced in the source code. For example:
https://orgpsiholog.com/orgpsiholog-Web/img/win300.jpg

There must be something within your own VisualNEO Web project that is preventing them to be shown, but it's imposible to know without taking a look at it.

Regards.

@luishp

Luis, hi! I must be missing something obvious, but not yet familiar to me.

I have isolated the problem to one page in the attachment.

 

Uploaded files:
  • You need to login to have access to uploads.

Hi @Vadim, You have a crash with Angular.js because you use brackets [ ] inside you text. I do not know exactly why, but if you remove them you will see your pictures. Hope this help you.

luishp has reacted to this post.
luishp

Hi @vadim, it's as @phil78 has noticed. You are using this kind of text:

[обновлена 25 января 2011]

VisualNEO think it's as a variable, but it's not a correct name for a variable and then crashes.
If you need brackets, when using HTML, try to change [ and ] for the HTML entities:

https://www.thoughtco.com/html-code-for-common-symbols-and-signs-2654021

Regards.

 

@phil78

@luishp

Oh, thank you so much!!! I really missed it again! :)

Thanks again! By replacing the square brackets with round brackets I solved the problem!

@luishp
And using mnemonics or html code doesn't help. They seem to be recognized as a variable pointer anyway.

And using mnemonics or html code doesn't help. They seem to be recognized as a variable pointer anyway.

@vadim I think that's because you are using a Paragraph object. Use a Container instead and add the HTML code directly. In a Paragraph object the visual editor will transform the HTML code again to brackets automatically.

Vadim has reacted to this post.
Vadim

@luishp
Got it! Thank you very much, Luis!

luishp has reacted to this post.
luishp