Forums / Developer / Related image not shown ( $object_parameters.size missing)

Related image not shown ( $object_parameters.size missing)

Author Message

Anja Lundin

Wednesday 29 November 2006 6:26:24 am

Hi!
I can't view the images uploaded with OE in an xml-field. I use EZ 3.8.6 with OE 4.1.4. Other uploaded images works. It's just the related images that does not appear.

This is the debug output error message:

Error: eZTemplate @ design/base/override/templates/embed/image.tpl:9[4]

No such attribute for array(1): size
Choose one of following: align

It seems like the array $object_parameters only contains attribute align. Is this a bug in 3.8.6 or the editor version?

Images works fine if I replace $object_parameters.size in embed/image.tpl with 'large' or 'medium' etc, but it would be nice if the administrators could choose imagealias in the editor....

Thanks in advance!

/Anja Bjerleus, Novitell AB

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Anja Lundin

Thursday 30 November 2006 3:54:51 am

Hi again!
I've tested eZ version 3.8.4 and Online editor 4.1.2 and it works fine...
Can the problem be in the Online editor?

/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Anja Lundin

Thursday 30 November 2006 4:17:35 am

Now I've tested eZ 3.8.6 with OE 4.1.2 and it works! There must be something wrong with OE 4.1.4. I will report this as a bug...

/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Kirill Subbotin

Thursday 30 November 2006 7:07:35 am

You can just use OE 4.1.5. It is fixed there.

Anja Lundin

Thursday 30 November 2006 11:08:30 pm

I just tried the 4.1.5 and I get the same error message as in 4.1.4 and related images are not shown...

/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se