Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2012, 09:59:25 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155094 Posts in 21661 Topics by 7721 Members
Latest Member: arrow345
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Alt tags for image gallery module  (Read 2437 times)
Ed

Offline Offline

Posts: 49


« on: March 25, 2006, 08:44:50 PM »

Im not quite sure if this is the right place to post this, but here we go..

Has anyone thought about adding a new feild for alt text for the image gallery module ? So when you upload an image you give it a name and description and also alt tags.

If your images have alt tags it helps both peeople with dissabilitys and also with ranking higher on search engins.

If I had any idea at all how to do it then I would  undecided
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6974


WWW
« Reply #1 on: March 25, 2006, 11:03:00 PM »

good point, definatly when you consider the accessability act ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Ed

Offline Offline

Posts: 49


« Reply #2 on: March 26, 2006, 12:23:47 AM »

good point, definatly when you consider the accessability act ...

cheers

Klaus

Absolutly. i found this  http://www.silktide.com/tools/sitescore very hand site the other day. And this is what got me thikning. It basicly scans your site and works out how easy it is to navigate and how well designed it is.   

All of the sites i have made with WB score very highly for all but the accessabitly ( alt tags for images)

Overall i am masivly happy with WB, being able to add this one extra feature would make it even better.  grin

Check out that link for your own sites, its very interesting.  wink 
Logged
Ed

Offline Offline

Posts: 49


« Reply #3 on: May 12, 2006, 06:31:51 PM »

Hey bakers  afro

Right i have been fidling around with this and made a tiny bit of progress  in the settings section for the gallery module under loop i put

Quote
<a href="[LINK]" TITLE="[TITLE]" >
instead of

Quote
<a href="[LINK]"
I tryed 
Quote
<a href="[LINK]" alt="[TITLE]" >

so that gives you a little pop up diplaying the title of the image when you mouse over the image.

so now the code in the page is
Quote

The alt tags need to go in the second line  so it would read

Quote
<a href="http://www.test5.vincent-creatives.com/pages/gallery/weird-dog2.php" TITLE="weird dog" >
<img src="http://www.test5.vincent-creatives.com/media/.gallery/thumb2.jpg" border="0"  alt="alt text here" class="thumbnail" />

The problem is i cant for the life of me find out, in the php files or in the backend, where that second line of code is dealt with..

if anyone can point me in the right direction it would be much apreiated.

thanks in advance  grin
Logged
pcwacht
Guest
« Reply #4 on: May 12, 2006, 06:57:54 PM »

You need to dig into view.php of the module (something like /modules/modulename/view.php)

The view.php is the php wich makes the frontend pages.

I don't use image gallery so I don't have the code handy.
But this is the file to start looking into


John
Logged
rsmith

Offline Offline

Posts: 194


« Reply #5 on: May 12, 2006, 07:14:30 PM »

Hi
a few things would need to be done. (detailed Wink )

database - new field to hold alt/title text
update_18rc4_to_rc5 .php - to  make the changes to the existing database
install.php - to create new field during install

modify_image.php - to add alt/title text
save_image.php - to save alt/title text
view.php - to read/display the alt/title text.

EDIT
EN.php DE.php - language files for the Alt/Title Text to be viewed in the modify_image.php


I released a RC4 version a few days ago... I should be able to make the mod's for RC5 this weekend.

any more ideas before the release of v1.8? Smiley


Rob
« Last Edit: May 12, 2006, 07:22:05 PM by rsmith » Logged
Ed

Offline Offline

Posts: 49


« Reply #6 on: May 12, 2006, 10:41:14 PM »



I released a RC4 version a few days ago... I should be able to make the mod's for RC5 this weekend.

any more ideas before the release of v1.8? Smiley


Rob



That would be great to use those mods  grin  I cant realy think of any other modsfor the gallery, the only weakness for me was the alt tags, as that can realy help with search results.
Logged
rsmith

Offline Offline

Posts: 194


« Reply #7 on: May 12, 2006, 10:43:21 PM »

Done grin

Check here :
http://forum.websitebaker.org/index.php/topic,1201.msg20443.html#msg20443



Rob
Logged
Ed

Offline Offline

Posts: 49


« Reply #8 on: May 13, 2006, 12:01:41 AM »

Very well played Sir  grin 

A big thankyou  grin
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!