Alt tags
How can I populate the alt tags for the images I put into the gallery? This would be really helpful for SEO.
How can I populate the alt tags for the images I put into the gallery? This would be really helpful for SEO.
Do you have the alt tags in the images database? or you want to hand code the alt tags?
I want my client to be able to enter alt tag info via the PowerGallery interface. So I suppose that means through the database?
Yeah, you could do it through the database but that is going to require some custom coding to add to powergallery and to the database by adding an additional column to the images tables. otherwise you could add the alt tag by going to the index.php page of each of the gallery and looking on how the the image tag and adding the alt tag.
You probably could also set the alt tag to be the description which won't require you to modify anything in the database.
I think the idea of using the description in the alt tag is really good. I am not a programmer type which is why I purchase software like this. I think this would be a really good feature to be built into your program. After all alt tags are important to standards compliance. I am surprised that your program doesn't have a way to enter alt tags since it is an image focused tool.
I would I go about using the description as the alt tag?
If you open the galleries folder, then expand the gallery that you are using, and then open the index.php page.
you will see a line that reads something like this:
<img alt="" class="loader-image" src="<?php echo $pg_config['html_prefix']; ?>images/loader_<?php echo $pg_theme; ?>.gif" />
You could see the alt tag is empty, so instead change alt="" to:
alt="<?php echo $pg_config['description']; ?>"
and then if you are using the ribbon styled one, then you will need the same change on the same page a couple of lines down.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.