technologiestiftung / bezirksregionenprofile

1 stars 0 forks source link

add possibility to add images #36

Closed AlexandraKapp closed 4 years ago

AlexandraKapp commented 4 years ago

make a new type in Google sheets (image-local), that converts to text. The image name shall be embedded in a HTML Tag:

=WENN(B2 = "image-local"; ("

<img src='/data/images/'" + IMAGE_NAME(datasource) ", alt='"+ ALT_TEXT(content) + "' height='250' width='auto'>

"))

new type with image-online:

=WENN(B2 = "image-local"; ("

<img src= IMAGE_NAME(datasource) ", alt='"+ ALT_TEXT(content) + "' height='250' width='auto'>

"))