Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Image Manager

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
* refactoring some code - i.e. moved prettyPhoto to catalog/ext/prettyphoto folder
* translated Dutch names in PHP to english (as good as i could)
* added norwegian language support.
* bundled previous contributions except the PHP4 fix from ocs1409
* removed redundant css/js that isn't used by the prettyPhoto.
* Added support for selecting number of images per page.
* Added optional support to use prettyPhoto with product_info (step 8) and product_listing (step 9 - 10)
i used this contribution on two server one with php 4 the other with php 5

under php 5 it worked ok but with server with php 4 if got a error no function scandir ()

just added this function in admin/includes/functions/genaral.php

function scandir($dirstr) {
$files = array();
$fh = opendir($dirstr);
while (false !== ($filename = readdir($fh))) {
array_push($files, $filename);
}
closedir($fh);
return $files;
}

no files in attached zip file
If you have problems with file permissions only need to add 2 lines off code.

Line 84 Find This
move_uploaded_file($_FILES['ufile']['tmp_name'], $dir.$_POST['filename']);
Add next line this
chmod($dir.$_POST['filename'], octdec('777'));

Line 132 Find This
move_uploaded_file($_FILES['uploadfile'.$nummer]['tmp_name'], $dir.$_FILES['uploadfile'.$nummer]['name']);
Add next line this
chmod($dir.$_FILES['uploadfile'.$nummer]['name'], octdec('777'));
I'm afraid I've got a little mistake in previous post. I forgot to include the file init.js. This file is needed ONLY if you decide to install jquery mod of lightbox the way I described in the readme file. In other cases you need not init.js script.
Though here is the code:

$(document).ready(function(){
$("a[rel^='prettyOverlay'],a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'fast', /* fast/slow/normal */
padding: 40, /* padding for each side of the picture */
opacity: 0.4, /* Value betwee 0 and 1 */
showTitle: true, /* true/false */
allowresize: true /* true/false */
});
});


Place this file into catalog/lightbox. This file is for settings only. The general idea is to separate settings of lightbox from main lightbox script. In this case you need not reset settings after installation of new version of lightbox.

AGAIN: This is only for jquery which is installed as I described in previous post.

Sorry my bad english, hope I gave clear instruction.

ONLY init.js SCRIPT IS ATTACHED.
This is good and useful contrib. But it is in Dutch that makes it little unusable. I decided to translate it to other languages. But I completely don't know Dutch. I bet my pardon, if something wrong in translation.

The improvements of this version:
* added multilanguage support
* now supports Dutch, Englixh, Russian
* set initial path to catalog/images folder that prevents to browse over images folder
* more osC standart in code
* preview images now correspond the size, that set in shop settings for images (small images used for preview in shop)

In readme file you find instruction how to customize some features, such as lightbox.

FULL PACKAGE
With this Image Manager it's easy to manage your file's in the images folder. You will see a preview and information like image size, file size and modification date. You can rename, delete and upload a file under the same name. Also you can upload 10 new pictures at a time. I also included a lightbox for nice pictures previews.
   Posted on: 12/09/2008     See contribution details Request Installation with Paid service