Jump to content


Photo

Shrink image like on imageshack?


  • Please log in to reply
3 replies to this topic

#1 Gutspiller

Gutspiller
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 08 April 2006 - 10:40 PM

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.

#2 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 09 April 2006 - 12:31 AM

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]
follow me on twitter @PHPsycho

#3 Gutspiller

Gutspiller
  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 09 April 2006 - 12:44 AM

[!--quoteo(post=362900:date=Apr 8 2006, 08:31 PM:name=ToonMariner)--][div class=\'quotetop\']QUOTE(ToonMariner @ Apr 8 2006, 08:31 PM) View Post[/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.

#4 litebearer

litebearer
  • Members
  • PipPipPip
  • Advanced Member
  • 2,357 posts
  • Locationwhite lake michigan

Posted 10 April 2006 - 01:26 AM

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...

all the brothers were valiant!

[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users