Forums / Setup & design / Image maps in eZ? What are the options

Image maps in eZ? What are the options

Author Message

Mark Marsiglio

Tuesday 25 November 2003 11:55:08 am

Can a site administrator using eZ add image maps to a page, with links that link to anchors, other pages within the site, and/or other sites?

What are the options for implementing this? Should I create a new class called image map with an image and map code (non-wysiwyg text) datatype? Maybe something with an image attribute and override of the image embed template?

What do you think would work best, while making it easy for users to implement in the site? I assume they would create the image map and code in a web/image development application first.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

eZ debug

Timing: Jan 19 2025 09:50:39
Script start
Timing: Jan 19 2025 09:50:39
Module start 'content'
Timing: Jan 19 2025 09:50:40
Module end 'content'
Timing: Jan 19 2025 09:50:40
Script end

Main resources:

Total runtime1.2702 sec
Peak memory usage4,096.0000 KB
Database Queries47

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0703180.8281
Module start 'content' 0.00541.2594 769.8984468.2422
Module end 'content' 1.26480.0053 1,238.140638.0859
Script end 1.2701  1,276.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2271140.0002
Check MTime0.00130.1036140.0001
Mysql Total
Database connection0.00070.055710.0007
Mysqli_queries1.233597.1098470.0262
Looping result0.00040.0276450.0000
Template Total1.238897.520.6194
Template load0.00200.154520.0010
Template processing1.236897.372620.6184
Template load and register function0.00010.008010.0001
states
state_id_array0.00130.100110.0013
state_identifier_array0.00120.091220.0006
Override
Cache load0.00160.123070.0002
Sytem overhead
Fetch class attribute can translate value0.00050.036110.0005
Fetch class attribute name0.00050.039720.0003
XML
Image XML parsing0.00040.028910.0004
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00400.3162170.0002
String conversion0.00000.000530.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs