Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3047

image size in file widget is hardcoded twice

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 4.LATER
    • None
    • None
    • None
    • 2 - Long term
    • 2 - Normal

      In the image file widget, the image is partially resized server-side, and client-side, with size hard-coded.

      The sizes are used there :

      org.ametys.cms.contenttype.MetadataManager._resourceAsJson(Resource)

      org.ametys.cms.contenttype.MetadataManager._binaryAsJson(Content, BinaryMetadata, String, String)

      Ametys.form.widget.File._updateFileDescription(id, fileName, fileSize, viewHref, downloadHref)

       

            Unassigned Unassigned
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: