![]() |
File resize?
Im working on a website right now and i made a script in php to upload an image and then display it on a different page. It works very well. My only problem is that i want to be able to turn those images into thumbnails with small file sizes automatically once i upload the file to my server. I don't really know that much php and i have no idea how i would accomplish this
|
Re: File resize?
I don't know a lot about php either, but I think I saw somewhere that Photoshop has a utility included in it somewhere that allows you to create php galleries similar to Windows Explorer Filmstrip picture viewing... does your team have a copy of PS? Maybe other editors have this same feature (Paint Shop Pro, CoredDRAW, etc.)
Check those out. |
Re: File resize?
yes we do have a copy of photoshop but i've never heard of a utility like that. But i also do not know much about photoshop
|
Re: File resize?
Download a copy of some forum software like Vbulletin, phpBB, or Invision, open it in Dreamweaver, and do a code search of the entire folder that you have to make into a site for "image resize" or "resize".
|
Re: File resize?
you'll want another library such as GD or ImageMagick to do the resizing. Googling those should give you plenty of material to get you started.
|
Re: File resize?
Quote:
If not, I've done some work on that, you can check this link: http://users.wpi.edu/~woloi/pictures.txt I haven't looked at that since early summer, so I can't say I know what I did, but if you can't figure out what I did, I'd be more than happy to look back at it and help you. I believe the only problem should be mess and such, cause I never actually cleaned that code up. Specifically, look at the following code, though it will need to be modified for your purposes: Code:
function Thumbnails ($pics, $root, $thumbnails) { |
Re: File resize?
In CPanel, does Fantastico have anything useful? (providing that you have CPanel and Fantastico)
|
Re: File resize?
Quote:
|
Re: File resize?
Quote:
PHP Code:
|
Re: File resize?
Quote:
|
| All times are GMT -5. The time now is 15:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi