new class - no image

Author Message

Stefan van Zwoll

Wednesday 17 December 2003 8:15:42 am

hi all,

i set up a new class (magazines), with a title, an issn-number, a picture, a price and a date (when it came on the market). everything shows up with

{attribute_view_gui attribute=$node.object.data_map.xyz}

, except the image. viewing the page source, all picture attributes (alt="", etc.) are empty. the source of the image ist set to ' src="/root" ' where it should be set to ' src="/root/var/my_design/storage/variations/image [...]" '.
i did double-check the correct spelling of the identifier xyz.

any ideas what i might have forgotten?

regards, stefan

Stefan van Zwoll

Wednesday 17 December 2003 8:18:21 am

this is not working in neither the user, nor the admin section.

Stefan van Zwoll

Wednesday 17 December 2003 8:39:49 am

well, it was the size of the image. i put into the "max. size"-field a "0.5" mb. after i changed it to "1" mb, everything worked out fine. strange though, is 1 mbyte the minimum? or do i have to put a comma inplace of the dot?

happy coding,
stefan

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 18 2025 21:11:24
Script start
Timing: Jan 18 2025 21:11:24
Module start 'layout'
Timing: Jan 18 2025 21:11:24
Module start 'content'
Timing: Jan 18 2025 21:11:26
Module end 'content'
Timing: Jan 18 2025 21:11:26
Script end

Main resources:

Total runtime1.3112 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.0234152.6094
Module start 'layout' 0.00810.0041 741.632839.4141
Module start 'content' 0.01231.2974 781.0469434.2188
Module end 'content' 1.30970.0015 1,215.26568.1875
Script end 1.3112  1,223.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2939160.0002
Check MTime0.00160.1251160.0001
Mysql Total
Database connection0.00170.129910.0017
Mysqli_queries1.263896.3894550.0230
Looping result0.00050.0392530.0000
Template Total1.273597.120.6367
Template load0.00220.169520.0011
Template processing1.271296.953620.6356
Template load and register function0.00020.011810.0002
states
state_id_array0.00080.061210.0008
state_identifier_array0.00080.060720.0004
Override
Cache load0.00180.1410160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.057210.0007
Fetch class attribute name0.00130.097030.0004
XML
Image XML parsing0.00020.013110.0002
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00110.0808100.0001
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs