Search
Left Quote    By failing to prepare, you are preparing to fail.
- Benjamin Franklin    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: thumbnail
  This user is offline  ki
  Subject: "thumbnail" Posted: @ 10:48 pm on Jul 03 2007   

Member #: 204
Rank: User - (50)
Since: 09/16/06
Posts: 53
From: Florida

How can I make a thumbnail of an image saved on the server and just display as you would captcha.php?


woohoo!
    Viewed: 6,358 Times | Reply to This | To top
  This user is offline  sm0ke
  Subject: "re: thumbnail" Posted: @ 2:13 am on Jul 04 2007    

Member #: 168
Rank: User - (83)
Since: 06/05/06
Posts: 34
From: Manchester - UK

Can you go into more detail here?

Do you want to take an image from the server, copy it, resize and resample it then display the thumb image while keeping the original image where it was?

Use a .php script to get the image and display it resized dependant on required quality or to a custom height - something like:

<img src='http://ww w.yoursite.com/ image.php?file= images/image.jp g&size=150 '

the .php script would grab the image, resize it on the fly storing it in a temp directory and destroy the thumbnail when the page is exited - this method will cause additional bandwidth usage and prolonged page load times.

Not sure exactlt what you are looking for though.




Just because I dont care, doesnt mean I dont understand.

purepcs@hotmail
.co.uk |     Viewed: 6,350 Times | Reply to This | To top
Viewing Page: 1 of 1


1 |

You must be logged in to post on the forums. Login or Register








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank