带有可拖动的第二个图像的背景图像(可能是图层)

发布于 2024-08-09 00:31:35 字数 148 浏览 1 评论 0原文

我需要能够拍摄背景图像并浮动第二个可拖动图像(应该是可缩放的,但具有固定的比例)此外,代码应该能够“展平”图像以进行照片共享。哦,浮动图像也应该有阴影,以产生深度的错觉。谢谢!这可以用 jQuery、ajax、Yui 或 Dojo(其他?)吗?或者我是不是喊错了众所周知的代码树干。

I need to be able to take a background image and float a second draggable image (should be scalable, but with fixed proportions) Also the code should be able to 'flatten' the image for photo sharing. Oh, also the floating image should have a dropped shadow to give the illusion of depth. Thanks! Is this possible with jQuery, ajax, Yui or Dojo(other?)? Or am I barking up the wrong proverbial code trunk.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

御弟哥哥 2024-08-16 00:31:36

使用 jQuery 或其他 JavaScript 库,绝对可以在背景图像之上放置一个可拖动、可扩展、固定比例的带有阴影的图像。然而,将两张图像合并为一张图像以进行照片共享将需要一些服务器端代码来进行图像处理。

It's definitely possible to layer a draggable, scalable, fixed-proportioned image with a drop shadow on top of a background image using jQuery or some other JavaScript library. However, flattening the two into one image for photo sharing will require some server-side code that does the image manipulation.

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