Skip to main content

Configure Border Frames

PhotoEditor SDK supports several configuration options for the FrameToolController allowing flexible adaptation to different needs and use cases. For a detailed explanation of how to configure different editor views, refer to this guide.


By default, the editor does not allow to rotate the image in the frame tool by using the rotation gestures. For this example, this behavior is enabled.


Configuring the FrameOptionsToolController allows changing how users can interact with a given frame. The actions users can perform are configured via the allowedFrameActions property. In our example, we remove the option to change the frame width (.width) and only allow replacing it and changing its opacity.