Results 1 to 10 of 10
Jun 7, 2013, 12:42 #1
- Join Date
- Jun 2013
- 0 Post(s)
- 0 Thread(s)
Using php code to generate ALT for image ? Possible ?
I would like to know if it is possible to use php code to generate an image ALT. In every page will be the same picture, but ALT will be different (that is the name of the page).
<img src="path-to-my-static-image" width="379" height="70" alt="<?php some-code-here-to-import-wordpress-post-name ?>" />
If you have a single image that carries several ALT, how search engines will index the file?
Once? Several times (the number of ALT)?