"trancparency" and image() - no effekt

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 20:51:24
Script start
Timing: Jan 18 2025 20:51:24
Module start 'layout'
Timing: Jan 18 2025 20:51:24
Module start 'content'
Timing: Jan 18 2025 20:51:24
Module end 'content'
Timing: Jan 18 2025 20:51:24
Script end

Main resources:

Total runtime0.0300 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 588.0391152.6406
Module start 'layout' 0.00740.0130 740.679739.4766
Module start 'content' 0.02030.0072 780.156389.4922
Module end 'content' 0.02750.0024 869.648430.3047
Script end 0.0299  899.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00268.8418140.0002
Check MTime0.00113.6227140.0001
Mysql Total
Database connection0.00103.284410.0010
Mysqli_queries0.00279.071030.0009
Looping result0.00000.113810.0000
Template Total0.00196.410.0019
Template load0.00093.054410.0009
Template processing0.00103.314710.0010
Override
Cache load0.00062.152810.0006
General
dbfile0.00155.134880.0002
String conversion0.00000.031040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs