Gutspiller Posted April 8, 2006 Share Posted April 8, 2006 I want to be able to shrink my images like on imageshack. Example: [a href=\"http://img375.imageshack.us/my.php?image=imageomatic40tl.jpg\" target=\"_blank\"]http://img375.imageshack.us/my.php?image=imageomatic40tl.jpg[/a]The first image is basically the large image just with it's width and height lower than what they really are. When you click the image the image width and height adjust to the native size without reloading the page.Can somebody point me or create something for me that does this? I really need this for a site I'm working on.Thanks for any help you can provide. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted April 9, 2006 Share Posted April 9, 2006 you will need the gd library functions!!!!here is your starting point - have fun learning ;)[a href=\"http://uk.php.net/manual/en/ref.image.php\" target=\"_blank\"]PHP Image Functions[/a] Quote Link to comment Share on other sites More sharing options...
Gutspiller Posted April 9, 2006 Author Share Posted April 9, 2006 [!--quoteo(post=362900:date=Apr 8 2006, 08:31 PM:name=ToonMariner)--][div class=\'quotetop\']QUOTE(ToonMariner @ Apr 8 2006, 08:31 PM) [snapback]362900[/snapback][/div][div class=\'quotemain\'][!--quotec--]you will need the gd library functions!!!!here is your starting point - have fun learning ;)[a href=\"http://uk.php.net/manual/en/ref.image.php\" target=\"_blank\"]PHP Image Functions[/a][/quote]I have the gd lib on my server, but I don't know jack about coding. I was hoping for somebody to either post a script or something that I could just insert into the other script that I'm using. I don't know php at all, hence the php newbie forum. Quote Link to comment Share on other sites More sharing options...
litebearer Posted April 10, 2006 Share Posted April 10, 2006 Might take a look here[a href=\"http://www.nsftools.com/tips/ImageResize.htm\" target=\"_blank\"]http://www.nsftools.com/tips/ImageResize.htm[/a]Lite... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.