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 |
|
#1
|
||||
|
||||
|
resizing images
I have an image listing that displays 50x50 thumbnails of the original images. if an image is bigger than 50px, I want its bigger side to be 50px thus shrinking the image. but if an image's original size is say, 20x20, then I want to leave it that way....
at the momnet all images show up as 50x50 which means most images are distorted. does any one know a away to access the original size of an image, so then I can work out what to do with it?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|
|
#2
|
||||
|
||||
|
Hi Spinal....
ASP can get to this info. I have this code somewhere... will post it later.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
I dont think so Rob, not without using a component anyway!... prove me wrong!
|
|
#4
|
||||
|
||||
|
Smokie.... you'll eat those words in a minute.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#5
|
||||
|
||||
|
Here ya go. Nothing needed except ASP and the FileSystemObject:-
![]()
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#6
|
|||
|
|||
|
whoa! my bad :sad:
|
|
#7
|
||||
|
||||
|
damn.... for my own benefit and for the amusement of all webforumz users, I think you guys should argue more often!
thanks for the help Rob...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
#8
|
|||
|
|||
|
could use ASPImage to do the size-detect and resizing...
|
|
#9
|
||||
|
||||
|
Hi D3mon.... yes of course.
There are many Image manipulation components available, but if your on a shared server and your host doesnt have any, then I guess you are out of luck.... this is pure ASP and the filesystem object.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| resizing, images |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| resizing images | dvdriper | JavaScript Forum | 1 | Feb 29th, 2008 16:44 |
| 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 |