Page: 1 | Rating: Unrated [0] |
Photos Section
Good [+1]Toggle ReplyLink» Nuclear replied on Tue Mar 25, 2003 @ 1:33pm |
I am changing things around a little since people are now getting digital cameras but they take pictures which are crazy big...
MAX HEIGHT = 800 MAX WIDTH = 800 MAX SIZE = 100,000 bytes If you upload something which is bigger don't worry the script will take care of things... It's smart because I am smart so I made it smart you know what I mean... Actually I have not programmed it in yet but I made a script which goes through all pictures like every few days and fixes it up... |
Good [+1]Toggle ReplyLink» Miss_Amanda replied on Tue Mar 25, 2003 @ 1:38pm |
Good [+1]Toggle ReplyLink» neoform replied on Tue Mar 25, 2003 @ 2:08pm |
Good [+1]Toggle ReplyLink» Nuclear replied on Tue Mar 25, 2003 @ 2:14pm |
Good [+1]Toggle ReplyLink» Screwhead replied on Tue Mar 25, 2003 @ 2:20pm |
Good [+1]Toggle ReplyLink» Nuclear replied on Tue Mar 25, 2003 @ 3:00pm |
Example Output...
data/photos/001254/004000.jpg - W: 480 H: 640 SIZE: 51588 data/photos/001254/004003.jpg - W: 640 H: 480 SIZE: 53366 data/photos/001254/004004.jpg - W: 640 H: 480 SIZE: 78829 data/photos/001254/004006.jpg - W: 640 H: 480 SIZE: 88590 data/photos/001254/004008.jpg - W: 640 H: 480 SIZE: 55804 data/photos/001254/004010.jpg - W: 480 H: 640 SIZE: 85519 data/photos/001254/004013.jpg - W: 480 H: 640 SIZE: 53474 data/photos/001254/004015.jpg - W: 640 H: 480 SIZE: 43876 data/photos/001254/004017.jpg - W: 640 H: 480 SIZE: 74147 data/photos/001254/004018.jpg - W: 640 H: 480 SIZE: 71936 data/photos/001254/004020.jpg - W: 640 H: 480 SIZE: 82130 data/photos/001254/004022.jpg - W: 640 H: 480 SIZE: 98378 data/photos/001254/004023.jpg - W: 480 H: 640 SIZE: 51285 data/photos/001254/004025.jpg - W: 480 H: 640 SIZE: 88927 data/photos/001254/004027.jpg - W: 640 H: 480 SIZE: 62805 data/photos/001254/004029.jpg - W: 640 H: 480 SIZE: 58803 data/photos/001254/004031.jpg - W: 640 H: 480 SIZE: 96522 data/photos/001254/004033.jpg - W: 640 H: 480 SIZE: 50312 CHANGE: data/photos/001254/004036.jpg - W: 640 H: 480 SIZE: 129694 TO: data/photos/001254/004036.jpg - W: 640 H: 480 SIZE: 78863 CHANGE: data/photos/001254/004037.jpg - W: 640 H: 480 SIZE: 124106 TO: data/photos/001254/004037.jpg - W: 640 H: 480 SIZE: 75849 data/photos/001254/004038.jpg - W: 480 H: 640 SIZE: 40848 data/photos/001207/004040.jpg - W: 500 H: 335 SIZE: 47728 data/photos/001207/004041.jpg - W: 500 H: 352 SIZE: 65894 data/photos/001207/004042.jpg - W: 500 H: 338 SIZE: 41268 CHANGE: data/photos/001207/004043.jpg - W: 500 H: 736 SIZE: 114584 TO: data/photos/001207/004043.jpg - W: 500 H: 736 SIZE: 98772 data/photos/001207/004044.jpg - W: 500 H: 403 SIZE: 49888 data/photos/001207/004045.jpg - W: 500 H: 335 SIZE: 53546 data/photos/001207/004046.jpg - W: 348 H: 500 SIZE: 46839 data/photos/001207/004047.jpg - W: 500 H: 338 SIZE: 48401 data/photos/001207/004048.jpg - W: 500 H: 364 SIZE: 58976 data/photos/001207/004049.jpg - W: 500 H: 335 SIZE: 45580 data/photos/001207/004050.jpg - W: 500 H: 337 SIZE: 40984 data/photos/001207/004051.jpg - W: 500 H: 379 SIZE: 42499 data/photos/001207/004052.jpg - W: 500 H: 335 SIZE: 43646 data/photos/001207/004053.jpg - W: 500 H: 330 SIZE: 50628 data/photos/001207/004055.jpg - W: 500 H: 335 SIZE: 39577 data/photos/001207/004056.jpg - W: 500 H: 330 SIZE: 53352 data/photos/001207/004057.jpg - W: 415 H: 318 SIZE: 54188 data/photos/001207/004058.jpg - W: 326 H: 495 SIZE: 39321 data/photos/001207/004059.jpg - W: 500 H: 356 SIZE: 49476 data/photos/001207/004060.jpg - W: 500 H: 338 SIZE: 45684 data/photos/001207/004061.jpg - W: 500 H: 374 SIZE: 61094 data/photos/001207/004062.jpg - W: 500 H: 408 SIZE: 58327 data/photos/001207/004063.jpg - W: 500 H: 355 SIZE: 50354 data/photos/001207/004064.jpg - W: 339 H: 500 SIZE: 43930 data/photos/001207/004065.jpg - W: 500 H: 364 SIZE: 42506 data/photos/001207/004066.jpg - W: 500 H: 335 SIZE: 46336 data/photos/001207/004067.jpg - W: 500 H: 398 SIZE: 53350 data/photos/001207/004068.jpg - W: 500 H: 376 SIZE: 48456 data/photos/001207/004069.jpg - W: 500 H: 691 SIZE: 92932 data/photos/001207/004070.jpg - W: 500 H: 429 SIZE: 59901 data/photos/001207/004071.jpg - W: 500 H: 349 SIZE: 54964 CHANGE: data/photos/001224/004072.jpg - W: 866 H: 587 SIZE: 48052 TO: data/photos/001224/004072.jpg - W: 800 H: 542.263279446 SIZE: 25096 CHANGE: data/photos/001224/004073.jpg - W: 849 H: 615 SIZE: 105311 TO: data/photos/001224/004073.jpg - W: 800 H: 579.505300353 SIZE: 56540 CHANGE: data/photos/001224/004074.jpg - W: 617 H: 873 SIZE: 91093 TO: data/photos/001224/004074.jpg - W: 565.406643757 H: 800 SIZE: 45218 CHANGE: data/photos/001224/004075.jpg - W: 869 H: 596 SIZE: 94849 TO: data/photos/001224/004075.jpg - W: 800 H: 548.676639816 SIZE: 47866 CHANGE: data/photos/001224/004076.jpg - W: 855 H: 564 SIZE: 77102 TO: data/photos/001224/004076.jpg - W: 800 H: 527.719298246 SIZE: 38609 CHANGE: data/photos/001224/004077.jpg - W: 857 H: 591 SIZE: 78412 TO: data/photos/001224/004077.jpg - W: 800 H: 551.691948658 SIZE: 41852 CHANGE: data/photos/001224/004078.jpg - W: 861 H: 600 SIZE: 93368 TO: data/photos/001224/004078.jpg - W: 800 H: 557.491289199 SIZE: 49075 CHANGE: data/photos/001224/004079.jpg - W: 867 H: 603 SIZE: 104765 TO: data/photos/001224/004079.jpg - W: 800 H: 556.401384083 SIZE: 54465 CHANGE: data/photos/001224/004080.jpg - W: 983 H: 655 SIZE: 92334 TO: data/photos/001224/004080.jpg - W: 800 H: 533.062054934 SIZE: 37834 CHANGE: data/photos/001224/004081.jpg - W: 675 H: 983 SIZE: 106709 TO: data/photos/001224/004081.jpg - W: 549.338758901 H: 800 SIZE: 44676 CHANGE: data/photos/001224/004082.jpg - W: 864 H: 591 SIZE: 59871 TO: data/photos/001224/004082.jpg - W: 800 H: 547.222222222 SIZE: 30787 |
Good [+1]Toggle ReplyLink» Mali replied on Tue Mar 25, 2003 @ 3:57pm |
Good [+1]Toggle ReplyLink» Screwhead replied on Tue Mar 25, 2003 @ 4:01pm |
I can now look at a picture and it will be resized in my field of vision. Thankyou for reprograming me. :) |
Good [+1]Toggle ReplyLink» errorizE replied on Tue Mar 25, 2003 @ 5:08pm |
Good [+1]Toggle ReplyLink» Nuclear replied on Tue Mar 25, 2003 @ 5:59pm |
Actually it does many things....
1) If the width or heigh of the picture is over 800 then it will resize accordingly... Ex: 1024 x 768 will be resized to 800 x 600 Ex: 1024 x 2048 will be resized to 400 x 800 2) If the picture is over 100,000 bytes then it will resave the image using a compression to make it smaller... It will start with a big compression like 95% and if that does not work it will work it's way to 85% which should work with every image... Image = 1 megs Resize to under 100,000 bytes automatically 3) All new values will be added to the database... The database was missing a lot of information for older pictures... This means the server won't have to check each file anymore when people wanna display a picture to resize... |
Good [+1]Toggle ReplyLink» Lady replied on Tue Mar 25, 2003 @ 9:39pm |
Good [+1]Toggle ReplyLink» neoform replied on Wed Mar 26, 2003 @ 1:12am |
Good [+1]Toggle ReplyLink» Nuclear replied on Wed Mar 26, 2003 @ 1:26am |
Good [+1]Toggle ReplyLink» Agent_Yogurt replied on Wed Mar 26, 2003 @ 11:02am |
Good [+1]Toggle ReplyLink» clown replied on Thu Mar 27, 2003 @ 12:25pm |
wow, that script looks like umm, well, not much to me..
i'm clueless when it comes to coding |
Good [+1]Toggle ReplyLink» Toltech replied on Thu Mar 27, 2003 @ 1:04pm |
I tried to upload a picture and it didn't resize shit....it wouldn't even load it. What did I do wrong? |
Good [+1]Toggle ReplyLink» somekid replied on Thu Mar 27, 2003 @ 2:46pm |
pic in your profile have to be under 10000k to load. The script is made for the Party photo database and goes through it every few days to resize the pics that are too big. |
Good [+1]Toggle ReplyLink» Nuclear replied on Thu Mar 27, 2003 @ 10:45pm |
Well I need to use the new code for the uploading of files... My script only does the files which are already on the server... hehe it will come probably by tomorrow... |
Good [+1]Toggle ReplyLink» LoudSipher replied on Mon Apr 7, 2003 @ 5:28am |
Good [+1]Toggle ReplyLink» da_instagatah replied on Mon Apr 7, 2003 @ 9:00am |
It's smart because I am smart so I made it smart you know what I mean. -noah
that was really funny actually and damn ur so conceited! :b |
Photos Section
Page: 1 |
[ Top Of Page ] |
Post A Reply |
You must be logged in to post a reply.
[ Top Of Page ] |