Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Remove rotate control buttons #50

Open
lmoncany opened this issue Sep 8, 2016 · 0 comments
Open

Remove rotate control buttons #50

lmoncany opened this issue Sep 8, 2016 · 0 comments

Comments

@lmoncany
Copy link

lmoncany commented Sep 8, 2016

Hello !

I'm looking for a way to not display rotate buttons controls can you help me ?

Maybe you can help me with another issue, i'm using ionic and i want to apply crop changes on another button located in a ion-footer. My save button call the same function but the image isn't cropped when i save :

` <ion-content>
    <ion-list>
      <ion-item>
        <div class="imgCropper_layer"></div>
        <img  ng-if="!image_cropper_url" src="{{profil.image}}" alt="" style="width: 100%; height: 300px; overflow:hidden">
        <img ng-src="imageURI" alt="" style="display: none">
        <image-cropper class="crop_container" image-url={{image_cropper_url}}
                       width="500"
                       height="300"
                       show-controls="true"
                       fit-on-init="true"
                       center-on-init="true"
                       zoom-step="0.05"
                       crop-callback="update_result_cropper_image"
                       action-labels="my_cropper_button_labels"
                       ng-if="image_cropper_url"
                       ></image-cropper>
      </ion-item>
    </ion-list>
    <div class="margin-auto text-center">
      <button class="button  button-large button-default btn-rounded" ng-click="get_photo()">{{"prendre_photo" | translate}}</button>
      <br>
      <br>
      <span class="text-center">Ou</span>
      <br>
      <input type="file" class="custom-file-input" onchange="angular.element(this).scope().setFile(this)" placeholder="." accept="image/*"/>
    </div>

  </ion-content>
  <ion-footer-bar>
    <button class="button button-block button-large button-positive " ng-click="update_result_cropper_image()">{{"sauvegarder" | translate}}</button>
  </ion-footer-bar>`

capture d ecran 2016-09-08 a 15 36 43

Thank you for you help !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant