How to insert image maps

Author Message

GG 66

Monday 24 October 2005 11:01:26 am

I've created an image map and I need to insert it into a folder or article.

I have the image and teh code. How can I add it to a page?

Bruce Morrison

Monday 24 October 2005 4:22:43 pm

Hi there

You could create a custom content type to generate the image map in a template, but I think the easiest way is to simply override the page and place the imagemap code in the overridden template.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

GG 66

Tuesday 01 November 2005 2:41:08 am

thanks, we ended up creating a class for the image map, we can insert an image and also add the co-ords for the image map

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

Main resources:

Total runtime0.0200 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.0061 588.1328151.2109
Module start 'layout' 0.00610.0030 739.343836.6484
Module start 'content' 0.00910.0092 775.992290.1406
Module end 'content' 0.01830.0016 866.132829.9922
Script end 0.0199  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002512.5718140.0002
Check MTime0.00125.9103140.0001
Mysql Total
Database connection0.00094.408010.0009
Mysqli_queries0.002914.596030.0010
Looping result0.00000.100310.0000
Template Total0.00125.810.0012
Template load0.00084.141610.0008
Template processing0.00031.657610.0003
Override
Cache load0.00062.775410.0006
General
dbfile0.00167.885680.0002
String conversion0.00000.053740.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