SEO and alt tag
Posted: 28 Sep 2009, 22:36
Hi Jan,
First thanx for the great gallery system, and brilliant documentation. Really much appreciate your afford, and I hate to tell you this:
Unfortunately I found one huge drawback, for my use.
I have celebrity site with lots of images. Alt tag is created from title field. On the other hand title field is created from file name, which can not contain spaces (???). e.g.
Adding image (no space) apple-green.jpg will result in alt"apple-green" which is useless for SEO.
Manually editing 200+ images daily is out of the question. So i prepare my images (bulk renamer) spaces with hyphen (-) and I have to write little script which will replace (-) with 'space" in title field in jos_phocagallery table.
You put so many features (1 - 2 many) and neglect such a vital feature?
You cold easily solve the space problem with rawurlencode and some string manipulation for the spaces in file namase, or at least in tite field. As you strip extension from the filename, you could strip (-_.) ect that ppl. use to connect words in file names.
Error handling is quite poor. Sporting a space in long file-name is not so easy sometimes. When Phoca gallery script find such occurrences, just returns to control panel (back end) and do nothing.
regrads
Hef
First thanx for the great gallery system, and brilliant documentation. Really much appreciate your afford, and I hate to tell you this:
Unfortunately I found one huge drawback, for my use.
I have celebrity site with lots of images. Alt tag is created from title field. On the other hand title field is created from file name, which can not contain spaces (???). e.g.
Adding image (no space) apple-green.jpg will result in alt"apple-green" which is useless for SEO.
Manually editing 200+ images daily is out of the question. So i prepare my images (bulk renamer) spaces with hyphen (-) and I have to write little script which will replace (-) with 'space" in title field in jos_phocagallery table.
You put so many features (1 - 2 many) and neglect such a vital feature?
You cold easily solve the space problem with rawurlencode and some string manipulation for the spaces in file namase, or at least in tite field. As you strip extension from the filename, you could strip (-_.) ect that ppl. use to connect words in file names.
Error handling is quite poor. Sporting a space in long file-name is not so easy sometimes. When Phoca gallery script find such occurrences, just returns to control panel (back end) and do nothing.
regrads
Hef