jQuery pull images from directory

后端 未结 4 2043
再見小時候
再見小時候 2020-12-03 05:51

Is it possible to pull a bunch of .jpg pictures form a local file and throw them into a list? Sorry, I was very vague

Pulling from a directory (relitive to

4条回答
  •  伪装坚强ぢ
    2020-12-03 06:21

    Short answer: No, you cannot.

    Long answer: You're going to need to create a list of those files with php with the code similar to what Charles posted, then AJAX that into your jQuery.

提交回复
热议问题