简体   繁体   English

jQuery灯箱上一个和下一个按钮

[英]jquery lightbox previous and next buttons

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"). 我一直在看jquery灯箱插件,它看起来很简单,但是我想知道是否有我可以使插件的“上一个”和“下一个”按钮工作而无需按顺序命名图像(例如。 “ 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 注意:其使用的图像由用户上传,并且在上传过程中被重命名为由我的php代码生成的随机名称

jQuery lightbox does not rename images. jQuery lightbox不会重命名图像。 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. 如果将图像命名为image1.jpg,image2.jpg,image3.jpg,则是因为它们是由服务器或上载器以这种方式命名的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM