{"id":20169785,"url":"https://github.com/piwigo/piwigo-user-collections","last_synced_at":"2025-07-27T15:07:49.783Z","repository":{"id":23278487,"uuid":"26637221","full_name":"Piwigo/Piwigo-User-Collections","owner":"Piwigo","description":"Registered users can select photos from the Piwigo gallery and save them into collections.","archived":false,"fork":false,"pushed_at":"2025-04-01T06:17:07.000Z","size":705,"stargazers_count":4,"open_issues_count":23,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-06T13:07:03.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://piwigo.org/ext/extension_view.php?eid=615","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Piwigo.png","metadata":{"files":{"readme":"README-THEMES.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-14T12:13:55.000Z","updated_at":"2025-04-01T06:17:11.000Z","dependencies_parsed_at":"2024-01-21T18:26:05.466Z","dependency_job_id":"f18f897f-c332-426e-a30a-a5f8992a3bcd","html_url":"https://github.com/Piwigo/Piwigo-User-Collections","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/Piwigo/Piwigo-User-Collections","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piwigo%2FPiwigo-User-Collections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piwigo%2FPiwigo-User-Collections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piwigo%2FPiwigo-User-Collections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piwigo%2FPiwigo-User-Collections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Piwigo","download_url":"https://codeload.github.com/Piwigo/Piwigo-User-Collections/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piwigo%2FPiwigo-User-Collections/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267375872,"owners_count":24077291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T01:13:47.056Z","updated_at":"2025-07-27T15:07:49.651Z","avatar_url":"https://github.com/Piwigo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Technical details for themes\n\n## AVAILABLE TEMPLATE VARIABLES\n\n### Photos list\nFile: `thumbnails.tpl` (`index_thumbnails`)  \nTrigger: `loc_end_index_thumbnails`  \nSee: `include/events.inc.php` (`user_collections_thumbnails_list`)\n  \n* **$USER_COLLEC_PATH** - path from root to UserCollections directory\n  \n* **$COLLECTIONS** - all collections of the current user\n  * id\n  * name\n  * nb_images\n\n* **$thumbnails **- The following attributes are added for each element\n  * COLLECTIONS - comma separated ids of collections containing the element\n    \n### Photos list bis\nFile: `thumbnails.tpl` (`index_thumbnails`)  \nTrigger: `loc_end_index_thumbnails`  \nSee: `include/display_thumbnails.inc.php` (`user_collections_thumbnails_in_collection`)\n  \nOnly applied when viewing thumbnails of a collection.\n  \n* **$thumbnails** - The following attributes are added for each element\n  * FILE_SRC - direct link to large image\n    \n### Albums list\nFile: `mainpage_categories.tpl` (`index_category_thumbnails`)  \nTrigger: `loc_end_index`  \nSee: `include/diplay_collections.inc.php`\n  \nOnly applied when viewing collections list.\n  \n* **$category_thumbnails** - The following attributes are added for each element\n  * U_DELETE\n\n\n## PREFILTERS\n\n### Photos list\nFile: `thumbnails.tpl` (`index_thumbnails`)  \nSearches: `(\u003cli\u003e|\u003cli class=\"gthumb\"\u003e)`  \nSee: `include/events.inc.php` (`user_collections_thumbnails_list_button`)\n  \nThis prefilter tries to add the **Add to collection** button for every element. The button must have `class=\"addCollection\"`, `data-id=\"{$thumbnail.id}\"`  and `data-cols=\"[{$thumbnail.COLLECTIONS}]\"` attributes.\n  \n### Photos list bis\nFile: `thumbnails.tpl` (`index_thumbnails`)  \nSearches: `\u003ca href=\"{$thumbnail.URL}\"`  \nSee: `include/collections.inc.php` (`user_collections_add_colorbox`)\n  \nThis prefilter tries to add metadata for Colorbox interactions on collections view and edit pages.\n  \n### Categories list\nFile: `mainpage_categories.tpl` (`index_category_thumbnails`)  \nSearches: `\u003cdiv class=\"thumbnailCategory\"\u003e`  \nSee: `include/collections.inc.php` (`user_collections_categories_list`)\n  \nThis prefilter tries to add **Edit** and **Delete* links on categories list, which uses the same template as albums.\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiwigo%2Fpiwigo-user-collections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiwigo%2Fpiwigo-user-collections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiwigo%2Fpiwigo-user-collections/lists"}