CSS and correct path to background images

Author Message

Kjell Inge Sandvik

Tuesday 02 August 2005 7:02:29 am

I have to use a background image in some of my css. Where should these pictures be stored in the ez folder structure, and how do I access them in the css-files (what is the path)?

Best regards

Kjell Inge Sandvik

Sandvik Web & Data

Luc Chase

Tuesday 02 August 2005 8:12:10 am

Kjell,
normally in design/<siteAccess>/images/*
so in your siteAccess specific .css it would be referred to as ../images/myPic.png

The Web Application Service Provider

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

Main resources:

Total runtime0.8571 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.0062 589.2891152.6406
Module start 'layout' 0.00620.0038 741.929739.4766
Module start 'content' 0.00990.8456 781.4063518.3750
Module end 'content' 0.85560.0015 1,299.78138.1250
Script end 0.8571  1,307.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3873160.0002
Check MTime0.00140.1646160.0001
Mysql Total
Database connection0.00070.083210.0007
Mysqli_queries0.810594.5674540.0150
Looping result0.00060.0676520.0000
Template Total0.818195.420.4090
Template load0.00220.262320.0011
Template processing0.815895.179720.4079
Template load and register function0.00010.013210.0001
states
state_id_array0.00090.105710.0009
state_identifier_array0.00120.144720.0006
Override
Cache load0.00180.2145110.0002
Sytem overhead
Fetch class attribute can translate value0.00130.156920.0007
Fetch class attribute name0.00150.177130.0005
XML
Image XML parsing0.00070.081020.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00090.1034160.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs