[ka-Map-users] JPEG output (and caching)
Daniel Morissette
dmorissette at dmsolutions.ca
Tue May 24 15:18:28 EDT 2005
Armin Burger wrote:
> Jacob,
>
> this problem should be related to the line 109 in tile.php:
>
> $szCacheFile = $szCacheDir."/".$szTileId.".png";
>
> Here the image extension is hardcoded and the browser cannot find the JPEG
> files because it looks for PNG's. I modified it to
>
> szCacheFile = $szCacheDir."/".$szTileId.$GLOBALS['szImageExtension'];
>
> and it worked fine for JPEG definition.
>
Thanks. I have applied this fix in CVS:
http://bugzilla.maptools.org/show_bug.cgi?id=1049
Daniel
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the ka-Map-users
mailing list