camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

Access static images in 1.6 #1589

Closed rbovard closed 9 years ago

rbovard commented 9 years ago

For some reasons, I access static files from custom HTML pages but I noticed that in 1.6 the scheme changed a bit:

For now, I used this syntax in my mako HTML file "http://${host}/${instanceid}/wsgi/proj/images/" but how can I get the 90bcdb7ea7504266a81f8e8a165a7d83?

Thanks

sbrunner commented 9 years ago

The 90bcdb7ea7504266a81f8e8a165a7d83 is generated dynamically than you can't solve all cache issue from static page, but to make it working you can replace it by whatever you want => http://geomapfish-demo.camptocamp.net/1.6/wsgi/project/whatever/img/edit.png will work :-)

rbovard commented 9 years ago

Nice and easy, thanks :)