Rumah >pembangunan bahagian belakang >tutorial php > dede 通过php循环输出图片集图片 如何实现?
dede 通过php循环输出图片集图片 怎么实现???
{dede:pagestyle maxwidth='600' pagepicnum='12' ddmaxwidth='200' row='3' col='4' value='2'/}
{dede:img ddimg='/uploads/allimg/110310/82-110310120045.jpg' text='天洁国际城总体鸟瞰图' width='624' height='408'} /uploads/allimg/110310/82-110310120045.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120111.jpg' text='天洁国际城·华沙城效果图欣赏' width='624' height='434'} /uploads/allimg/110310/82-110310120111.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120119.jpg' text='天洁国际城·华沙城效果图欣赏' width='624' height='441'} /uploads/allimg/110310/82-110310120119.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120127.jpg' text='天洁国际城·华沙城效果图欣赏' width='624' height='390'} /uploads/allimg/110310/82-110310120127.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120137.jpg' text='天洁国际城·华沙城鸟瞰图' width='624' height='468'} /uploads/allimg/110310/82-110310120137.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120144.jpg' text='' width='473' height='624'} /uploads/allimg/110310/82-110310120144.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120152.jpg' text='天洁国际城·华沙城鸟瞰图' width='624' height='481'} /uploads/allimg/110310/82-110310120152.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120203.jpg' text='天洁国际城·华沙城效果图欣赏' width='454' height='444'} /uploads/allimg/110310/82-110310120203.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120209.jpg' text='天洁国际城·华沙城效果图欣赏' width='624' height='394'} /uploads/allimg/110310/82-110310120209.jpg {/dede:img}
{dede:img ddimg='/uploads/allimg/110310/82-110310120215.jpg' text='天洁国际城·华沙城效果图欣赏' width='624' height='415'} /uploads/allimg/110310/82-110310120215.jpg {/dede:img}
上面是我通过图片集id查询出某个图片集imgurls里图片的路径 该怎么样才能实现循环输出图片路径
------解决方案--------------------
楼主。怎么不去dede论坛问问啊。毕竟这里很多人都不用dede的。也不知dede的语法。
------解决方案--------------------
和输出文章组一样,我就是那样用的。
把图片通过添加文章添加,然后读取的时候读取image