Posts by lx-s

    Hi all,

    i found this problem also in the old forum

    I also added a Repeater-Block to a blog-post template, so my client can upload multiple images to his articles and I can "render" them in a gallery.

    Unfortunately it is not possible to delete the last picture.

    I currently "fixed" it with a "don't show gallery"-checkbox the client can toggle. In my template I check if the box has been toggled and show the image gallery accordingl.

    Is there a fix yet, or do you guys have a better idea than my quick


    Post Template (relevant part):

    1. <perch:repeater id="news_images" label="Weitere Artikelbilder">
    2. <perch:blog id="news_image" type="image" label="Artikelbild" bucket="aktuelles"/>
    3. </perch:repeater>

    Render Template:

    1. <perch:if not-exists="dont_show_news_images">
    2. <perch:repeater id="news_images" scope-parent="true" >
    3. <a href="<perch:blog id="news_image" type="image"/>" title="" data-lightbox="news-<perch:blog id="parent.postSlug" />">
    4. <img style="background-image: url('<perch:blog id="news_image" type="image"/>');"
    5. src="media/aktuelles/back_bild_klein.png">
    6. </a>
    7. </perch:repeater>