Comments (10)
I started having a quick look. Sadly I won't have the time to dive deeper.
Aside from getting the Storage::put()
to work this will require a lot of refactoring. The reason being that currently we:
- upload the picture
- place it in the said folder and delete the tmp_file
- Generate the exif data, dimensions etc
- Generate the Photo object (record in the DB)
- Generate the thumbs.
- Save
Basically this requires to move the thumbnail generation before the Generation of the photo object.
This will require significant rewrite of the code which I don't have the time at the moment.
I am currently doing a huge refactoring of the code, which hopefully will simplify this part.
from lychee.
Hello,
Do you plan to propose a patch to implement that?
from lychee.
Any news ? If not closing in a few weeks.
from lychee.
I guess webdav support would be needed first
from lychee.
I think all that'd be needed is a full local directory sync
(using inotify or some such). No need to deal with webdav.
I think I've read somewhere that local directory sync is
in the plan/works, @ildyria can you confirm?
from lychee.
I think all that'd be needed is a full local directory sync
(using inotify or some such). No need to deal with webdav.I think I've read somewhere that local directory sync is
in the plan/works, @ildyria can you confirm?
I was going to work on that but hadn't gotten around to it. We're now on the verge of releasing v4 (Lychee-Laravel) and I have yet to look into how to implement it there. From early research it should be fairly straightforward though.
from lychee.
Rather than trying to directly integrate with NextCloud, could Lychee be configured to look for photos in a local folder? That path could be pointed to the NC Data folder that contains the Photos and then when you upload a photo to NC, it could be detected and added to the Lychee Library?
PhotoView uses this type of functionality, so you can continue using NC to manage your files and PhotoView gives you a "separate" gallery to view them in a nice way.
from lychee.
could Lychee be configured to look for photos in a local folder?
Essentially, yes.
from lychee.
Rather than trying to directly integrate with NextCloud, could Lychee be configured to look for photos in a local folder? That path could be pointed to the NC Data folder that contains the Photos and then when you upload a photo to NC, it could be detected and added to the Lychee Library?
PhotoView uses this type of functionality, so you can continue using NC to manage your files and PhotoView gives you a "separate" gallery to view them in a nice way.
I like that, but i was aiming on some UI integration over maybe WebDAV and also have the auto scan manageable from the UI itself and not Cron...
from lychee.
manageable from the UI itself
Not automated, but just to mention that there's also "Import from server" in the UI that does the same as the CLI command.
from lychee.
Related Issues (20)
- Authorization Token allows action without login HOT 3
- Ability To Add Templated and Also Custom Notes Information Associated With An Image - Print Sizes Available (etc)
- can't load no_images.svg HOT 7
- Directories with '[' symbols cannot be imported
- Cannot upload images HOT 3
- Share Button does not get disabled using share_button_visible 1/0
- Image selecting does not work on chrome + MacOS HOT 4
- HTTP Exception 500: "CC-BY" is not a valid backing value for enum App\Enum\LicenseType (View: /var/www/html/Lychee/resources/views/livewire/pages/gallery/album.blade.php) HOT 1
- Missing tools on desktop browser
- Overflow in the details panel HOT 1
- [5.2.0] Maps on image detail is not updated when switching left right.
- #2392 recurring in Lychee 5.2.2 ("CC-BY-SA" is not a valid backing value for enum) HOT 1
- If you can read me, it means that you misconfigured Lychee. HOT 6
- Inverted date on album tiles with multiple months HOT 1
- [5.3.0] Clean installation without error but image is not showing... again HOT 1
- `additional_footer_text` not displayed
- Can not move photos into album containing apostrophe in title
- File-Suffixes duplicated in Downloaded Album HOT 2
- Sharing - Select all users HOT 1
- Could not Upload Photos HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lychee.