Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   Post Image Alt Tag. (http://forum.bytesforall.com/showthread.php?t=4005)

Grahame Oct 21, 2009 10:02 PM

Post Image Alt Tag.
 
Hi,
Wasn't really sure where to post this ................
Where in the code can I find the bit that specifies the alt tag for an image in a post.
Currently it seams to call for the post name but I would like to add some more to that.
Many Thanks.
Grahame.

juggledad Oct 22, 2009 05:35 AM

All depends on teh media processing that you use i.e. the default media processing or do you use something like NextGen.

At any rate when you put an image in a post the form will be like this
HTML Code:

<a href="http://192.168.48.99/~paul/zenofmud/wp-content/uploads/2009/10/flower.jpg"><img src="http://192.168.48.99/~paul/zenofmud/wp-content/uploads/2009/10/flower-223x300.jpg" alt="Ben covets Greg's flower" title="But will Greg give it up without a fight?" width="223" height="300" class="size-medium wp-image-108" /></a>
so you can always edit it in the post - using the HTML editor

Grahame Oct 22, 2009 01:54 PM

Hi Juggledad,
Thanks for the reply.
The blog is being developed with YAPB (Yet Another Photo Blog) and is primarily image based and not allot of text.
I guess that the Alt tag could be created from YAPB, it just seamed more likely to my brain that it was comming from the theme.
I couldn't find it myself so thats why I asked.
YAPB somehow does it's majic outside of the normal WP settings and the HTML editor does not offer normal code to edit.
Oh well off to explore other possibilities, basically I just want to automajically add the image tags to the Alt.
Have a good one.

juggledad Oct 22, 2009 02:09 PM

see if you can edit the post with the visual editor. If you see the image, click on it and there is a box in the upper left that will give you some image editing optinns (thanks to Paulae for pointing that out to me today!)

Grahame Oct 23, 2009 01:07 AM

Hi Juggledad,
Thanks for the idea, but unfortunately YAPB somehow foils that......
It lives within WP, if that makes sense.
Will have a scratch around some more in the code over the weekend and see if I can find what I want.
Enjoy. :)


All times are GMT -6. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.