We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49631
    • 7 Posts
    Hello dear modx folks

    I have a problem with a filename ... that's as far as I could trace it.

    I have a migx setup for a gallery. When I add an item in the backend everything works as expected. But certain images do not show up in the frontend. And it's the items with a [number][x or dash][number] pattern, like this:

    Communication/BZ Pflege/Imagekampagne_Iris_Marc_Franz/bz_pflege_banner_leaderboard_728x90_runde_01_franz.jpg


    When I remove (through rename) the 728x90 part, the image shows up in the frontend. When I open the image directly in the browser it also show up perfectly.

    This is the gallery item chunk

    <div class="item fg-[[+size]]-4 folio [[!If? &subject=`[[+youtube_code]]` &operator=`notempty` &then=`video`]]">
        [[!If? &subject=`[[+image]]` &operator=`notempty` &then=`<img src="[[+image]]"/>`]]
        [[!If? &subject=`[[+youtube_code]]` &operator=`notempty` &then=`<iframe src="//www.youtube.com/embed/[[+youtube_code]]" frameborder="0" allowfullscreen></iframe>`]]
    </div>


    I'm really confused smiley

    Update #1

    It shows up fine in Firefox and IE, but not in Chrome.

    Update #2

    It's an adblock problem ... http://stackoverflow.com/questions/16438022/image-not-working-is-it-a-chrome-bug

    [ed. note: adrian.demleitner last edited this post 9 years, 3 months ago.]