🌍
English
This shows you the differences between two versions of the page.
dev:changes_in_2.10 [2019/02/15 13:03] plg created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Technical changes in Piwigo 2.10 ====== | ||
- | ====== [In Progress] "Multiple formats" for videos ====== | ||
- | |||
- | When we upload a video (higher than HD) in Piwigo 2.10, it will generate the video in HD to help users to see videos in their gallery if they have a heavy file. | ||
- | To create this feature, we added a new trigger at the end of the upload process called : | ||
- | <code php> | ||
- | trigger_notify('upload_file_end', $example); | ||
- | </code> | ||
- | |||
- | The video is generate with ffmpeg in command line and stored in 'pwg_format'. | ||
- | |||
- | ====== New badges for number of photos ====== | ||
- | To replace the aspect of badges (actually with bracket), you can add in LocalFiles Editor plugin this css code and customize your own Piwigo: | ||
- | <code php> | ||
- | .nb_items { | ||
- | background-color: #808080; | ||
- | color: black; | ||
- | padding: 1px 5px; | ||
- | border-radius: 10px; | ||
- | font-size: 10px; | ||
- | } | ||
- | |||
- | .nb_items:before | ||
- | { | ||
- | content : ''; | ||
- | } | ||
- | |||
- | .nb_items:after | ||
- | { | ||
- | content : ''; | ||
- | } | ||
- | |||
- | dl#mbCategories .categories { | ||
- | margin-top: 3px ; | ||
- | margin-bottom: 3px; | ||
- | } | ||
- | </code> | ||
- | |||
- | ====== Trigger for tag and group deletions ====== | ||
- | <code php> | ||
- | trigger_notify("delete_tags", $tag_ids); | ||
- | |||
- | trigger_notify('delete_group', $groupids); | ||
- | </code> | ||
- | |||
- | ====== New methods for web API ====== | ||
- | |||
- | * pwg.images.setMd5sum | ||
- | * pwg.categories.setRank | ||
- | |||
- | ====== Configuration setting ====== | ||
- | |||
- | * ''%%$conf['display_fromto']%%'' is now manageable on page [Administration > Configuration > Options > tab Display] |