I somehow cant get the png watermark working and also the cropping does not what i want.
maybe you can help me out with this?
I like to use this plugin to create croped images no link and no lightbox etc. only resize and thumb generation is needed (thumbs are use in ditto)
so I tryed this:
<?php
// This is the template to markup your thumbnails. See readme for possible placeholders.
$tpl = '<img src="[+dr.bigPath+]" width="[+dr.bigWidth+]" height="[+dr.bigHeight+]" />';
// All CSS and JS files and all other code that we need in our <HEAD> tag.
// $header = '';
// Mode for lightbox links generating. 2 means that links will be genereted for all images with the allowed paths.
$lightbox_mode = 2;
// Very important parameter - paths to folders, where the images will be proccesed. Use comma as separator. You can use remote paths with http://.
$allow_from="assets/images/home-grootnieuws";
$resize_method = 0;
$big_width = 485;
$thumb_default_sizemode = 3;
$thumb_default_width = 485;
$thumb_default_height = 225;
$big_use_watermark = 1;
$big_watermark_img = '/gfx/nieuwsfoto_masker.png';
$big_watermark_halign = 'left';
$big_watermark_type = 'image';
?>
when I remove $lightbox_mode = 2; then the plugin is not working anymore.
also I tryed cropping using:
$resize_method = 0;
$big_width = 485;
$big_height = 200;
but then I get an image that is NOT 485 wide BUT it IS 200 HEIGHT its not cropped but only resized.
would it not be better to create an image that is 485x200 by resizing to 480xcoresponding height and then crop the center of the image to 480x200?
so this is not working for me:
no png image for big image with the above code
no cropping (only resizing even when resize is set to 0 for the big image)
Dimmy