Announcement

  •  » Engine
  •  » Where is $thumbnails generated in thumbnails.tpl?

#1 2020-09-08 12:06:46

Crythes
Member
2020-01-23
60

Where is $thumbnails generated in thumbnails.tpl?

Hello/Hi/Greetings,

I assume that generally tpl files would have an equivalent php file, but it doesn't seem there is one for thumbnails.tpl. I need to edit $thumbnail.NAME before it's being passed to the template, but I can't find where $thumbnails is generated. Does anyone know?

Piwigo version:
PHP version:
MySQL version:
Piwigo URL: http://

Offline

 

#2 2020-09-09 07:24:17

nicolas
Former Piwigo Team
2004-12-30
1197

Re: Where is $thumbnails generated in thumbnails.tpl?

The entries points to populate thumbnails are in include/category_cats.inc.php and include/category_default.inc.php. I said "entry point" because you have to follow functions used, depending of the page you visited (categories, a category, search, favorites,...)

Offline

 

#3 2020-09-11 13:51:33

Crythes
Member
2020-01-23
60

Re: Where is $thumbnails generated in thumbnails.tpl?

Thank you! This is useful.

Offline

 
  •  » Engine
  •  » Where is $thumbnails generated in thumbnails.tpl?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2020 · Contact