Merge image+text into button

Author Message

Mark Overduin

Friday 29 August 2003 1:38:48 am

Right now, I use texttoimage() to convert text to an image (to use it as a button).
Is it possible to merge an image with text to create a button?

This is what I mean:
http://afterdune.dyndns.org/merge_example.gif

Can this be done? If not: Back to coding for me...

Thanx in advance.

-- Mark

Paul Forsyth

Friday 29 August 2003 2:29:23 am

Yes,

Have a look at this:

http://ez.no/developer/ez_publish_3/documentation/customization/components/images/image_effects

convert is a wonderful little tool :)

paul

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 19 2025 07:19:05
Script start
Timing: Jan 19 2025 07:19:05
Module start 'layout'
Timing: Jan 19 2025 07:19:05
Module start 'content'
Timing: Jan 19 2025 07:19:06
Module end 'content'
Timing: Jan 19 2025 07:19:06
Script end

Main resources:

Total runtime1.2336 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1563152.6250
Module start 'layout' 0.00520.0023 741.781339.4453
Module start 'content' 0.00751.2247 781.2266457.6719
Module end 'content' 1.23210.0014 1,238.89848.3203
Script end 1.2335  1,247.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2330160.0002
Check MTime0.00120.0946160.0001
Mysql Total
Database connection0.00100.077110.0010
Mysqli_queries1.196496.9849540.0222
Looping result0.00050.0386520.0000
Template Total1.205697.720.6028
Template load0.00220.177820.0011
Template processing1.203497.556820.6017
Template load and register function0.00010.011310.0001
states
state_id_array0.00090.070310.0009
state_identifier_array0.00130.105020.0006
Override
Cache load0.00180.1497160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.044820.0003
Fetch class attribute name0.00090.076120.0005
XML
Image XML parsing0.00020.019320.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0544100.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs