我刚开发了一个带有ng-gallery插件的wordpress网站。 我想要获得图像替代标记并将新的标题属性添加到图像标记。 这里是我的代码..如何获取Wordpress NgGallery的Alt标签图片
<div id="ngg-slideshow-1-6-1" class="ngg-slideshow" style="height:515px;width:576px;">
<img src="http://www.sweetpassion.com.au/wp-content/gallery/homepage/sydney-royal-easter-show-2014-master-class-competition.jpg" style="height: 515px; width: 386px; position: absolute; top: 0px; left: 0px; display: none; z-index: 10; opacity: 0;">
我添加ALT和描述NG-画廊回end.But alt属性没有在主页显示。
目前只显示SRC & 风格属性。
如何将Alt和Title属性添加到上述代码中。
感谢&问候
谢谢显示画廊。它的工作很好。 – shibin