使用 JQuery 和 PHP 进行图像处理
我想做某种图像编辑器,在上传更多图像后,我会制作一个包含所有缩略图的列表!
之后,我希望能够单击一个拇指并旋转、复制、拖放(以更改图像的位置)以及删除图像。我希望所有图像都在 php 数组中。如果删除图像,我也想从数组中删除该行。如果拖放图像,我也想更改数组中的位置。
好的,当用户上传所有图像并修改其中一些图像后,如何制作一个 DONE 按钮来保存图像的位置?
我已经准备好了所有这些,我只需要知道用jquery“编辑”后如何保存图像列表?我需要一个保存按钮或其他东西
对于这个小项目,您建议我如何保存图像? (在mysql中创建一个表并根据会话id将图像的名称存储在数据库中?取决于IP?)
欢迎任何建议!
I want to do some kind of image editor, after I upload more images I make a list with all the thumbnails!
After, I want to be able to click on one thumb and rotate, duplicate, drag and drop (to change positions of the images), and delete the image. I want all the images to be in a php array. If an image is deleted I want to delete the row from array too. If a image is drag-and-dropped I want to change the position in the array too.
Ok, after the user uploads all the images and modifies some of them, how can I make a DONE button to save the positions of the images?
I made all ready all this, i only need to know how i can save the list of images after i "edit" with jquery? i need a save button or something
For this small project how do you suggest I save the images? (to make a table in mysql and store the names of the images in the database depending on the session id? depending on the IP?)
Any suggestions are welcome!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
方式,太包罗万象的问题。
我的建议:
围绕
对此做一些工作并返回更具体的问题。
Way, waaay too all-encompassing question.
My suggestions:
Do some work on this and come back with more specific questions.