[opencms-dev] Tag Cms:img & class attribute

Georgi Naplatanov gosho at oles.biz
Mon Nov 9 15:01:40 CET 2009


Hello Sandrine.

You can use patialTag="true" of cms:image. In this case you can add all 
  missing attributes to html <img/> tag.

In this case the code will look like this:

<img ..... <cms:img .... partialTag="true"/> />

Best regards
Georgi

Sandrine Prousteau wrote:
> Hi
> 
> I see that attribute « class » cannot be add to tag cms:img…. Can it be an evol on next version please? (I’m on OpenCms7.5.1)
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list