Menu

Where are thumbnails ?

equinoxe78
2010-10-28
2013-04-25
  • equinoxe78

    equinoxe78 - 2010-10-28

    Hello,
    I use LinPHA 1.3.4 which works fine.
    In each category I created, I see the thumbnails on the main page.
    But I have a question, where are stored the thumbnails? I do not see them in the tree. They do not really exist?

    Excuses for my bad english :-)

     
  • Bernie

    Bernie - 2010-10-28

    Equinoxe, 

    The thumbnail pictures are cached by LinPHA.  If a requested size thumbnail does not exist it is created, placed in the cache directory, and then indexed so it can be found later.

    I am not sure of the indexing algorithm.  Perhaps if you looked through the code you might be able to figure it out.

    In any case, the "cache" is located in folders under the directory: "…..sql/cache/".  There you will find another level of directories named "0", "1", "2",…"9".  Each of these numbered subdirectories hold various size thumbnails that have been generated.

    As note above, there is some algorithm to determine in which directory a particular thumbnail can be located.  And there is some entry in a SQL table that points to the appropriate thumbnail.

    Hope this helps.

     

Log in to post a comment.