We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46271
    • 4 Posts
    Здравствуйте. Возникла такая проблема с MIGX

    Не выводится изображение. Ниже привожу код ТВишки:
    [{"caption":"Equipment", "fields": [
        {"field":"image","caption":"Изображение","inputTV":"main_img", "inputTVtype":"image"},
        {"field":"Type","caption":"Тип"},
        {"field":"Proiz","caption":"Производительность"}, 
        {"field":"Vakyym","caption":"Вакуум"},
        {"field":"Power","caption":"Мощность двигателя"},
        {"field":"Price","caption":"Цена"}
      ]
    }]
    
    [{
      "header": "Изображение", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"
    },{
      "header": "Тип", "sortable": "false", "dataIndex": "Type"
    },{
      "header": "Производительность", "sortable": "true", "dataIndex": "Proiz"
    },{
      "header": "Вакуум", "sortable": "true", "dataIndex": "Vakyym"
    },{
      "header": "Мощность двигателя", "sortable": "true", "dataIndex": "Power"
    },{
      "header": "Цена", "sortable": "true", "dataIndex": "Price"
    }]


    Чанк equipment.tpl

    <tr>
      <td><img src="[[+image:phpthumbsup=`w=180&h=180&q=55&zc=1`]]" alt="[[+heading:default=`[[*pagetitle]]`]]"></td>
      <td>[[+Type]]</td>
      <td>[[+Proiz]]</td>
      <td>[[+Vakyym]]</td>
      <td>[[+Power]]</td>
      <td>[[+Price]]</td>
    </tr>


    Вызов
    [[!getImageList?
    &tvname=`equipment`
    &tpl=`equipment.tpl`
    ]]


    В итоге изображение не выводится:


      • 4172
      • 5,888 Posts
      what do you get with

      <img src="[[+image]]" />


      and what is the complete url to your image? ->

      /assets/?????/theImage.jpg


      ?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 46271
        • 4 Posts
        Quote from: Bruno17 at Jan 14, 2014, 09:21 AM
        what do you get with

        <img src="[[+image]]">


        and what is the complete url to your image? ->

        /assets/?????/theImage.jpg


        ?

        if only <img src="[[+image]]" /> the same result


          • 46271
          • 4 Posts
          Quote from: Bruno17 at Jan 14, 2014, 09:21 AM

          and what is the complete url to your image? ->

          /assets/?????/theImage.jpg


          ?

          Complete url to image : design/images/katalog/nas1.png
            • 4172
            • 5,888 Posts
            anything with just:

            [[+image]]
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!