Show keyword as ALT text image instead of filename

post everything related to phpwcms templates here
Post Reply
tanghep
Posts: 9
Joined: Fri 2. Mar 2007, 20:16

Show keyword as ALT text image instead of filename

Post by tanghep » Tue 4. May 2010, 14:02

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!

User avatar
top
Posts: 435
Joined: Fri 11. Aug 2006, 15:03
Location: Eutin

Re: Show keyword as ALT text image instead of filename

Post by top » Tue 4. May 2010, 14:42

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

tanghep
Posts: 9
Joined: Fri 2. Mar 2007, 20:16

Re: Show keyword as ALT text image instead of filename

Post by tanghep » Tue 4. May 2010, 15:27

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?

User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Show keyword as ALT text image instead of filename

Post by flip-flop » Mon 10. May 2010, 13:01

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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )

tanghep
Posts: 9
Joined: Fri 2. Mar 2007, 20:16

Re: Show keyword as ALT text image instead of filename

Post by tanghep » Wed 12. May 2010, 11:36

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..

Post Reply