[ main page ] [ affiliates ] [ link me ] [ form ] [ tutorials ]
enable image upload

Demo

n/a

Direction

1. Open b2config.php.

2. On line #108, set use_fileupload to 1.

3. On line #115, set path to your image folder. It should be something like /home/USER/public_html/PATH_TO_IMAGES_FOLDER. If you don't have an image folder, create one.

4. On line #118, type in the URL to this image folder, for example; http://DOMAIN.COM/PATH_TO_IMAGES_FOLDER.

5. On line #127, set the maximum kb of a file to be uploaded or leave it default.

6. CHMOD the image folder to 777 and make sure there is no trailing slash after path or URL. But a trailing slash before path (/home).

7. Save file, upload and test it.

«back