On 2021-05-25 10:44 am, [email protected] wrote:

OK just checking - will have to scale the images..

while we are here - lets imagine two properties
ex:thumbnail <a image>
ex:graphic <a bigger image>

can we define a shape that displays the thumb with a link to the full image in a popup or new tab if present, otherwise just displays the full image ?

You could even do all this with a single property. Simply make the values rdf:HTML literals such as

"""<a href="http://large.image><img src="http://thumbnail";></img></a>"""^^rdf:HTML

If you cannot use that approach, you'd need to define your own widget that takes the image URL and renders it in the way you want.

Holger



On Tuesday, 25 May 2021 at 08:43:56 UTC+10 Holger Knublauch wrote:

    No sorry, there are no such options. The complete source code of
    the ImageViewer is basically

    <imgclassName="ImageViewer"src={this.props.value.uriĀ ?
    this.props.value.uriĀ : this.props.value.lex}/>

    If the size applies to all ImageViewers you could theoretically
    add them to the CSS class "ImageViewer".

    What is your particular requirement: do you want to set a max-width?

    One option that is guaranteed to work is to scale the images
    themselves :)

    Holger


    On 2021-05-24 5:38 pm, [email protected] wrote:
    Are there any options for controlling image size in inline
    displays using the ImageViewer ? --
    You received this message because you are subscribed to the
    Google Groups "TopBraid Suite Users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/topbraid-users/1517a0e5-acad-4817-8108-ef2343db2fe7n%40googlegroups.com
    
<https://groups.google.com/d/msgid/topbraid-users/1517a0e5-acad-4817-8108-ef2343db2fe7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/531efc93-1383-481b-9f89-f82361e534a1n%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/531efc93-1383-481b-9f89-f82361e534a1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/623c5dae-cdf9-2e57-8735-2a856ab5aea1%40topquadrant.com.

Reply via email to