Does anyone know if it is possible to dynamically fill image alt text with the current page title?
I’m using PHP and the site is http://www.toricks.com there are thousands of pictures so going through each one isn’t really an option!
Thanks
Ricky
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can if you generate the page title via a PHP value from a database and then use that same variable for your alt tag.
I built something similar to what your describing here…
http://daroom.info/index.php?rand=6260
Picture gallery with 1000s of entries notice the page title is the same as the image title on every picture.