We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42367
    • 10 Posts
    Gallery dupclicate files in cache folder /assets/components/gallery/cache/
    www_assets_gallery_11_59.JPG.000c09c2bb5c993572a9d6d22cd5fb33.jpg
    www_assets_gallery_11_59.JPG.000c30e9ed47660fc911caae20223903.jpg
    www_assets_gallery_11_59.JPG.001d4447a497a52633a9570ba6632c18.jpg
    ...
    And so >100 same files with same size


    Call snippet:
    [[GalleryAlbums? &limit=`0` &showAll=`0` &parent=`10`  &rowTpl=`photogallery` &thumbWidth=`0` &thumbHeight=`0`  &dir=`DESC`]]  



    Chank photogallery:
    <li><a  rel="[[+name]]" href="[[+image]]" class="fancy_stroy_link"><img src="[[+image]]&w=240&h=240&zc=1&"><h5>[[+name]]</h5><div class="album_desc">[[+description]]</div></a>
        [[Gallery? &album=`[[+name]]` &thumbTpl=`photogallery-item` &limit=`100` &start=`0` &thumbHeight=`850` &thumbWidth=`0` &imageWidth=`0` &imageHeight=`0`]]
    </li>   



    Chank photogallery-item:
    <a class="fancy_stroy hide [[+cls]]" rel="[[+album]]" href="[[+thumbnail]]" title="[[+description]]"></a>



    I can't understand why Gallery duplicate cache files?

    [ed. note: a.livak last edited this post 11 years, 6 months ago.]
      • 42367
      • 10 Posts
      I solved:
      Problem was with BxSlider, that generate slide img with timestamp, so my server generated new cahe img every time
      I update BxSlider to v4.1.2 and solved this problem.