This is a discussion on "Resizing Pictures" within the Web Page Design section. This forum, and the thread "Resizing Pictures are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Resizing Pictures
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Resizing Pictures
Im calling some pictures from my database with the following code;
How would i go about styling this list to display the images at a smaller size? Thanks guys |
|
|
|
#2
|
|||
|
|||
|
Re: Resizing Pictures
sok i got it
|
|
#3
|
|||
|
|||
|
Re: Resizing Pictures
You should have a thumbnail version of each image also in the database with a link to the full size one.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#4
|
|||
|
|||
|
Re: Resizing Pictures
I dont need one if i use the above method.... saves on disk space
|
|
#5
|
|||
|
|||
|
Re: Resizing Pictures
ooh, but it's bad web practice!
Generally - if it's an image that they have to click/perform an action on, to make bigger then you should provide a thumbnail to save user load time... It's all about the users time/storage, not ours! Snow |
|
#6
|
||||
|
||||
|
Re: Resizing Pictures
Yeah, it's very bad not to have thumbnails. Besides, they're only a few Kb.
|
|
#7
|
|||
|
|||
|
Re: Resizing Pictures
Remember, these pictures are uploaded by the users themselves .. not me...... and i really dont fancy the idea of editing and resizing every pic that everybody uploads into a thumbnail..... besides the pics all need to be used dynamically, i cant think of an instance where these particular images will be used in plain html.
|
|
#8
|
||||
|
||||
|
Re: Resizing Pictures
PHP could do that for you easily. Do a google search on PHP resize.
|
|
#9
|
|||
|
|||
|
Re: Resizing Pictures
yeah i looked into that.
I might change it eventually ....... but ive got so much to do right now its gonna have to move down the list, just below designing a logo. Bugger .... gotta register a domain /me runs off |
|
#10
|
||||
|
||||
|
Re: Resizing Pictures
It seems like it would be so much less work to do it now, rather than later. In fact, I take it back, you don't even need to upload a thumbnail, you can just use PHP to resize the full one as the thumbnail on the fly. A 10 line PHP script and you're done.
|
![]() |
| Tags |
| img |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pictures | VanessaJW | Webforumz Cafe | 36 | May 22nd, 2007 16:15 |
| resizing.... | jjgamepro17 | Web Page Design | 3 | Apr 18th, 2007 20:22 |
| php uploading pictures | Accurax | PHP Forum | 16 | Dec 18th, 2006 12:20 |
| gap between pictures | maksinx | Graphics and 3D | 9 | Aug 15th, 2006 17:19 |
| Postin Pictures | franknu | PHP Forum | 5 | Jun 24th, 2006 15:51 |