0 Replies Latest reply on Feb 28, 2012 11:04 PM by mario_gudelj

    Web App Item images have no title tag and alt tag is empty

    mario_gudelj Most Valuable Participant

      Question:

       

      Hi I was wondering if there is an easy way for web app images to have alt and title tags at the moment none are being generated I thought the image file name would be used automatically as this would seem logical but this is not the case. also if you are trying like me to improve the search ranking of a site this is not ideal and questions why should I use BC in the future

       

       

      Answer:

       

      Images just have alt tags for img. Title is you can use but is mainly used on your anchor. So from what your saying I guess you mean the link wrapped images of web apps if you use the tag by default.

       

       

      The custom image field tags like { tag_yourimagefieldname} have a _value element to get the raw value.

      So..

       

      { tag_yourimagefieldname_value}

       

       

      This will fetch only the url.

      So you can form your layout html like...

       

      <img src="{ tag_yourimagefieldname_value}" alt="{ tag_name_nolink}"/>