This is a discussion on "How to make a thumbnail using javascript?" within the JavaScript Forum section. This forum, and the thread "How to make a thumbnail using javascript? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
How to make a thumbnail using javascript?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How to make a thumbnail using javascript?
Now i don't have a clue about javascript lol.. But i want to know is it possible to make a thumbnail by putting in the full size image, instead of having 2 images (thumbnail AND full size)? If so, could someone please post a code or tutorial on how to do it?
Thanks. |
|
|
|
#2
|
|||
|
|||
|
Re: How to make a thumbnail using javascript?
Anyone?!
|
|
#3
|
||||
|
||||
|
Re: How to make a thumbnail using javascript?
The thumbnail will look terrible if it's resized by javascript/html... it will be all squishy.
To actually do it, you would need to create the images and then load them into the page...
That should do it ^
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#4
|
|||
|
|||
|
Re: How to make a thumbnail using javascript?
I mean like cropping them in a certain place?
Anyone? |
|
#5
|
||||
|
||||
|
Re: How to make a thumbnail using javascript?
Don't think so. That's beginning to get rather complex. I would suggest a PHP approach, but I'm not sure. Some links I found:
http://superaff.com/archives/2006/03...resize-script/ http://blazonry.com/scripting/upload-size.php http://www.hotscripts.com/PHP/Script...ion/index.html http://www.google.com/search?hl=en&r...esizer&spell=1
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
#6
|
||||
|
||||
|
Re: How to make a thumbnail using javascript?
So what you're talking about isn't thumbnails at all then?
You want to clip a certain amount of the image away? If this is the case you can do it with CSS
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#7
|
|||
|
|||
|
Re: How to make a thumbnail using javascript?
Quote:
Would you know how to do that in css? Would you just put an image in a div and make the div size the size i want it to be clipped? |
|
#8
|
||||
|
||||
|
Re: How to make a thumbnail using javascript?
Use clipping like this
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A new simple way to make a image slider- Javascript Code | o0DarkEvil0o | JavaScript Forum | 1 | May 20th, 2008 01:37 |
| HELP - IE7 Thumbnail Images on a tab | ActionPart | Web Page Design | 2 | Jul 15th, 2007 13:00 |
| thumbnail and text next to each other | konnor5092 | Web Page Design | 15 | Jul 2nd, 2007 11:51 |
| Scrolling thumbnail | Dan Oliver | Flash & Multimedia Forum | 1 | Jun 6th, 2007 16:22 |
| How does one make thumbnail images? | Picard | Website Planning | 3 | Dec 29th, 2006 13:34 |