Alamy module
daveozzz
Joined: 2006-07-25
Posts: 70 |
Posted: Fri, 2006-12-22 11:06 | |||
A few people have asked me about an Alamy module I wrote... I've finally got round to posting it. Basically all it does is to check the contents of an AlamyRef customfield, if it's non-null then an item action is created which, when clicked, will do a redirect to the Alamy site using the image ref as a parameter (thanks to Dave Pattinson for telling me about this link syntax). Very very basic stuff which would do with a lot more work and is probably buggy. But give it a try if you want. Prereqs:- Instructions:- Hope it helps someone. Cheers,
|
||||
Posts: 32509
I think that's an excellent addition!
Can you please add your module at http://codex.gallery2.org/index.php/Gallery2:User_Contributions ?
Posts: 2
As a heads up to anyone installing this:
It assumes you have the "Custom Fields" module installed. It isn't installed by default with a typical install.
You can find it on the official module downlad link located at http://codex.gallery2.org/index.php/Gallery2:Download#Modules
--
Joe Nekrasz
Posts: 70
As a note on the topic of SEO... I found that Google had picked up the Alamy redirect page and indexed it hundreds of times under the results for my site. I've no idea if that was a particularly bad thing or not but I didn't like it.
So I've changed my implementation of this module to create an itemlink to link directly to Alamy rather than redirect via a TPL file.
I won't post the changed module here since it's not an independent change (requires a change to itemlinks.tpl), but if anyone would like to make the same change give me a shout and I'll let you know what I did.
Posts: 1
Hello!
I try the alamy modul and it works very fine. - Thank you!
Its possible to open the Alamy-Page in a new Window?
Max