Loading content data dynamically - No images?

  • mapper
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 months ago #4445 by mapper
the image is in infobubble tab1 field

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

  • mapper
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 months ago #4446 by mapper

Dima wrote: Hi.
I can only imagine, that when you set loading to NO, then the other plugin (content plugin) works and change this URL. And when you set to YES, it doesn't work, because of the ajax request, therefore this plugin doesn't change this URL.

I think you are right. I think this is the problem.

Is there a way to fix the code so that the ajax request would change the url?

Dima wrote: I suggest use full url to your image.

I tried to enter the full path for the image. It doesn't work bacause the editor strips the beginning of path from image url.

Thanks for your reply

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

More
10 years 2 months ago #4447 by Dima
But in infobubble you can add title and content.
If you enter image into content field ("HTML Text") I simple write it.

But if you enter loading to NO, the content of that fields in in page source, and it processed by content plugin. And you get URL from root.

If you set loading to YES, the content for this infobubble will loaded after the plugins execution. And you'll get the URL, which entered.

It is the same as I described above

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

More
10 years 2 months ago #4448 by Dima
For example, for JCE editor
Go to:
- JCE Administration :: Edit Profile - [Default]
- Cleanup & Output
- Relative URLs

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: mapper

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

  • mapper
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 month ago #4663 by mapper
Thanks for your assistance. We got this working now.

We have a multillangage site and that was the cause of the problem with images not loading. This was the problem: Language extension adds language code after url like this: siteroot/en

Turning off search engine friendly urls in joomla solved the problem!

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

More
10 years 1 month ago #4664 by Dima
Hi

As for images in JCE you can set not use related URL, in this case your images will be displayed correctly with enabled language extension addition code.

As for multilingual sites.
My placemarks don't support different translations.
Therefore you can use a trick
Create different maps for different languages.
On map details you can set language - in this case you forced set map language, ie all objects on map will be on definite language.
And you can create placemarks, which translated to different language.

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

Time to create page: 0.074 seconds

Donate


Go to top