what attibutes has "image" object?

Author Message

Vytautas Germanavičius

Friday 04 February 2005 11:33:28 am

I'm lost in documentation...
Is anywhere described what attributes have objects "image" or "binary file" ?

{set-block scope=root variable=cache_ttl}0{/set-block}

Łukasz Serwatka

Saturday 05 February 2005 1:38:27 pm

Hi,

Input:
 image_class - Which image alias to show, default is large
 css_class     - Optional css class to wrap around the <img> tag, the
                 class will be placed in a <div> tag.
 alignment     - How to align the image, use 'left', 'right' or false().
 link_to_image - boolean, if true the url_alias will be fetched and
                 used as link.
 href          - Optional string, if set it will create a <a> tag
                 around the image with href as the link.
 border_size   - Size of border around image, default is 0 

Always look in to design/standard/templates/content/datatype/view

and more about images here

http://ez.no/ez_publish/documentation/reference/template_operators/images

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Vytautas Germanavičius

Monday 07 February 2005 12:27:15 am

and how to access them in fetch?

I want to fetch all articles which has no image...

{set-block scope=root variable=cache_ttl}0{/set-block}

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 11:53:50
Script start
Timing: Jan 19 2025 11:53:50
Module start 'layout'
Timing: Jan 19 2025 11:53:50
Module start 'content'
Timing: Jan 19 2025 11:53:52
Module end 'content'
Timing: Jan 19 2025 11:53:52
Script end

Main resources:

Total runtime1.5730 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1563152.6250
Module start 'layout' 0.00610.0027 741.781339.4453
Module start 'content' 0.00881.5627 781.2266542.9297
Module end 'content' 1.57150.0015 1,324.156312.1563
Script end 1.5730  1,336.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2121160.0002
Check MTime0.00140.0882160.0001
Mysql Total
Database connection0.00110.067310.0011
Mysqli_queries1.513796.2281570.0266
Looping result0.00060.0373550.0000
Template Total1.535297.620.7676
Template load0.00220.138320.0011
Template processing1.533097.460420.7665
Template load and register function0.00030.017610.0003
states
state_id_array0.00140.085910.0014
state_identifier_array0.00160.104020.0008
Override
Cache load0.00180.1136170.0001
Sytem overhead
Fetch class attribute can translate value0.00080.050020.0004
Fetch class attribute name0.00100.063250.0002
XML
Image XML parsing0.00660.421220.0033
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00930.5942240.0004
String conversion0.00000.000440.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs