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.


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="//" title="Lorquy">
       <img src="//" alt="Lorrmod " title="Lorem et e" class="imagecache imagecache-pf_galeriefullsize_1200 imagecache-default imagecache-pf_galeriefullsize_1200_default">
  <div class="views-field views-field-nothing asymetrique-petit"> 
    <a class="#" href="//" title="Loy" data-caption="Lo">
       <div class="field-item field-item-0"><img src="//" 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="//" 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>


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.


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.