Reputation: 34650
I have a friend who is need of a web page. He does interior construction, and would like to have a gallery of his work. I'll probably go for a php host, and was thinking about the best way to implement the image gallery for him. I came up with:
Thanks for any input!
Upvotes: 2
Views: 5915
Reputation: 53356
These might be of help. They are mootools scripts and run without any server-side coding necessary. Both integrate with Flickr.
Upvotes: 1
Reputation: 841
Having Read SchizoDuckie's post, I had a look at the picasa api for php, and found it a bit daunting to start with, however I found this sample code absolutely brilliant for getting started with some basic integration.
Samples for other languages also seem to be available - can't vouch for their usefullness, but suspect they will be good too.
Upvotes: 1
Reputation: 1728
I recently implemented a Flickr-based photo gallery for a client. Flickr was perfect for them for a lot of reasons. Gallery is an impressive open-source project, but its feature set (and complexity of administration) was overkill for what this client needed.
Check out the Flickr API, especially the section on building URLs, which will be necessary when building your web pages. Don't bother coding a PHP wrapper for the API's. phpFlickr has already done it, and it's a smart implementation.
Here's a helper function I wrote that made life a lot easier for the various pages that need to access Flicker:
function newFlickr()
{
static $flickr = NULL;
if($flickr != NULL)
{
return $flickr;
}
$flickr = new phpFlickr(api-key, secret);
$flickr->setToken(token);
$flickr->enableCache("db", "mysql://acct:pass@localhost/flickrcache");
return $flickr;
}
The trick here is that all the crud you need to enter is stored in a central place in your code. Caching is key, so use it. And, if you need a phpFlickr object in multiple places for each request, you're only ctor'ing it once, which saves on init time.
Upvotes: 1
Reputation: 9401
The perfect solution for this kind of thing is Picasa (from Google ofcourse)
You get:
Need anyting else?
Note from Chris to others that may be looking for an answer: The API can be found here.
Upvotes: 3
Reputation: 14448
If you have any interest in Ruby on Rails, there is a screencast here that shows how to create a site similar to what you are describing in RoR.
Upvotes: 0