First you need to attach an image to the article using the image "Attach"
link. Campsite will ask you to assign it a number.
Next you can embed an image in the text (see the circled icon in the image
attachment) or you can display article images through the template language:
{{ if $campsite->article->has_image(200) }}
<a href="{{ uri options="template article.tpl" }}"><img src="http://{{
$campsite->publication->site }}/get_img.php?{{ urlparameters options="image
200" }}"/></a>
{{ /if }}
> In the article
>
> *Calls for Traffic Safety After Last Week's Fatal Collision*
>
> you can find at the offical demo
>
> *http://campsite-demo.sourcefabric.org/*
>
> there is a picture preview that does not exist in the *Lead_and_SMS*field. How can I do that ? How campsite understand to preview such an image
> ?
>
> Regards,
> George
>
>
Ok with the template language I did not tried yet, but I will.
Can I accomplish the same result without using code ? I am not sure If understand this well.
Anyway, I can embed images in my body with the icon campsiteimage.campsiteimage_desc button as usual, but the only options I can see in the pop up dialog are : alt, caption, alignment etc. I can not see any circled icon !
After playing a little, with image numbers, I ended up in the conclusion that this trick is done only with the template code. Is that true ?
> Hi,
>
> Thank you for your reply.
>
> Ok with the template language I did tried but I will. Can I accomplish the
> same result without using code ? I am not sure If understand this well.
>
> Anyway, I can embed images in my body with the icon
> campsiteimage.campsiteimage_ desc button as usual, but the only options I
> can see in the pop up dialog are : alt, caption, alignment etc.
>
> I can not see any circled icon !
>
> Regards,
>
>