<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                在店面的產品的圖像的屬性存儲在view.xml用配置文件英寸本主題提供有關屬性可什么和如何配置它們的所有細節。 **配置view.xml用圖片屬性** view.xml用為主題的常規位置為: ~~~ <theme_dir>/etc/view.xml ~~~ 例如,下面是Magento的空白主題view.xml用: ~~~ app/design/frontend/Magento/blank/etc/view.xml ~~~ 在view.xml中圖像屬性中的范圍<images module="Magento_Catalog"> ~~~ <images module="Magento_Catalog"> ... <images/> ~~~ 圖像性能配置由元素的id和type屬性定義的每個圖像類型: ~~~ <images module="Magento_Catalog"> <image id="unique_image_id" type="image_type"> ... </image> <images/> ~~~ 下表詳細介紹的屬性: ~~~ id string 形象標識。獨一無二的主題范圍。 可為任意值,但外的任何─盒Magento的主題ID是有意義的,描述圖像的位置。 例如,id值對于交叉銷售產品圖像購物卡顯示為cart_cross_sell_products。 的ID在一個.phtml模板用于定義類型和特定的頁面上顯示在每個特定位置的圖像的屬性。 ~~~ ~~~ 該類型由指定ID定義的圖像。允許值: image - 對應于Magento管理基礎映像作用 small_image - 對應于Magento管理的小角色形象 swatch_image - 對應于Magento管理斯沃琪形象的作用 swatch_thumb - 對應于Magento管理斯沃琪形象的作用。 thumbnail - 對應于Magento管理縮略圖作用 ~~~ 圖像屬性由相應的元件定義,例如: ~~~ <images module="Magento_Catalog"> <image id="unique_image_id" type="image"> <width>100</width> <!-- Image width in px --> <height>100</height> <!-- Image height in px --> </image> </images> ~~~ 下表包含了可配置的所有屬性的列表: ~~~ 屬性 類型 描述 需要 width integer Image width in pixels. Optional height integer Image height in pixels. Optional constrain boolean If set to true, images that are smaller than required by the configuration, are not enlarged. Default value: true. Optional aspect_ratio boolean If set to true, proportions of images are not changed even if required by the configuration. Default value: true. Optional frame boolean If set to true, images are not cropped. Default value: true. Applied only if aspect_ratio is set to true. Optional transparency boolean If set to true, the transparent background of images is saved. If is set to false, images have the white background (by default). You can set the color for the background using the background parameter. Default value: true. Optional background array The color for the images background. Not applied to images with transparency, if transparency is set to true. Optional ~~~ **調整目錄圖片** Magento的catalog:images:resize,您可以將圖像尺寸調整為您的店面展示;例如: 導入產品后,可能具有可變大小的圖像 如果圖像大小或從緩存中手動刪除 分配給產品的每個圖像必須根據在模塊的view.xml用配置文件定義的圖像的元數據的大小。調整圖像大小后,它的大小副本存儲在緩存中(/pub/media/catalog/product/cache目錄)。 Magento的從緩存中提供店面形象 一般情況下,同時節省了產品的產品圖片被緩存。不過,有時你可能需要重新創建一個使用此命令,例如產品圖片緩存,進口產品后,如果圖像手動調整在緩存中,或者如果緩存被錯誤手動清除。 命令的用法: php <magento install dir>/bin/magento catalog:images:resize 該命令沒有參數或選項。一個進度指示器顯示的同時運行該命令。 成功地調整消息產品圖片顯示Product images resized successfully,以確認命令成功。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看