Forums / Developer / what attibutes has "image" object?

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}

eZ debug

Timing: Jan 19 2025 09:15:04
Script start
Timing: Jan 19 2025 09:15:04
Module start 'content'
Timing: Jan 19 2025 09:15:04
Module end 'content'
Timing: Jan 19 2025 09:15:04
Script end

Main resources:

Total runtime0.0315 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.9531180.8359
Module start 'content' 0.00780.0088 769.789194.0078
Module end 'content' 0.01660.0149 863.796970.7031
Script end 0.0314  934.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00247.6609120.0002
Check MTime0.00123.7122120.0001
Mysql Total
Database connection0.00092.897510.0009
Mysqli_queries0.003310.404940.0008
Looping result0.00000.065720.0000
Template Total0.014445.510.0144
Template load0.00092.957210.0009
Template processing0.013442.553810.0134
Override
Cache load0.00061.847810.0006
General
dbfile0.010132.1700100.0010
String conversion0.00000.021930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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