PakFuse
01-25-2009, 09:15 AM
Hello all :)
I am a newbie in Vbulletin community and a novice in PHP world... I hope I will get some help or guidance here by my fellow VB community members...
Basically, I am looking for a PHP script that will allow me to upload images using simple HTML form and create a thumbnail at the same time while providing me an image tag for thumbnail, which is also linked to the original image file, opened in a new browser window.
(I have both GD and ImageMagick on my server)
I've two folders for original files, and thumnbnails - ideally i'd like it to rename the photo to the same thing in both folders by appending user id with the image name...
so the image upload link is only visible when the user is logged in and therefore php file has a poster id in the url...
I have done some basic research on this type of solution and I know that images directory in this case has to have CHMOD set as 0777 so I would like to have it outside of my root....
Is there a hack or MOD available for such a solution... even an old one?? or any working script that I can get a hold of... Few on the net that I found seem not to be working for me :(
I am a newbie in Vbulletin community and a novice in PHP world... I hope I will get some help or guidance here by my fellow VB community members...
Basically, I am looking for a PHP script that will allow me to upload images using simple HTML form and create a thumbnail at the same time while providing me an image tag for thumbnail, which is also linked to the original image file, opened in a new browser window.
(I have both GD and ImageMagick on my server)
I've two folders for original files, and thumnbnails - ideally i'd like it to rename the photo to the same thing in both folders by appending user id with the image name...
so the image upload link is only visible when the user is logged in and therefore php file has a poster id in the url...
I have done some basic research on this type of solution and I know that images directory in this case has to have CHMOD set as 0777 so I would like to have it outside of my root....
Is there a hack or MOD available for such a solution... even an old one?? or any working script that I can get a hold of... Few on the net that I found seem not to be working for me :(