Image rotation by anntator

A quick question:

In the enterprise version, how can annotator to rotate an image? I saw rotation buttons (left, right) in the community version.

thanks

What labeling config do you use?

Do you mean the labeling interface code?

yes, Project settings > Labeling Interface > Code

This is a piece of code:

<view>
   <View style="display: flex;">
     <View style="height: 600px; width: 500px; padding: 0em 0em; background: #f1f1f1; margin-right: 0em; border-radius: px; overflow: auto;">
       <View style="position: sticky; top: 0">
         <Repeater on="$document" index_flag="{{idx}}">
           <Header value="Page {{idx}}"/>
           <Image name="page_{{idx}}" value="$document[{{idx}}].page" inline="true"/>
           <View style="display: flex; justify-content: center; border: 1px solid transparent; border-radius: 1px; border-color: black;"/>
         </Repeater>
       </View>
     </View>

Try adding rotateControl=“true” to the Image tag.

1 Like