Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27850

Allow for a maximum file size of less than 1MB in eZImage datatype

    XMLWordPrintable

    Details

      Description

      eZImage datatype only allows settings a maximum file size in MB units. But unless the images are photos, then 1 MB is too much. Specifically when you want to show the original image.

      Option 1: change units from MB to KB
      Option 2: store the value as a decimal number in data_float1 instead of data_int1

      I can create a Pull Request for this. But I don't know how much backwards compatible I should be.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gfinkelstein Gabriel Finkelstein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: