Share » Forums » Setup & design » Image full view link problem

Image full view link problem

Image full view link problem

Monday 19 January 2004 3:14:12 am - 4 replies

Author Message

Tore Skobba

Monday 19 January 2004 10:48:41 am

Which EZ version are you using.. EZ 3.3-X have a new image system which can lead to these problems when checking variables.. I remember I had fatal errors due to some [original] references when updating to EZ 3.3-1.

Cheers

Américo Barreira

Tuesday 20 January 2004 4:49:45 am

I have version 3.3-1

Tore Skobba

Tuesday 20 January 2004 6:31:10 am

Then you must rewritte your templates which uses
"$edactual.data_map.capa_total.content[original].full_path". I rewrote mine to:

{let content=$node.data_map.thumbnail.content}
{section show=$content.is_valid}
<a href={$content.orginial.url|ezroot}>Link</a>
{/section}
{/let}

Note that orginial here is an image scale without any width or height in override/image.ini.

Cheers
Tore

Note: The let etc. is not neccesary but I just clicked and paste my code, and I know that the new image system is very sensitive, i.e. I have not managed to get is_valid to work without an let.

See here for more:
http://www.ez.no/developer/ez_publish_3/forum/setup_design/is_valid_usage_difficult_bug#msg42692

Américo Barreira

Tuesday 20 January 2004 7:03:48 am

Thanks a lot!

The code works fine!!!!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu