Contributions
oscFileBrowser - Browse, delete and organise images folder
Does adding an image to a product in osCommerce bug you? The only way on a default install is to use the Upload command or if the file already exists on the server then you need to know the correct path/filename.
The oscFileBrowser is a lightweight file browsing utility that allows you to upload, delete, select files within your images folder. You can create and navigate sub folders too. When editing or creating a new product simply click on "Choose file" next to the product image field and select the image you want to use from the popup file browser. This then copies the correct path back to the product image field.
Features:
browse and select files
create new folders
upload files
delete files
delete folders
preview images
This package also includes the 'On the Fly' Auto Thumbnailer by Nate Welch as it is dependant on it. I have modified this contribution slightly to improve security. It previously was able to traverse outside of the web root folder which is a no-no. Other modifications included an extra setting that fixed any aspect ratio problems when resizing thumbnails and also the ability to now work in the admin section.
Requirements
The GD image library is required for this mod. This mod has been tested with osCommerce MS2 on a UNIX server. It doesnt work on Windows.
Expand All / Collapse All
in file readme.pdf...
inside oscFileBrowserv2.0.2.zip
maybe a false positive...but.................
You will also need the javascript package Mootools. My apologies, it wasn't packaged in the orginal v2 update.
Please find it here. Unzip to the root folder of your site.
OR you can download the latest package from http://www.jellygnite.com.au/blog/index.php/archive/file-browser-contribution-v2-for-oscommerce/
I stupidly forgot to include the javascript framework Mootools v1.11 with the previous version.
Please use this version instead or visit http://www.jellygnite.com.au/blog/index.php/archive/file-browser-contribution-v2-for-oscommerce/
for the latest version.
Sorry folks!
osCommerce File Browser Version 2 is now available. Please visit http://www.jellygnite.com.au/blog/index.php/archive/file-browser-contribution-v2-for-oscommerce/
for latest version.
Features:
browse and select files
create new folders
upload files
delete files
delete folders
preview images
thumbnail mode to preview all images in a folder
This package also includes the phpThumb() class by James Heinrich. (http://phpthumb.sourceforge.net)
Requirements:
GD image library is required for this mod.
PHP 5
osCommerce MS2
UNIX based or Windows web server
oscFileBrowser v1.0.0 : Complete package attached.
I left some code in when you delete a file/folder that appends the word "content" to the status msg. It has now been commented out.
Does adding an image to a product in osCommerce bug you? The only way on a default install is to use the Upload command or if the file already exists on the server then you need to know the correct path/filename.
The oscFileBrowser is a lightweight file browsing utility that allows you to upload, delete, select files within your images folder. You can create and navigate sub folders too. When editing or creating a new product simply click on "Choose file" next to the product image field and select the image you want to use from the popup file browser. This then copies the correct path back to the product image field.
Features:
browse and select files
create new folders
upload files
delete files
delete folders
preview images
This package also includes the 'On the Fly' Auto Thumbnailer by Nate Welch as it is dependant on it. I have modified this contribution slightly to improve security. It previously was able to traverse outside of the web root folder which is a no-no. Other modifications included an extra setting that fixed any aspect ratio problems when resizing thumbnails and also the ability to now work in the admin section.
Requirements
The GD image library is required for this mod. This mod has been tested with osCommerce MS2 on a UNIX server. It doesnt work on Windows.
Note: Contributions are used at own risk.