douxiong2001 2012-07-07 15:35
浏览 12
已采纳

使用PHP或Javascript生成自动照片库

So I have a huge amount of car photos which I have sorted in a structure looking like this (this is an fictive example to demonstrate my principle):

Cars > Audi > Sports cars > '5 pictures'

Cars > Audi > Family cars > '3 pictures'

Cars > BMW > Family cars > '5 pictures'

I will upload the folder named Cars to my server.

Now what I want is a snippet/script that reads my directory then generate and return html for an simple photoalbum. There is no need for the album to be advanced, I just want to skip writing the photoalbums HTML manually by hand.

I'm guessing that this has been done many times already though I cant find a simple demo of it. I would be willing to pay for it but then I would of course have higher demands regarding the quality of the code.

If anything is unclear please let me know and I will update my question ASAP!

  • 写回答

1条回答 默认 最新

  • dongliao1948 2012-07-07 15:39
    关注

    Sry, I just found the answer:

    http://davidwalsh.name/generate-photo-gallery

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 GD32 SPI通信时我从机原样返回收到的数据怎么弄?
  • ¥15 phython读取excel表格报错 ^7个 SyntaxError: invalid syntax 语句报错
  • ¥20 @microsoft/fetch-event-source 流式响应问题
  • ¥15 ogg dd trandata 报错
  • ¥15 高缺失率数据如何选择填充方式
  • ¥50 potsgresql15备份问题
  • ¥15 Mac系统vs code使用phpstudy如何配置debug来调试php
  • ¥15 目前主流的音乐软件,像网易云音乐,QQ音乐他们的前端和后台部分是用的什么技术实现的?求解!
  • ¥60 pb数据库修改与连接
  • ¥15 spss统计中二分类变量和有序变量的相关性分析可以用kendall相关分析吗?