| Author |
Message |
whitebox Regular


Joined: Nov 22, 2004 Posts: 52
|
Posted:
Sat May 27, 2006 1:32 pm |
|
did anyone or does anyone know how to create auto thumbnails for NSN GR Downloads.
i have few themes images that i would like to add to description but there throw my site sidebars off just because the images or snapshots are too big.
So if anyone has piece of code that will auto create thumbnails for NSN GR Downloads please let me know or if anyone has idea how to do that
Thanks in advance ..
Pal Owner of Phpcusa |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 4852
|
Posted:
Sun May 28, 2006 8:13 pm |
|
Couldn't you put a maximum width for displaying the image? |
|
|
|
 |
whitebox Regular


Joined: Nov 22, 2004 Posts: 52
|
Posted:
Sun May 28, 2006 9:18 pm |
|
if you show me how maybe i could |
|
|
|
 |
gregexp The Mouse Is Extension Of Arm

Joined: Feb 21, 2006 Posts: 1472 Location: In front of a screen....HELP! lol
|
Posted:
Thu Jun 01, 2006 4:16 pm |
|
i think in replyin to this i may be bumping this thread..not my intention but a nice bonus...Ill work on a code thatll do just that...but ull need to edit some of the nsn files...u upto that?
I would sudjest a url link added to the form when making a download...and that would become the thumbnail...now ill also add the set size (which would be like html) to the show on the downloads page and function...this should satisfy ur request but if ud like it to have more functionality like an option to upload...im just beginning to learn to code and that is not within my means...this would all be done through the admin page so it wouldnt need as much sql injection fullproofing and it would not be manditory either...so time to make this or no?..let me know.
ull also need to run an sql query...all this will be in one package...give me a little while
Easy way out for now would be to set the size of the image same as u would in html..<img src="url.com/pic.gif" width="40" hieght="40"></i mg>
i spaced the tags so that i could post it |
|
|
 |
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 4852
|
Posted:
Thu Jun 01, 2006 7:08 pm |
|
darklord has the right idea, but if you put both width and height (note the correct spelling... ) then you might change the way the image looks. If you do just the width, for example, that should give you what you need. |
|
|
|
 |
whitebox Regular


Joined: Nov 22, 2004 Posts: 52
|
Posted:
Fri Jun 02, 2006 11:44 pm |
|
darklord, to make such changes to the files that would be little bit over my head now.
i might be able to do small modification to files but to add something new from scratch no way i'm not that good.
so consider me as php code noob and let's start from there  |
|
|
|
 |
gregexp The Mouse Is Extension Of Arm

Joined: Feb 21, 2006 Posts: 1472 Location: In front of a screen....HELP! lol
|
Posted:
Sat Jun 03, 2006 9:22 am |
|
Darklords spelling lesson for the day
its not hieght...its height
well with that said...
ill try to help u but my download files are seriously modified and i wouldnt want to tell u to edit the wrong thing...so it might be best if i saw ur downloads pages....
u could pm me on yahoo and i could code it into ur site.
let me know
and its funny..he catches me on height but not on you...notice i never type you.
 |
|
|
 |
 |
|
|
|
|