AJAX 缩略图
有谁知道有任何免费框架可以帮助您创建网页缩略图,单击时,原始图像会加载到页面顶部(类似模式),而不是打开单独的页面。 谢谢!
Does anyone know of any free frameworks that help you create thumbnails for web pages, that when clicked, the original image loads ontop of the page (modal like), as oppossed to opening a separate page.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
正如已经说过的,您可以使用 Lightbox 向用户提供效果,我将使用它的 ajax 模式,加载缩略图作为其内容。
现在对于缩略图,我会向您推荐类似 http://megasnaps.com/ 的内容,您可以免费使用。
祝你好运。
As have been already said, you can use Lightbox to get the effect to the user, I would use it with its ajax mode, loading the thumbnail as its contents.
Now for the thumbnail, I would recommend you something like http://megasnaps.com/ wich you can use for free.
Good luck.
我过去曾使用过几次 DhoniShow,客户非常喜欢它。 它不是 AJAX,因为它在页面加载时加载所有全尺寸图像,但如果您有动力,我相信您可以很容易地进行更改。
I've used DhoniShow a few times in the past, and clients really liked it. It's not AJAX, as it loads all the full sized images on page load, but if you were motivated I'm sure you could make that change pretty easily.
灯箱。
http://planetozh.com/projects/lightbox-clones/
Lightbox.
http://planetozh.com/projects/lightbox-clones/
这实际上是 2 个问题合 1 问题。模态框中原始的、较大尺寸的图像的“灯箱”显示是在 JavaScript 中使用诸如 ThickBox. 图像大小的调整可以手动完成,也可以通过服务器端的某种代码完成。 Sitepoint 有一个关于如何使用 PHP 调整服务器端大小的不错的指南。 我希望这有助于为您指明正确的方向。
This is really 2 questions in 1. The "lightbox" display of the original, larger sized, images in a modal box is handled in JavaScript with a library such as ThickBox. The resizing of the images can be done manually, or via some kind of code on the server side. Sitepoint has a decent guide on how to resize server side with PHP. I hope this helps point you in the right direction.