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

Wrong sequence in ezimage cascade resolution for image path

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 3.9.2
    • None

    Description

      I am using a design extension to provide a design for my site. I put my favicon.ico in the images/ directory of my design extension, along with all the other images for my design.

      The problem is that, while all images are correctly resolved by the ezimage operator to the design extension's directory, the favicon is resolved to the standard design.

      <link href={"stylesheets/basic.css"|ezdesign} rel="stylesheet" type="text/css" media="all" />

      correctly resolves to

      <link href="/extension/inca_ch_design/design/standard/stylesheets/basic.css" rel="stylesheet" type="text/css" media="all" />
      <img src={'logoinca.gif'|ezimage} alt="Logo INCA CH IT"/>

      correctly resolves to

      <img src="/extension/inca_ch_design/design/standard/images/logoinca.gif" alt="Logo INCA CH IT"/>
      <link rel="Shortcut icon" href={'favicon.ico'|ezimage} type="image/x-icon" />

      strangely resolves to

      <link rel="Shortcut icon" href="/design/standard/images/favicon.ico" type="image/x-icon" />

      this are the relevant parts of my design.ini and site.ini files:

      /settings/siteaccess/inca_ch_it/site.ini.append.php:

      [DesignSettings]
      SiteDesign=inca_ch_user
      AdditionalSiteDesignList[]=base
      StandardDesign=standard

      /extension/inca_ch_design/settings/design.ini.append.php:

      [ExtensionSettings]
      DesignExtensions[]=inca_ch_design

      /extension/inca_ch_design/settings/site.ini.append.php:

      [RegionalSettings]
      TranslationExtensions[]=inca_ch_design

      It seems that others have experienced a different behavior between ezimage and ezdesign ( http://ez.no/developer/forum/general/strange_behavior_for_favicon_ico_retrieval )

      Steps to reproduce

      see above

      Attachments

        Activity

          People

            unknown unknown
            m.bariola m.bariola
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: