- Posts: 11
- Thank you received: 0
Loading content data dynamically - No images?
- mapper
- Topic Author
- Offline
- New Member
Less
More
11 years 1 week ago #3947
by mapper
Loading content data dynamically - No images? was created 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
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.
- admin
- Offline
- Administrator
Less
More
- Posts: 10
- Thank you received: 1
11 years 1 week ago #3948
by admin
Replied by admin on topic Loading content data dynamically - No images?
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
11 years 1 week ago #3949
by mapper
Replied by mapper on topic Loading content data dynamically - No images?
Can I send you a link by email. Our site is still in develepment phase and not open to public.
What's your email?
What's your email?
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 1 week ago #3950
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Loading content data dynamically - No images?
ZhukDL@gmail.com
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.
- mapper
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
10 years 9 months ago #4443
by mapper
Replied by mapper on topic Loading content data dynamically - No images?
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>
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.
- Dima
- Offline
- Platinum Member
10 years 9 months ago #4444
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Loading content data dynamically - No images?
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.
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.
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.183 seconds