Page 1 of 1

Popup thumbnail image

Posted: Sat 23 Jul 2016 2:03 am
by liddelljs
Hi all,
Hoping someone can assist me with my almost non-existent html skills. I have added an almanac page to my website (http://jandakotwa.dyndns.org/almanac.htm) using the MX webpage templates. The page is just a simple table of data from my local meterology bureau with a popup chart for each item. The popup chart is called by clicking on a small thumbnail image. When I open the template file (almanacT.htm) in a browser, all looks good with the thumbnail images visible. When the template files gets processed by MX however, the thumbnail image just shows as a missing image link. Try as I might, I cannot get the image to display. The link still works fine and the popup charts display fine also. I tried to upload the template file but the upload was rejected as a possible attack vector. The line I have in the template file to call the thumbnail (thumbnail filename is download.jpg) and the popup chart is:

<td><a href="#" onClick="MyWindow1=window.open('webfiles/charts/MinTemp.png','MyWindow1','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=300,left=600,top=350'); return false;"><img src="webfiles/images/download.jpg" style="width:20px;height:20px;border:0;"></a></td>

Cheers
Steve

Re: Popup thumbnail image

Posted: Sat 23 Jul 2016 4:06 am
by beteljuice
That page is trying to load two versions of the image that 'makes' the link.

"NetworkError: 404 Not Found - http://jandakotwa.dyndns.org/webfiles/i ... wnload.jpg"
download.jpg
"NetworkError: 404 Not Found - http://jandakotwa.dyndns.org/webfiles/i ... wnload.png"
download.png

As you can see .. neither exist at the given location !

Re: Popup thumbnail image

Posted: Sat 23 Jul 2016 6:56 am
by liddelljs
Thanks - problem solved