Skip to main content

Template Snippets

Comments

3 comments

  • Zendesk API User
    Author: mbergmann - 3/8/2019 21:09

    Hi David,

    I‘m not sure if I understand your problem correctly. Do you just want to use a „fixed“ image for a specific template?

    In this case, you can upload that image to the mediastore. Usually into a separate folder from which editors are not allowed to choose the picture in normal FS_REFERENCEs. Then use image’s uid (reference name) - e.g. "two_colums" - in the thumbnail part of the snippet definition like this:

    medium("two_columns")

    In case it’s not that simple and the picture should NOT depend just on the template itself - what is the "logic" to decide which thumbnail to use?

    Michael

    0
  • Zendesk API User
    Author: Price - 3/11/2019 7:25

    Hi Michael,


    Thanks for your answer, the issue here is that our images are not on the same server as the templates, therefore I am having issues with this way. we have one for the templates and another for all media.

    And yes the image should be fixed for a specific template.

    0
  • Zendesk API User
    Author: mbergmann - 3/11/2019 19:14

    Hi David,

    ok, but as those images are kind of „part of the template“ and only "UI features" for the editors it should be ok to also add them to the FirstSpirit project(s).

    Michael

    0

Please sign in to leave a comment.