[mapserver-dev] Image Assets for OGC API Templates...

Tom Kralidis tomkralidis at gmail.com
Wed Sep 8 12:21:54 PDT 2021


IMHO, option 2 would be totally isolated and portable  And it would
work in protected/environments.  If that's too esoteric, then option 1 (we
could
have a base path var in the templates, but yes the user needs to web enable
them somehow).

..Tom




On Wed, Sep 8, 2021 at 2:41 PM Steve Lime <sdlime at gmail.com> wrote:

> Hi all: We'd like to incorporate some image assets (logo, favicon) into
> the HTML templates for OGC API responses - make things look nice. I see 3
> options:
>
>
>    1. Distributing those assets with the templates as files - requires
>    making them web accessible and probably would require template edits by a
>    user.
>    2. Use base64 encoded image URLs. Bloats the templates a bit but at
>    least it's isolated in a shared header.
>    3. Reference those assets at a stable location - preferably at
>    mapserver.org.
>
> I guess I'd prefer option 3 if possible but 2 could work. Thoughts?
>
> --Steve
> _______________________________________________
> MapServer-dev mailing list
> MapServer-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20210908/f2a29a83/attachment.html>


More information about the MapServer-dev mailing list