Page 1 of 1

Phoca map does not display image

Posted: 03 Sep 2012, 09:39
by Aladdin
Hi !

For some reason image (in popup window)is not showing .

Any help ?

Re: Phoca map does not display image

Posted: 24 Sep 2012, 23:01
by Jan
Hi, do you get some javascript error message on your site?

Re: Phoca map does not display image

Posted: 26 Mar 2013, 18:58
by gomi
Very funny - i have the same error - and i found something:

Editor JCE =

Code: Select all

<p><img alt="" src="images/references_logos/xx.png" /></p>
The image was not showing in the popup

Editor tiny MCE=

Code: Select all

<p><img src="images/references_logos/xx.png" border="0" alt="" /></p>
The image was shown

The difference is the position of

Code: Select all

alt=""
if alt is behind "img" the image was not shown !

After a few tests:
Is something betwen

Code: Select all

src="images...
and

Code: Select all

"<img.."
the image will not shown.




p.s: joomla is up to date

Re: Phoca map does not display image

Posted: 30 Mar 2013, 13:36
by Jan
Hmm, no javascript error? Really no idea what this can be a problem? :idea:

Re: Phoca map does not display image

Posted: 02 Apr 2013, 23:59
by gomi
Hello jan,
the problem is also that every editor changes the position of the code....
thats horrible to work with.... (more than 200 markers.....) :-( :cry:

Re: Phoca map does not display image

Posted: 07 Apr 2013, 00:15
by Jan
Hi, really no idea what is done by the editors :-(

Re: Phoca map does not display image

Posted: 14 Apr 2013, 13:06
by gomi
Jan wrote:Hi, really no idea what is done by the editors :-(
Hello jan - im sorry but its so annoying ~ over 200 markers :cry:

here are samples:

JoomlaCK:
(code has been cleaned up before)

Code: Select all

			<td rowspan="4" style="text-align: center; vertical-align: middle;">
				<a href="http://..." target="_blank"><img alt="" src="images/../......jpg" /></a></td>
			<td>
The editor sets "img alt" before the image source regardless what you doing in the marker - one simple "save" does it

JCE:
(code has been cleaned up before)

Code: Select all

<td style="text-align: center; vertical-align: middle;" rowspan="4"><a href="http://...." target="_blank"><img alt="" src="images/...../....jpg" height="70" width="70" /></a></td>
TinyMCE
(code has been cleaned up before)

Code: Select all

<td style="text-align: center; vertical-align: middle;" rowspan="4"><a href="http://...." target="_blank"><img src="images/.../.....jpg" border="0" alt="Tromso Airport" width="70" height="70" /></a></td>
only TinyMCE sets >>alt=""<< after the img source.

TinyMCE is nice but he changes styles definitons etc etc.. JCE or Joomla CK is much better.

It seems as if the plugin only at the beginning of the code the part "img src" searches...
If something else is behind >>img<< as the awaited >>img src..." the rest will be ignored....
Do you really think the editor is the problem - i think not?

please help :?

Re: Phoca map does not display image

Posted: 14 Apr 2013, 23:56
by Jan
Hi, really no idea how this can be related to the displaying (changing the alt position) I am testing it and see no problem there:

https://www.phoca.cz/joomlademo/phoca-maps
E.g. here tinymce was used, and the code is:

Code: Select all

<div>Prague - Carl\'s Bridge</div><div><img src=\"/joomlademo/images/prague/prague2.png\" border=\"0\" /></div>
No idea, but the the alt tag was not set ???
Images displayed normally, but I have set the alt on my localhost to the code manually and no problem there ??? ... so maybe try to check the path of the image, if this is the same :idea:

Jan

Re: Phoca map does not display image

Posted: 25 Feb 2014, 12:17
by Thosi
Hi Jan,
I got the same problem. Images don't show up in marker popups.
In my case I found that JCE is configured to use relative paths for images. Images with relative path are not shown. When I copy/paste the full path (http : //..) in source mode it works.

Example

dh.steinlein-media.com/information/dh/kontakt.html

Re: Phoca map does not display image

Posted: 01 Mar 2014, 10:32
by Jan
So, hmm, when you switch to standard editor, e.g. tinymce, it is working Ok?