teFile sizeLimit="102400"
                                    allowTypes="/(\.|\/)(gif|jpeg|jpg|png)$/"/>
                </p:fileUpload>

                <p:outputPanel id="cropperPanel">

                    <h:panelGrid columns="1" rendered="#{not empty cropUploaderBean.originalImageFile}">

                        <p:commandButton value="Crop"
                                         action="#{cropUploaderBean.crop}"
                                         update="cropped messages" styleClass="my-3"/>
