feat: Add separate categories for "live photos" and "panoramas" and support for 360 PhotoSphere viewer#1357
feat: Add separate categories for "live photos" and "panoramas" and support for 360 PhotoSphere viewer#1357jovanbulck wants to merge 3 commits into
Conversation
|
|
||
| public function transformPanoFilter(IQueryBuilder &$query, bool $aggregate): void | ||
| { | ||
| $query->andWhere('m.w >= '.PANOROMA_ASPECT_RATIO.' * m.h'); |
There was a problem hiding this comment.
Both of these will scan the entire table - these need the right indexes.
There was a problem hiding this comment.
AFAIK this expression can't be optimized with index too, probably needs a separate boolean field.
There was a problem hiding this comment.
thanks for the feedback, makes sense! If I find some time later, I'll try to add a pano boolean field in the oc_memories table
|
@jovanbulck are you still working on this? Is there anything you need help with? |
I'm sorry, but I'm not working on this anymore (switched to a different photo management system). Though you're very welcome to fork my fork and continue development as you see fit! |
|
I got it working on my side and might take over your work. |
Add the following features:
Possible further improvements:
files/photosphereNC app seems to do. In principle, this could be done server side and cached in theoc_memoriestable, but not all panorama pictures include XMP data afaik.