I want to create an image Wall for file operations. if you have any of the following questions, I would like to ask:
1. does the linux file name Support '-' (middle bars?
2. can the image Wall be displayed by page? Similar to operating databases, but how does one display the operation file name by page?
Reply to discussion (solution)
1. generally, don't use this. isn't it a good underline?
2. yes. I have never done it, but I have seen it on pages. You can think about it. it is impossible for an image Wall to display unlimited images, for example, thousands of images? When a certain condition is reached, it is regarded as the end. this condition can be used as the basis for paging.
1. support
2. Yes. many third-party libraries are mainly JS libraries.
1. yes
2. Yes. waterfall streams are generally used for image walls, and paging is also acceptable.
However, the list of Retrieved files can only be all. when planning, you can read the list by subdirectory.
Generally, the glob function is used to retrieve the file list to the array, and then continue the output from the last output position.
I want to read it cyclically first, and then use 20-50 like the database LIMT to show the image until 20. is that all right?
$ A = glob ('directory /*');
Foreach (array_slice ($ a, 20, 30) as $ f ){
Echo $ f;
}