update-290 to go.

June 12th, 2009 -

it is going to be an action packed weekend, I have plans to be in 4 biking event this this weekend. I realized I have a lot of photos from daily plaza and I am determined venture out and think outside the mass.
In other news, in this I am using a plugin for wordpress called awsom for the gallery. The faces on the thumbnail were always too small so i changed the following line

imagecopyresampled ( $NewImageObject , $ImageObject, 0, 0, $X, $Y, $NewImageWidth, $NewImageHeight, $RealImageWidth, $RealImageHeight);

to

imagecopyresampled ($NewImageObject, $ImageObject, 0, 0, ceil ($RealImageWidth * 0.2), ceil ($RealImageHeight * 0.2), $NewImageWidth, $NewImageHeight, ceil ($RealImageWidth * 0.6 ), ceil ($RealImageHeight * 0.6 ) );

so that the thumbnail would be a smaller cropped (60%) version of the original image. The hidden cost is that the option for square thumbnails will now be disabled. There is probably an elegant way to it. if you code it let me know.

Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word


Clicky Web Analytics