This is a discussion on "resizing images" within the JavaScript Forum section. This forum, and the thread "resizing images are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
resizing images
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
resizing images
hi, i'm creating a site, something like a forum, and i need something like this: i saw it on the IPB forums -> when the page with the selected thread is running, if a picture size - width or height is larger than.... i don't know... 600px, it's resized to 600px, can this be done with javascript?
i know how to do this with all the images on the site, but i don't know how to put this... if section... please someone help me... |
|
|
|
|||
|
Re: resizing images
Look into an element selector method that is available in libraries like jQuery, MooTools, Prototoype. You can then retrieve images on within certain areas of the page:
$(".postContainer img") -> will return an array with all images inside posts. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help resizing images | philhxc | PHP Forum | 2 | Jul 16th, 2007 04:08 |
| resizing.... | jjgamepro17 | Web Page Design | 3 | Apr 18th, 2007 20:22 |
| Resizing Pictures | Accurax | Web Page Design | 9 | Dec 14th, 2006 18:05 |
| Resizing (in pixels) | danburzo | Graphics and 3D | 2 | Jun 19th, 2005 11:06 |
| resizing images | spinal007 | JavaScript Forum | 8 | Sep 30th, 2004 13:17 |