[wp-hackers] avoiding of using phpThumb / timThumb
kkarpieszuk at gmail.com
Thu Mar 31 16:04:48 UTC 2011
on site which i create now, i will have many areas with photos and
those photos must be rescaled befor displaying. normally to do this i
use phpThumb with ?w=100&h=200 etc.
Is there any other way to do this using wordpress core functions?
I thought to use add_image_size to automatically rescale image when
is uploaded. but if i choose this way, i am affraid that this will not
work. i should register tens of image sizes. when smb will upload
photo i can expect that when wordpress will save this image with
rescaled many variants in one moment php will exceed memory limit.
is there any function which i can use in way like phpThumb? this
should rescale image (with crop option) but before this check if
already rescaled version exists
(en) regards / (pl) pozdrawiam
More information about the wp-hackers