Thumbnails?
Ok, I only know the basics of html, css. Know absaloutely nothing about java, so I joined here because I am starting my own website which allows users to submit content (images.) My homepage is gonna have the "most recent" column on it. I just want to know, how do u make thumbnails?
E.g. I submit an image 600x700 pixels, too big.
I want the longer side to always be 200 pixels,
how do I make it so that it contrains proportions and knows which is the longer side??
Fabnt
Yum Yum, a forum
Busy posted this at 21:04 — 29th December 2006.
He has: 6,151 posts
Joined: May 2001
You need to use a server side language like PHP.
PHP has two methods, the GD library function or ImageMagick (which is a addon), both will do what you are wanting to do.
You say you only know the basics so I probably wouldnt advise you go try write a script, maybe have a look in somewhere like hotscripts.com for a script you can use.
Keep it mind you can only use what your host offers, like if your on windows hosting you'll probably have to use ASP but I'm not sure what that language has for images.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.