Where the uploaded image goes?

Where the uploaded image goes?

by Paul Liu -
Number of replies: 3

Hi,

Whenever I upload an image file in the text editor (mce), it display a broken link, this gives me an impression that the folder permission is not set right.  But where the image is saved? What should I look at?

Thanks,

Paul

Average of ratings: -
In reply to Paul Liu

Re: Where the uploaded image goes?

by Paul Liu -

I figured it out, it is about "Use slash arguments", but where the image file physically located? I couldn't find it anywhere.

In reply to Paul Liu

Re: Where the uploaded image goes?

by Rex Lorenzo -

Files are stored on the file system according to their SHA1 hash:

http://docs.moodle.org/dev/File_API_internals#File_storage_on_disk

Very dark magic stuff. Here are some notes regarding the Moodle File API to help you retrieve files from this "pool": https://gist.github.com/3228467