Quote:
Originally posted by mojotim
Hey this hack looks great. Are you using the convert function in ImageMagick? If so you could easily just make jpg thumbs. Anyways, I would love to get a hold of this hack! Let us know when you're ready! If you want someone else to test it for you let me know.
|
PHP Code:
system("/usr/X11R6/bin/convert -geometry '160x120>' -quality '75' $filename GIF:$thumbname");
Is all I'm doing to make thumbnails. My server got slammed yesterday (Everquest Game servers were down, so EVERYONE hits the message boards).. made alot of fixes and improvements. And yeah, you could use JPG thumbs just by changing GIF: to JPG: ... I used GIFs cause I didn't want further quality loss in the already shrunk image. I dunno how 100% quality JPG would compare against a GIF. GIF also seems to preserve animations, whereas JPG wouldn't. Could try PNG too...
I need to add some options to the admin menus, then I'll put a copy up. I have another hack people are anxious for too, I just hate the documentation/instructions part.