jquery lightbox 上一个和下一个按钮
我一直在研究 jquery lightbox 插件,它看起来很简单,但是我想知道是否有办法使插件的“上一个”和“下一个”按钮工作而无需按顺序命名图像(例如“图像1.jpg,图像2.jpg,图像3.jpg”)。非常感谢任何帮助,提前致谢!
注意:其使用的图像由用户上传,并重命名为我的 php 代码在上传过程中生成的随机名称
I´ve been looking at the jquery lightbox plugin and it seems simple enough, however i was wondering if there is anyway that i could make the plugin´s "previous" and "next" buttons work without the images being named sequentially (eg. "image1.jpg, image2.jpg, image3.jpg"). Any help is greatly appreciated, thanks in advance!
Note: The images its working with are uploaded by users and are renamed to a random name generated by my php code during upload
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
jQuery lightbox 不会重命名图像。如果图像被命名为image1.jpg、image2.jpg、image3.jpg,那是因为它们是由服务器或上传者这样命名的。
jQuery lightbox does not rename images. If the images are named image1.jpg, image2.jpg, image3.jpg, it is because they are named that way by the server or the uploader.