Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steffen Hornbæk Nielsen 43 posts 134 karma points
    Aug 09, 2023 @ 06:05
    Steffen Hornbæk Nielsen
    0

    ImageCropper - Crops are not saved in database

    Hi folks,

    We are using the ImageCropper property together with three defines crops (facebook, twitter and linkedIn).

    It all works fine and is such a cool tool, but... when we upload an image and is inserts de default crops, the "crops" data is not stored in the cmsContentNu database table. Only first when the default values af overriden by the user, will the data be store.

    Also when crops are set, the width and height are not in the DB either.

    Why is this? And is there are hidden configuration so i can make sure it is stored in the DB?

    The reason for all this, is that we are reading directly from the DB into our own API, so the crop data is rather important for us.

Please Sign in or register to post replies

Write your reply to:

Draft