AJAX 缩略图

发布于 2024-07-05 19:09:05 字数 70 浏览 5 评论 0原文

有谁知道有任何免费框架可以帮助您创建网页缩略图,单击时,原始图像会加载到页面顶部(类似模式),而不是打开单独的页面。 谢谢!

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

倾城°AllureLove 2024-07-12 19:09:05

正如已经说过的,您可以使用 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.

司马昭之心 2024-07-12 19:09:05

我过去曾使用过几次 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.

浅忆 2024-07-12 19:09:05

这实际上是 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文