将多张照片插入 Tumblr 帖子并将其转换为图像幻灯片
我正在尝试拥有它,这样我就可以将 x 数量的照片添加到 Tumblr 帖子中,然后使用 jQuery 循环将其转换为自定义图像幻灯片。有没有什么方法可以将 x 数量的照片添加到帖子中,并让它以一致的方式吐出图像?我添加了 6,最终它只指向加载自定义幻灯片的 iframe。不过,我不想在帖子中编辑自定义 HTML。
I'm trying to have it so I can add x amount of photos to a Tumblr post and then turn it into a custom image slideshow using jQuery cycle. Is there any way to add x amount of photos to a post and have it spit the images out in a consistent manner? I added 6 and eventually it just points to an iframe that loads their custom slideshow. I don't want to resort to having to edit custom HTML in a post though.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
照片集为您提供照片块,您可以像对待常规照片块一样对待它们。只需添加这些块并将其显示在无序列表中即可。
文档
Photosets give you Photo blocks that you can treat like regular Photo blocks. Just had to add those blocks and have it display in an unordered lists.
Docs
详细说明这个答案...一旦您将照片集视为照片列表,就可以轻松连接 jQuery 插件将它们变成幻灯片(尝试 nivo 或 flex slider)
Elaborating on that answer... Once you have the photo sets being treated as a list of photos, it would be easy to hookup a jQuery plugin to turn them into a slideshow (try nivo or flex slider)