Media links lost on migration


#1

Hi!
I’m a bit confused on how the media are handled in the new Kirby…
When moving the media and content folders from one instal (online) to another (local), I seem to have lost all links to the images…
What am I missing here?
Thank you!


#2

There is no need to move the media folder, all the files are recreated anyway.


#3

Well if I erase what’s in the media folder, I lose all the images as well…
What am I doing wrong?
Thank you @texnixe


#4

No, all images are in your content folder and moved to the media folder. The same will happen again, i.e. files moved again from content to media folder.

Maybe it is some sort of caching problem, not sure, but as I said, everything will be recreated.


#5

The media folder is like a cache. It gets generated from the media in your content folders. You shouldn’t put things directly in the media folder.


#6

OK my bad.
I was using running the local website the old way without kirby/router.php.
old habits…
Thanks for coping with me…


#7

Maybe create a nice alias for that? run kirby or something like that…