<div dir="ltr">Glad you got it working, I didn't realize that you were trying to view an image through the reference but it is nice to know that can be done with the externalresourcewidget. Will it also work for videos? Is there a use tutorial or does it work like the other 2?<div>Tyler</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 16, 2018 at 5:40 PM Carlos Dávila <<a href="mailto:cdavilam@orangecorreo.es">cdavilam@orangecorreo.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="m_7328697026760376232moz-cite-prefix"> QgsExternalResourceWidget worked, the
      other two not, they show the path to the image file, but not the
      image. Thanks.<br>
    </div>
    <div class="m_7328697026760376232moz-cite-prefix"><br>
    </div>
    <div class="m_7328697026760376232moz-cite-prefix">El 16/10/18 a las 8:53, Matthias Kuhn
      escribió:<br>
    </div>
    <blockquote type="cite">
      
      <p>Can you try with a QLineEdit, a QLabel or a
        QgsExternalResourceWidget and configure it as attachment?<br>
      </p>
      <div class="m_7328697026760376232moz-cite-prefix">On 10/15/18 9:03 PM, Carlos Dávila
        wrote:<br>
      </div>
      <blockquote type="cite">And
        one more question. Adding an image widget as you describe in [1]
        doesn't seem to work. I guess it's due to "Photo" type no longer
        available in QGIS 3. Should it work the same with "Attachment"
        type or must I do something different? <br>
        <br>
        [1]
        <a class="m_7328697026760376232moz-txt-link-freetext" href="https://gis.stackexchange.com/questions/144427/how-to-display-a-picture-in-qgis-custom-form" target="_blank">https://gis.stackexchange.com/questions/144427/how-to-display-a-picture-in-qgis-custom-form</a><br>
        <br>
        El 15/10/18 a las 18:34, Carlos Dávila escribió: <br>
        <blockquote type="cite">Hi Matthias <br>
          <br>
          Yes, that did the trick, thanks a lot <br>
          <br>
          El 15/10/18 a las 16:58, Matthias Kuhn escribió: <br>
          <blockquote type="cite">Hi Carlos, <br>
            <br>
            something like this? <br>
            <br>
            <a class="m_7328697026760376232moz-txt-link-freetext" href="https://gis.stackexchange.com/a/92001/9839" target="_blank">https://gis.stackexchange.com/a/92001/9839</a>
            <br>
            <br>
            On 10/15/18 4:21 PM, Carlos Dávila wrote: <br>
            <blockquote type="cite">I have created a custom form using
              Qt Designer for one layer, which <br>
              works like a charm. Now I want to add a subform to display
              features of <br>
              another layer linked by a relation, but I can't find the
              way to do it. <br>
              Is it possible to accomplish this? <br>
              <br>
            </blockquote>
          </blockquote>
        </blockquote>
        <br>
      </blockquote>
      <div class="m_7328697026760376232moz-signature">-- <br>
        
        <div class="m_7328697026760376232moz-signature">
          
          <div class="m_7328697026760376232moz-signature"> <span style="text-align:left;color:#000000;font-family:'Verdana',sans-serif;font-size:10pt">Matthias Kuhn</span><br>
            <a href="mailto:matthias@opengis.ch" target="_blank"> <span style="text-align:left;color:#000000;font-family:'Verdana',sans-serif;font-size:8pt">matthias@opengis.ch</span> </a><br>
            <span style="text-align:left;color:#000000;font-family:'Verdana',sans-serif;font-size:8pt"><a href="tel:+41764356763" target="_blank">+41 (0)76
                435 67 63</a></span><br>
            <div> <a href="http://www.opengis.ch" target="_blank"> <img src="cid:part5.A620375F.F32288E4@orangecorreo.es" alt="OPENGIS.ch Logo" width="200" height="80"></a>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>