带有可拖动的第二个图像的背景图像(可能是图层)
我需要能够拍摄背景图像并浮动第二个可拖动图像(应该是可缩放的,但具有固定的比例)此外,代码应该能够“展平”图像以进行照片共享。哦,浮动图像也应该有阴影,以产生深度的错觉。谢谢!这可以用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 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.