Welcome Guest, Not a member yet? Register   Sign In
upload all kind of images
#1

[eluser]Justin Patel[/eluser]
Hello friends


How can we allow all kind of image upload ...
#2

[eluser]Nick Husher[/eluser]
File Uploading (user guide)

Simply set the config property 'allowed_types' to 'jpg|png|gif|tiff|ps|bmp' which should about cover it.
#3

[eluser]xwero[/eluser]
you could add a upload.php in the config directory with following items
Code:
$config['upload_image'] = ‘jpg|png|gif|tiff|ps|bmp’;
$config['upload_video'] = ‘wmv|avi|mov’;
$config['upload_audio'] = ‘wma|mp3|ogg’;
$config['upload_text'] = ‘txt|doc|odt’;
$config['upload_all'] = $config['upload_image'].'|'.$config['upload_video'].'|'.$config['upload_audio'].'|'.$config['upload_text'];
Add whatever you like and autoload the file to use it anywhere on the site.




Theme © iAndrew 2016 - Forum software by © MyBB