-
Zh GoogleMap
-
Component
-
Loading content data dynamically - No images?
Loading content data dynamically - No images?
-
mapper
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
10 years 5 months ago #3947
by mapper
Hi,
We have been trying use the "Loading content data dynamically" option in Map options. We have hundreds of of placemarks with images in our site and that option would hopefully make page loads faster.
The problem is that images are not displayed in placemarks when we use this option. We have tried both jquery(2.0.3) and mootools. mootools and jquery are loaded inside our templates head tag.
Our Joomla version is 2.5.14 and we are using the latest versions of Zh GoogleMap.
Is it possible to use images in placemarks when using "Loading content data dynamically" option?
Thanks
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 10
-
Thank you received: 1
-
-
10 years 5 months ago #3948
by admin
Can you give me link to your page. I can't say you anything without looking at page and it's source
Please Log in or Create an account to join the conversation.
-
mapper
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
10 years 5 months ago #3949
by mapper
Can I send you a link by email. Our site is still in develepment phase and not open to public.
What's your email?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
10 years 5 months ago #3950
by Dima
This email address is being protected from spambots. You need JavaScript enabled to view it.
Please Log in or Create an account to join the conversation.
-
mapper
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
10 years 2 months ago #4443
by mapper
Unfortunately you weren't able to acces our site.
I forgot about this problem for a while. Today I started thinking about again.
Here's where I think the problem is:
I'm using "Loading content dynamically": Mootools option.
When clicking inspect element where the image should be, the src is incorrect.The Joomla site root directory is missing from the source.
<img width="432" height="324" border="0" alt="" src="images/placemarks/picture1.JPG"></img>
When "Loading content dynamically" is set to "No", the path is correct and image is shown in placemark.
<img width="432" height="324" border="0" alt="" src="/siteroot/images/placemarks/picture1.JPG"></img>
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
10 years 2 months ago #4444
by Dima
Hi.
Sorry, but what image is?
Where you enter it. I'm not process width and height.
I think you enter it into Addition HTML field. I don't process URL's, convert it and so on.
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 suggest use full url to your image.
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Loading content data dynamically - No images?
Time to create page: 0.077 seconds