Page 1 of 1

Show keyword as ALT text image instead of filename

Posted: Tue 4. May 2010, 14:02
by tanghep
Hello,

On a page I'm using the contentpart "images" (files shown from de file center).

The images have de name of the image "xxxxxx.jpg" as ALT text. Instead of the name of the file I want to show the tags or keyword that I've entered at the image (in the file system).

I think I have to change this in the include\inc_front\img.func.inc.php file.
Is this correct? And how can I change this?

I hope someone can help me!

Re: Show keyword as ALT text image instead of filename

Posted: Tue 4. May 2010, 14:42
by top
You con use the field "caption" under the Image.

Code: Select all

text caption|alt text|http://www.link...
Only the ALT text will made this:

Code: Select all

|alt text
More details on the old docu site:
http://www.phpwcms-docu.de/content_part ... mage.phtml

Re: Show keyword as ALT text image instead of filename

Posted: Tue 4. May 2010, 15:27
by tanghep
Thanks.

When I fill in the caption part, I have to add for each picture an ALT text.

But, when I've saved the images (using file center) I've already filled in an keyword.
Is it possible to show this?

Re: Show keyword as ALT text image instead of filename

Posted: Mon 10. May 2010, 13:01
by flip-flop
Please have a look: Text from file center in image cp´s (filecenter text in alt-tag for every image cp).

(Enhanced version is comming soon, "every text from filecenter in LighBox instead of caption").

Knut

Re: Show keyword as ALT text image instead of filename

Posted: Wed 12. May 2010, 11:36
by tanghep
Thanks for your reaction!

This really helps.

Now I've another question..

Are images that are upload in the file center, visible in searchengines (like google)?
Images off my site (http://www.zelfgebakkentaart.nl/index.php?impressie) are not visible in google..