Ignore:
Timestamp:
Jan 6, 2011, 12:30:58 AM (13 years ago)
Author:
rub
Message:

Upload button: check extension and reduce window size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/include/conf.inc.php

    r8440 r8481  
    2424}
    2525
    26 global $conf;
     26global $conf, $page;
    2727
    2828$conf['fbp'] = array_merge(
     
    121121  $conf['fbp']['social_plugin_like_box']);
    122122
    123 //~ print_r($conf['fbp']);
     123//From http://developers.facebook.com/docs/reference/rest/photos.upload/
     124// *GIF *JPG *PNG *PSD *TIFF *JP2 *IFF *WBMP *XBM
     125$page['fbp']['available_upload_ext'] = array('GIF', 'JPG', 'PNG', 'PSD', 'TIFF', 'JP2', 'IFF', 'WBMP', 'XBM');
    124126
    125127?>
Note: See TracChangeset for help on using the changeset viewer.