通过PHP在文章中创建幻灯片 [英] Create slideshow from images in an article by PHP

查看:84
本文介绍了通过PHP在文章中创建幻灯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have a content string that get from mysql:


<table width="450" cellspacing="1" cellpadding="1" border="1">
<tbody>
    <tr>
        <td><img width="513" height="680" align="left" alt=" src="/userfiles/image/pic.jpg" /></td>
        <td><img width="315" height="700" align="left" alt=" src="/userfiles/image/DSC_0389.JPG" /></td>
        <td><img width="580" height="320" align="left" alt=" src="/userfiles/image/ktxh.jpg" /></td>
    </tr>
</tbody>



I will display content in html, Then I want: if click on any image in artice it will popup a window slideshow all images in the content with width and height are fixed by 200 (it's same as https://photoswipe.com/).

i seach on google, but can't find any solution for that, anybody can help me? thank you very much





我尝试过:



我找不到方法,你能帮我吗



What I have tried:

I can't find the method, can you help me

推荐答案

如何创建幻灯片 [ ^ ]


这篇关于通过PHP在文章中创建幻灯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆