0

I'm working on a new display for a jquery gallery. The result is visually good but links attached on images (URL to their relative bigger format image) is the same.

galerie

This gallery use BaguetteBox js to show a fullpage image on click.But actually each image use the same image URL and display the same image even if vignettes doesn't. See the HTML markup ( "a" links are the same):

<div class="view view-Diapo-multichoix view-id-Diapo_multichoix view-display-id-block_8 galerieBaguetteBox view-dom-id-e9fb68ac432bca77b816e145e830fe39">

      <div class="view-content">
        <div class="views-row views-row-1 views-row-odd views-row-first views-row-last">

           <a class="asymetrique-gd" href="//10.100.3.90:3000/sites/all/media/imagecache/pf_galeriefullsize_1200/city-q-c-640-480-4.jpg" title="Lorquy">
       <img src="//10.100.3.90:3000/sites/all/media/imagecache/pf_galeriefullsize_1200/13516379_268909653471677_3035798794898416041_n.jpg" alt="Lorrmod " title="Lorem et e" class="imagecache imagecache-pf_galeriefullsize_1200 imagecache-default imagecache-pf_galeriefullsize_1200_default">
</a>    
  <div class="views-field views-field-nothing asymetrique-petit"> 
    <a class="#" href="//10.100.3.90:3000/sites/all/media/imagecache/pf_galeriefullsize_1200/city-q-c-640-480-4.jpg" title="Loy" data-caption="Lo">
       <div class="field-item field-item-0"><img src="//10.100.3.90:3000/sites/all/media/imagecache/PF_gal_lycee_300X195/city-q-c-640-480-4.jpg" alt="L" class="imagecache imagecache-PF_gal_lycee_300X195 imagecache-default imagecache-PF_gal_lycee_300X195_default" width="300" height="195"></div><div class="field-item field-item-1"><img src="//10.100.3.90:3000/sites/all/media/imagecache/PF_gal_lycee_300X195/img_6050.jpg" alt="az" class="imagecache imagecache-PF_gal_lycee_300X195 imagecache-default imagecache-PF_gal_lycee_300X195_default" width="300" height="195"></div>
</a>  </div>  </div>
    </div>

</div>

I try to filter with the delta, and with Contenu : Galerie - delta = 1 , I get the first element of the list. Which setting can I use to have related URL to each vignette ? if is it possible to do so in Views 3.

Thanks

EDIT: exported views code, issue on the block 8 display. https://gist.github.com/webmasterpf/9f16cda12182e5c1f22540d65c1f9a79

  • ¿How do you generate this code? – Fernando Pap Mar 8 '18 at 14:24
  • with a filtered views in block display – webmaster pf Mar 8 '18 at 14:41
  • Would you mind to share the exported view? – Fernando Pap Mar 8 '18 at 18:45
  • see edit post please – webmaster pf Mar 9 '18 at 8:21
  • Sorry... if you give me the exported content type (you can do this with Features or Bundle copy), so I can import the view successfully, it would be great. Once I get the view working, I can trouble shoot it... – Fernando Pap Mar 9 '18 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.