• Need an easy to use ImageResizer
    19 replies, posted
Hey, Need an image resizer that works properly, I can't seem to get any to actually work. DURR for some reason. tried PHPthumb about a year ago, its code is really old and needed lots of work to get it working. Trying to use something current. Tried these, didn't work : [url]http://shiftingpixel.com/2008/03/03/smart-image-resizer/[/url] [url]http://www.joedesigns.com/v22/?page=scripts_widgets&id=67[/url] GD is enabled PHP 5.3 [B]EDIT[/B] All right, tried a couple that were posted. I found andersonmat's which was easy as hell to use did resize the image but no matter what made the kb size of the image out of wack. 80 kb would jump to 250. I tried what jaybuz posted and although I said it was a bit bulky, with a bit of minifying it isn't that bad. Other than that, it is perfect to use. Thanks jaybuz
Do you actually need to resize an image, or can you just display it as a certain size?
[url]http://www.facepunch.com/showthread.php?t=850562[/url]
[url]http://net.tutsplus.com/tutorials/php/image-resizing-made-easy-with-php/[/url]
If you use linux you could just use imagemagick.
Imagemagick works on Windows too
Another vote for Imagemagick here. Works great. And it integrates nicely with Drupal too. (brace for CMS dick waving)
It works like this. Not sure how it works in windows. [IMG]http://imgkk.com/i/e519.png[/IMG] 100 is the width and it will automatically resize height to keep the perspective. You can also use a wildcard like *.jpg to resize all jpg images in the directory it's working in.
[QUOTE=KSI;22225803]Do you actually need to resize an image, or can you just display it as a certain size?[/QUOTE] The images being used are around 2500xwhatever resolution (500+ KB) when I need them at 570xwhatever. If it was my site, I would just use photoshop and resize it, but it's not. Both the links that andersonmat and KSI posted should do the job. Thanks everyone that posted, I'll try and remember to get back and say what route I went.
[QUOTE=wutanggrenad;22243341]The images being used are around 2500xwhatever resolution (500+ KB) when I need them at 570xwhatever. If it was my site, I would just use photoshop and resize it, but it's not. Both the links that andersonmat and KSI posted should do the job. Thanks everyone that posted, I'll try and remember to get back and say what route I went.[/QUOTE]Ah okay, what I was getting at is that if they were just a tad bit too big, but you wanted them to fit into a certain area...like 200x200, then you can use CSS to do that. [code]img { max-width:200px; max-height:200px; }[/code] That would still have the image, it just would be set to that size, and when opened or clicked it would display its normal size.
I figured that's what you meant, no problem man I wish it was that easy
Irfanview
[QUOTE=Anti Christ;22243537]Irfanview[/QUOTE]Did you read [i]any[/i] of this thread?
[QUOTE=KSI;22243577]Did you read [I]any[/I] of this thread?[/QUOTE] He asked for an easy to use image-resizer. I gave him what I use. I don't see a problem here, officer. Edit: Although, as for using one online, I don't see the point of it, or know of any. Good day, sir.
This is a good solid script: [url]http://code.google.com/p/timthumb/[/url] [url]http://timthumb.googlecode.com/svn/trunk/timthumb.php[/url]
[QUOTE=jaybuz;22257188]This is a good solid script: [url]http://code.google.com/p/timthumb/[/url] [url]http://timthumb.googlecode.com/svn/trunk/timthumb.php[/url][/QUOTE] Although it says it is small, it's pretty thick for a PHP image resizer. I didn't read through it all, but it seems to support more than what I need. Although I will keep it in mind, still working on something else before I get to the resizer *sigh*
[QUOTE=wutanggrenad;22258317]Although it says it is small, it's pretty thick for a PHP image resizer. I didn't read through it all, but it seems to support more than what I need. Although I will keep it in mind, still working on something else before I get to the resizer *sigh*[/QUOTE] A lot of it is security bulking it up.
[QUOTE=jaybuz;22258361]A lot of it is security bulking it up.[/QUOTE] Yeah it seems to save the image to a cache directory and check it for updated versions, this may be more suitable in the long run, as even resizing the images, they still are 100+ KB.
updated in op, I suggest those in the same situation take a look
Yeah, mine just uses GD to resize the image. No idea why it gets so big. :v:
Sorry, you need to Log In to post a reply to this thread.