musiconly |
|
---|---|
I'm trying to use this function in one plugin I'm creating, I have to create thumb from a 400x250px image which will be 80x50px.
I read in functions.php the syntax of sed_createthumb function but I get some errors. Can someone point me out in a right direction?
$plugin .= sed_createthumb($output['page_featbig'], 'datas/users', 50, 80, 1, gif, $output['page_title'], 0, 0, 0, 0, 0, 80, $dim_priority="Width"); I get this errors: Warning: imagegif() [function.imagegif]: Unable to open 'datas/users' for writing in C:\xampp\htdocs\system\functions.php on line 2032
Warning: imagegif() [function.imagegif]: Unable to open 'datas/users' for writing in C:\xampp\htdocs\system\functions.php on line 2032
Warning: imagegif() [function.imagegif]: Unable to open 'datas/users' for writing in C:\xampp\htdocs\system\functions.php on line 2032 I'm using localhost so I don't have idea how to CHMOD 0777 that folder. I'm running Vista btw. Any help appreciated! |
Trustmaster |
|
---|---|
You need to specify file name for a thumb, e.g. 'datas/thumbs/'.$my_small_image_name
May the Source be with you!
|