如何制作上传文件和文件缩略图 [英] How To Make An Upload File And File Thumbnail

查看:67
本文介绍了如何制作上传文件和文件缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的问题。我想为我的网站成员创建一个图片上传页面。我想,当他们上传它,然后他们就能看到。我想要一个页面从数据库中恢复数据,图片存储在页面上并显示在页面上。但这是问题所在。由于所有上传的图像都转到相同的数据库。我将如何向用户显示他们上传的图片?

Here is my question. I Want to create an image upload page for members of my site. I want to, when they upload it, on then will they be able to see. And i want a page to recive data from the database the picture is stored in and be displayed on a page. but here's the problem. Since all of the images being uploaded goto the same databse. how will i only show pictures to the user that they uploaded?

推荐答案

一些例子......



1. 在上传到php之前显示图像预览 [ ^ ]

2. 显示图像上传的AJAX / PHP的缩影 [ ^ ]
Some examples...

1. display image preview before it upload in php[^]
2. SHOW THUMBNAIL OF IMAGE UPLOAD AJAX/PHP[^]


请参阅以下链接: -



http:/ /webcheatsheet.com/php/create_thumbnail_images.php [ ^ ]

http://tuts.jeremyrajan.com/blog/ multi-image-uploader-with-thumbnail-creation-in-php / [ ^ ]
Refer below links:-

http://webcheatsheet.com/php/create_thumbnail_images.php[^]
http://tuts.jeremyrajan.com/blog/multi-image-uploader-with-thumbnail-creation-in-php/[^]


这篇关于如何制作上传文件和文件缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆