Images on filesystem


(autjoe) #1

Hi,

 

We can find the image using a static URL  (/__data/assets/image/100/image.jpg) on /matrix/data/public/assets/image/.

However, if the image is using the human readable URL which is created within the content of a page, then how do we find it in the file system?

 

Thanks!


(Marcus Fong) #2

Look in the data/private directory instead of the data/public directory, in that case.


(autjoe) #3

Yes, but how do we find the image?

e.g. image asset id is 693314. there are many directories, how do we find it is in /0008 if we don't change it to a static URL?

/data/private/assets/image/0008/693314

Thanks!


(Marcus Fong) #4

If you’re on the Linux command line with access to the standard Linux utilities, that should be a matter of:

find /matrix/data/private/assets/image -name 693314