Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Automatic Thumbnail Creator v1.0


esurge

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...