Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Convert between file storage methods

posts: 5 Romania

Image references in pages do indeed use fileId (like {"img fileId="2"}).

So, if image with id 2 is now stored in MySQL, after I change the storage method from DB to file this image id 2 will still be looked for in MySQL, but new images will be uploaded to filesystem and their ids referenced there?

If so, does that mean that after hypothetically switching between MySQL and filesystem storage a number of times, each image id will still be remembered and referenced to its storage location (file or DB) at the time of its upload, and I can have a mix of DB- and file-stored images?

Bernard Sfez / Tiki Specialist wrote:

If you use the file Id to insert them in your Wiki page, it doesn't matter where they are stored.

Paste here the code of your image inserted in a page. 🤷🏻‍♂️

There are no comments at this time.

Upcoming Events

1)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4) 
Tiki birthday
5)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting