Hello
I have not watermark on my images.
My opi_thumbnails.php
require_once('includes/configure.php');
error_reporting(0);
//NO APACHE REWRITE, remove/commented below line
if (basename($_SERVER['REQUEST_URI']) == basename(__FILE__)) imageScale404(); //preventing direct access to this file
//disable custom mode: crop,auto,clip,width and height request
define('OPI_ENABLE_CUSTOME_MODE', true); //if you disabled it, also edit .htaccess and remove rewriteRule that command customMode
//enable advance apache mod-rewrite (see readme.html)
define('OPI_ENABLE_ADVANCED_REWRITE', true);
define('DIR_FS_OPIFILE_HERE', dirname(__FILE__)); // absolute path to this file
define('OPI_FS_IMAGES_OPI_PATH', DIR_FS_OPIFILE_HERE . str_replace('/', DIRECTORY_SEPARATOR, '/images/') ); // OSC_PRODUCT_IMAGE_ABSOLUTE_PATH
define('OPI_FS_IMAGES_OPI_THUMB', OPI_FS_IMAGES_OPI_PATH . str_replace('/', DIRECTORY_SEPARATOR, '_thumbnail_/')); // OSC_PRODUCT_IMAGE_ABSOLUTE_PATH + OSC_PRODUCT_IMAGE_THUMBNAIL_DIRECTORY
define('OPI_FS_IMAGES_WATERMARK', str_replace('/', DIRECTORY_SEPARATOR, DIR_WS_IMAGES . '_hidden_/watermarked.png') ); // watermark file
define('OPI_IMAGES_MAXWIDTH', 1000); //set to 0 to disable
define('OPI_IMAGES_MAXHEIGHT', 1000);//set to 0 to disable
define('OPI_IMAGES_MINWIDTH', 50); //set to 0 to disable
define('OPI_IMAGES_MINHEIGHT', 50); //set to 0 to disable
define('OPI_IMAGES_WM_WMIN', 30); //set to 0 to disable watermark
define('OPI_IMAGES_WM_HMIN', 30); //set to 0 to disable watermark
/*definedMode*/
$definedMode = array();
//do not edit adminthumb and adminpreview -> for administration page
$definedMode['adminthumb'] = array('mode'=>'clip', 'width'=>80, 'height'=>80);
$definedMode['adminpreview'] = array('mode'=>'width', 'width'=>150, 'height'=>0);
//you can edit/add/remove definedMode's below
$definedMode['display'] = array('mode'=>'width', 'width'=>200, 'height'=>0);
$definedMode['small'] = array('mode'=>'clip', 'width'=>100, 'height'=>100);
$definedMode['large'] = array('mode'=>'auto', 'width'=>600, 'height'=>800);
$definedMode['square'] = array('mode'=>'clip', 'width'=>220, 'height'=>220);
$definedMode['customwidth'] = array('mode'=>'width', 'width'=>150, 'height'=>0); //width & height must be defined
$definedMode['customheight'] = array('mode'=>'height','width'=>0, 'height'=>150); //width & height must be defined
What is not good please
Thank's
Francois