We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23299
    • 1,161 Posts
    I have an existing site that has two galleries. All of a sudden when you go to either of the actual galleries the thumbs no longer display, you just see one long vertical row of empty icons. You can click the blank icons and the full size javascript will function and display the images just fine. The two thumbs for the each gallery will display on the parent gallery page though. Just the thumbs in the child galleries are missing. This really ruins the Gallery page system. I have not changed the templates or the snippet call.

    I did remove a newspublisher login system to the site but that should not impact the Gallery system?

    This is my Call:
    [[!GalleryAlbums? &toPlaceholder=`GalleryAlbums` &limit=`0` &albumCoverSort=`rank` &prominentOnly=`0` &rowTpl=`DemoGalAlbumRowTpl` &thumbWidth=`80` &thumbHeight=`80`]] [[!Gallery? &checkForRequestTagVar=`1` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`DemoGalleryAlbumTpl` &thumbWidth=`80` &thumbHeight=`80` &thumbTpl=`DemoGalItemThumb` &imageWidth=`1000` &imageHeight=`800`]] [[!If? &subject=`[[+Gallery]]` &operator=`isempty` &then=` [[+GalleryAlbums]] ` &else=` [[+Gallery]] `]]


    Stumped here...

    Thanks! [ed. note: Photowebmax last edited this post 10 years, 9 months ago.]
      • 42046
      • 436 Posts
      Are the URLs being produced for the thumbnails and do they point to actual files?

      Secondly (assuming you have phpThumbOf installed), if you replace the [[+thumb]] in your DemoGalAlbumRowTpl/DemoGalItemThumb file with:

      [[+fileurl:phpthumbof=`w=80&h=80&zc=1&q=80`]]


      are the thumbnails now produced?
        • 23299
        • 1,161 Posts
        I do not have phpThumbOf installed. I am using the JAIL jQuery system script for the presentation eye-candy but the Gallery system for the file management. I guess I did upgrade to the most recent Gallery which is 1.5.2. My old one was 1.4.0. My version of Revo is currently 2.2.0 but I am not sure if this is the issue?

        Clicking on any of the small empty box generic looking thumb icons will open the full size image just fine and the jQuery script works as it should. The thumbs also are now being presented in one long vertical column instead of nice rows...
          • 23299
          • 1,161 Posts
          Actually I have upgraded the Gallery snippet in another site and I am now having this exact same issue as well...
            • 42046
            • 436 Posts
            But what are the urls for the thumbnails being generated properly and pointing to valid files? Despite and jQuery on the front end, your Gallery call suggests you're using it's internal system for thumbnail generation so could you post you Gallery row Tpl?
              • 23299
              • 1,161 Posts
              I think the URLs for the thumbs are working. Clicking the thumb works with the script as does pasting in the URL in a fresh browser window.

              Here is one page with the issue:

              http://seattlerealestatephotography.com/portfolio.html

              The thumbs worked fine on this site for years with now issue. I guess it must have been something to do with upgrading the Gallery snippet via the Package Management system?
                • 23299
                • 1,161 Posts
                This is the DemoGalItemThumb

                <div class="[[+cls]]">
                    <a href="[[+image]]" rel="colorbox" title="[[+description]]">
                    	<img data-href="[[+thumbnail]]" class="[[+imgCls]]" src="assets/templates/site/images/loading-thumb.gif" alt="[[+name]]" width="80" height="80"/>
                    </a>
                  [[+name]]
                </div>


                This is the DemoGalAlbumRowTpl

                <div class="albumPreview">
                    <h3><a href="[[~[[*id]]?&[[+albumRequestVar]]=`[[+id]]`]]">[[+name]]</a></h3>
                    <div class="thumb">
                        <a href="[[~[[*id]]?&[[+albumRequestVar]]=`[[+id]]`]]"><img src="[[+image]]" alt="[[+name]]"/></a>
                    </div>
                    <div class="desc">
                        <p>[[+description]]</p>
                        </div>
                </div>


                Update:

                My DemoGalItemThumb:

                <div class="[[+cls]]">
                    <a href="[[+image]]" rel="colorbox" title="[[+description]]">
                    	<img data-href="[[+thumbnail]]" class="[[+imgCls]]" src="assets/templates/site/images/loading-thumb.gif" alt="[[+name]]" width="80" height="80"/>
                    </a>
                  [[+name]]
                </div>


                My call on this specific page:

                [[Gallery? &album=`[[*galleryInsertTV]]` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`DemoGalleryAlbumTpl` &thumbWidth=`80` &thumbHeight=`80` &thumbTpl=`DemoGalItemThumb` &imageWidth=`1000` &imageHeight=`800`]]
                [[+Gallery]]


                I use a TV to add the Gallery # I need... [ed. note: Photowebmax last edited this post 10 years, 9 months ago.]
                  • 23299
                  • 1,161 Posts
                  I am also currently backing up this site so I can upgrade to Revo 2.2.8. I have upgraded a bunch of Evo sites before but this will be my first Revo site...
                    • 42046
                    • 436 Posts
                    Ok, changing <img data-href="[[+thumbnail]]" to <img src="[[+thumbnail]]" makes the thumbnails work.
                      • 23299
                      • 1,161 Posts
                      Which TP is that?

                      Thanks so much for following along here!!!