Giter VIP home page Giter VIP logo

Comments (5)

lincolnthalles avatar lincolnthalles commented on June 5, 2024 1

No problem.

As you chose to store files on disk, absolute paths to resources are hardcoded in the database. In this case, you must update them manually when moving between systems/folder structures.

I didn't manage to publish the docs yet, but you can check MIGRATION.md. Pretty much all of this is covered.

You can read the built version of MIGRATION.md here, it's way more organized. Just open migration.html from inside the zip file.

from memospot.

yihanglee-cn avatar yihanglee-cn commented on June 5, 2024 1

👌Okay, get it, thanks a million

from memospot.

yihanglee-cn avatar yihanglee-cn commented on June 5, 2024

Thanks for you help, i've resolved zhis issue
Pictures are now dispalying normally
🫡🫡🫡

from memospot.

yihanglee-cn avatar yihanglee-cn commented on June 5, 2024

But, i have a new question😂
When I use memospot to insert a new picture, the internal_path recorded in the data table is an absolute path.
Like this:
image
If I use webdav to synchronize the data directory to other computers, the images may not be displayed properly because the image paths are incorrect.
Is there a way to use relative paths for newly inserted images?

from memospot.

lincolnthalles avatar lincolnthalles commented on June 5, 2024

Currently, no. That would require patching Memos server itself to store relative paths.

I plan to allow data folder to be moved, so you can put it inside OneDrive or other cloud provider, but it still would require all synced machines to use the same directory structure.

The 100% portable way is to use the database object storage, which should work fine until you start storing videos. The downside is that this approach will increase data transfers during syncs.

from memospot.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.