This is the final step to my profile modifications system. What I am trying to do here is make it so that each member can upload a photo for the purpose of having it in their profile. I have found and tested several little scripts that are capable of doing what I want but this particular script has a lot of little features that I found be desireable. Like image resizing and detection of the of the current size so if it is already below the max size reqirements it wont bother to resize. Plus max file size makes this one the best. I have tried to incorporate it into a function within the Your_Account main index.php file but alas I am having dificulty.
I dropped the function at the end and the main portion of the scrip into a function I am building in index.php then I rewrote the submit form in pure php so it wouldnt blank out the page. For all intense purposes it should work but it doesent it dose nothing but die after you try and submit a picture.
I decided to try and load it into a module of its own so as not to mess with Your_Account. I have messed that up enough but I will deal with that in another post. So here goes.
I have made the module index.php file and my layout is good except for the placement of the blocks on the right hand side are even with the top of the screen that is weird. But I will just dissable those. I have saved the file as a text file here http://callsigndb.info/external/index.txt to show you exactly what my code is. There are references to a couple fields I added to nuke db myself. The code for the upload is not dependant on those though not now anyway. All I need is for it to upload the file and the final stored file name to be $photoname and this will be ready. But when you try and upload a photo it exits rather abruptly and I dont know why. I have tried everything I can think of. Any help would be so greatly appreciated...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum