Jump to content

Shrink image like on imageshack?


Gutspiller

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/6907-shrink-image-like-on-imageshack/
Share on other sites

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.