# Add Alt Tag to images in Resources

**URL:** <https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488>\
**Category:** RapidWeaver Classic\
**Created:** [February 18, 2016, 7:35pm UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488 "2016-02-18T19:35:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![manofdogz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/manofdogz/32/26314_2.png) [@manofdogz](https://forums.realmacsoftware.com/u/manofdogz)\
**Post date:** [February 18, 2016, 7:35pm UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/1 "2016-02-18T19:35:35Z")

</div>

How do you add an Alt Tag to images in resources?

---

<div class="post-metadata">

**Author:** ![kryten](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kryten/32/5313_2.png) [@kryten](https://forums.realmacsoftware.com/u/kryten)\
**Post date:** [February 18, 2016, 7:49pm UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/2 "2016-02-18T19:49:04Z")

</div>

How about:  
`<img id="my_image" src="%resource(my-image.jpg)%" alt="some_text">`

---

<div class="post-metadata">

**Author:** ![manofdogz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/manofdogz/32/26314_2.png) [@manofdogz](https://forums.realmacsoftware.com/u/manofdogz)\
**Post date:** [February 18, 2016, 8:57pm UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/3 "2016-02-18T20:57:01Z")

</div>

Thank you - I was hoping there would be some easy media-inspector type way but maybe not. I’ll give this a go.

---

<div class="post-metadata">

**Author:** ![manofdogz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/manofdogz/32/26314_2.png) [@manofdogz](https://forums.realmacsoftware.com/u/manofdogz)\
**Post date:** [April 21, 2016, 8:39pm UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/4 "2016-04-21T20:39:14Z")

</div>

would a variation on this work for a Logo alt-tag? I’ve seen this question asked before but no answers. I believe it may be an option in RW7 but we’ll see.

---

<div class="post-metadata">

**Author:** ![kryten](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/kryten/32/5313_2.png) [@kryten](https://forums.realmacsoftware.com/u/kryten)\
**Post date:** [April 21, 2016, 10:34pm UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/5 "2016-04-21T22:34:37Z")

</div>

@manofdogz  
I may not 100% be grasping exactly what you mean but I think so.

The following was straightforward in the Split theme:

(a) Add a supercharged div targeting stack to the page Eg Houdini or the Anywhere stack ( apologies for any I have missed - I am certain there will be others).  
(b) Set the targeted div id as ‘logo’.  
© Drop an html stack into that.  
(d) Into the html stack paste (this is just an example):  
`<a href="www.mydomain.com"><img src="%resource(mylogo.png)%" width="562" height="500" alt="Im_supposed_to_be_good_for_seo"/></a>`  
And preview…

The logo is now targeted with the image and - if you look at the generated source - the alt tag is populated too.  
Is that somewhat close to what you meant?

---

<div class="post-metadata">

**Author:** ![manofdogz](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/manofdogz/32/26314_2.png) [@manofdogz](https://forums.realmacsoftware.com/u/manofdogz)\
**Post date:** [April 22, 2016, 8:45am UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/6 "2016-04-22T08:45:46Z")

</div>

OK - from the beginning. For various reasons I have had to put a client site name into image format as a logo rather than header text - and this is obviously not so good for SEO. What I therefore want is to add an alt-tag to make the logo recognisable as the client name.No way to do this in RW6 so just wondering about some custom code to do it. I think your suggestion here would work - neat idea.

---

<div class="post-metadata">

**Author:** ![andrecreative](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/andrecreative/32/5104_2.png) [@andrecreative](https://forums.realmacsoftware.com/u/andrecreative)\
**Post date:** [June 6, 2017, 9:03am UTC](https://forums.realmacsoftware.com/t/add-alt-tag-to-images-in-resources/5488/7 "2017-06-06T09:03:42Z")

</div>

How can i add ALT Tag to images in Resources into left sidebar ?

 ![](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/8/8253ed96aa592407e9ece5454aaf532c3b2cd143.png)
