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

No image when using content/browse in eZ Legacy BO

    XMLWordPrintable

Details

    Description

      When adding a new location eZ Legacy admin there is no icon available.

      problem is in ezwordtoimageoperator.php with item $sizes[0]
      fixed using php "reset" function to retrieve first element of $sizes array because $sizes[0] is not always set

      ex. in ezpublish_legacy/share/icons/crystal-admin/icon.ini

      [IconSettings]
      # Defined sizes, each size refers to the name of the subdirectory
      # of the icon theme. If the name contains two numbers with an
      # x in between it will be considered to be the width and height
      # of the icon, if not no size is will be given
      Sizes[]
      Sizes[normal]=32x32
      Sizes[small]=16x16_indexed
      Sizes[ghost]=16x16_ghost
      Sizes[original]=16x16_original
      

      see. https://github.com/Adcaelo/ezpublish-legacy/commit/e7b63206b25766db03c38acb68603d66914d6528

      Attachments

        Activity

          People

            Unassigned Unassigned
            coede coede
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: