esurge Posted December 19, 2003 Share Posted December 19, 2003 Hello, Does any one have the working code for the following contribution. Automatic Thumbnail Creator v1.0 If so can some one please copy and paste it on this topic. PLEASE Jazz :blink: :blink: :blink: :blink: :blink: :angry: :( <_< <_< ;) :unsure: :unsure: <_< -_- <_< -_- :huh: :huh: Link to comment Share on other sites More sharing options...
trendyfashion Posted December 20, 2003 Share Posted December 20, 2003 I have it and it works fine just like it comes. The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
esurge Posted December 20, 2003 Author Share Posted December 20, 2003 can i get a copy of the code please jazz Link to comment Share on other sites More sharing options...
trendyfashion Posted December 20, 2003 Share Posted December 20, 2003 Its in the contribution section.....Auto Thumbnail Addon I don't use gifs but tried to make it work and the porblem I ran into I fixed with this code. THis didnt work... $types = array (1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); $not_supported_formats = array ("GIF"); // Write in capital Letters!! umask(0); !is_dir ($cachedir) ? mkdir ($cachedir, 0777) : system ("chmod 0777 ".$cachedir); This does work for me..... $types = array (1 => "gif", "jpeg", "png", "swf", "psd", "wbmp"); !is_dir ($cachedir) ? mkdir ($cachedir, 0777) : system ("chmod 0777 ".$cachedir); The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.