Forums / Setup & design / new class - no image

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