Peter Schnuerer
|
Wednesday 15 June 2005 3:54:35 pm
Hello!
I do merge two images
eZ publish 3.5.2 GD 2.0.23
{let
postkarte=imagefile($node.object.data_map.image.content.imagemega.url)
logo=imagefile('design/gallery/images/logo.jpg')
}
{image( $postkarte, array($logo, hash(halign, right, valign, bottom, transparency, 0.5)))}
{/let}
The "transparency, 0.5" value has no effect at all! neither "0.0" nor "1.0" do change the appearance of the image.
|
Petter Arneson
|
Wednesday 26 October 2005 1:03:04 am
Did you figure this out?
I'm trying to do the same thing.
eZ publish 3.6.1 GD 2.0.23 I don't have ImageMagick installed, but it was still enabled in the image.ini. Disabled it manually, but transparency still won't work. I've tried using texttoimage and merging a image with a watermark, but the result is blury.
{image( imagefile($sti),
array('Watermark logo'|texttoimage('1942'), hash(transparency,0.9,halign,left,valign,top)))}
{image( imagefile('design/images/watermark.png'),
array( imagefile( $path ),
hash( halign, center,
valign, center,
transparency, 0 ) ) ) }
Also tried manupulating 1942 style in texttoimage.ini with backgroundcolor transparent.
www.vzt.no
|