Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The content type CMS_IMGDESCR prints alt attribute of a image, which is set through CMS_IMGEDITOR content type.

The usage is very simple. Put CMS_IMGDESCR tag in alt attribute in your module like below.

$descr = "CMS_IMGDESCR[1]";
echo '<img src="path/to/source" alt="'.$descr.'" />';
  • No labels