Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • Jay
    Subscriber
    in reply to: Show only first image + image-title of a gallery

    Thanks for the quick replies. Keen to get my hands on the code – might solve another issue I am having. Please could you share so I can test on my site? When will the next release be? Thanks!


    Jay
    Subscriber
    in reply to: Show only first image + image-title of a gallery

    Hey Torbjörn, were you able to get this working?


    Jay
    Subscriber
    in reply to: Show only first image + image-title of a gallery

    Please share this code so others can try it too! I also need this feature. Thanks


    Jay
    Subscriber
    in reply to: Card Particle – image in lightcase modal

    For the lightcase I added a checkbox to the YAML:

    image_lightcase:
                  type: input.checkbox
                  label: Image Lightcase
                  description: Shows image in a lightcase modal.
                  overridable: false
                  default: false

    And the following to the twig before the image:

    {% if particle.image_lightcase == '1' %}<a href="{{ particle.image|e }}" data-rel="lightcase">{% endif %}

    After the image:

    {% if particle.image_lightcase == '1' %}</a>{% endif %}

    Let me know if there is a better or more universal way!

    Thanks
    Jay

    • This reply was modified 5 years, 6 months ago by Jay.
Viewing 4 posts - 1 through 4 (of 4 total)
JoomLead Gantry5 Particles 2.2.10 released, new features, bug fixes and more Learn more
Flash Sale. Get Up to 25% Off - Coupon: FLASH25 Shop Now