.Mac web gallery theme

hiaw

Joined: 2007-07-18
Posts: 3
Posted: Wed, 2007-08-08 11:00

Hi,

With the announcement of iLife 08 yesterday, the .Mac web gallery was introduced. I had a quick look at an example is it's absolutely stunning. I love it. Have a look here. Make sure you slide your mouse over the picture and see it changes.

Here's the description from Apple.

It seems to me it's just plain html and a whole lot of javascript, including scriptaculous and sproutcore library.

I have no experience developing a theme for gallery, but it would be awesome if someone would port the .Mac web gallery as a gallery theme.

[img]http://images.apple.com/ilife/iphoto/images/iphoto_gallery03_20070807.jpg[/img]

[img]http://images.apple.com/dotmac/images/webgallery_hero20070807.png[/img]

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-08-08 14:37

I guess a port should be possible and there are a lot of good themes you can copy components from.
- e.g. the mosaic view is very similar to PHtheme / carbon / ...
- the carousal thing is based on flash on .mac. there's a sample Flex (Flash) application from adobe which could be used for that.
- the CSS switcher (different background color) should be pretty easy to add
- the thumbsize-meter is also not too difficult. there are open-source versions of such a slider component and the callback method could then change the thumbnail image containers.
- also look at float / ice theme and other themes for a list of floating thumbs

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
shadezero

Joined: 2007-08-14
Posts: 7
Posted: Tue, 2007-08-14 10:28

That is such a beautiful theme ^_^

I would also love to see a port of it.

 
spielnicht

Joined: 2005-08-24
Posts: 9
Posted: Wed, 2007-08-22 17:39

It's nice.

Here is the code from Adobe for the carousel: http://www.adobe.com/devnet/flex/samples/photo_explorer/

 
mehtadone

Joined: 2005-04-13
Posts: 6
Posted: Mon, 2007-08-27 16:20

This would be a great theme if it could work like the mac gallery. Would be happy to help on it! Just PM me even though my experience is limited.

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Tue, 2007-09-04 07:05

This gallery uses the ajax javascript libraries prototype and scriptaculous:
http://strennery.wordpress.com/2007/08/08/mac-web-gallery-great-use-of-javascript/
Unfortunately the carousel view depends on flash..., but flex 1) is now opensource 2)?

Here is the sample source-code:
http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/srcview/photoviewer.zip

1) http://en.wikipedia.org/wiki/Adobe_Flex
2) http://en.wikipedia.org/wiki/Mozilla_Public_License

In the .Mac gallery I miss the ability to switch the mirror-effect off. If someone will work on a port of it, please think of such a switch for the gallery2 theme ;-)

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2007-09-17 06:48

I have started briefly on getting skimming to work on the ice theme (i really like this theme in its native form and with some modifications I don't se it that far away to see a .Mac theme)

I personally think the functions should be adapted in the following priority:

1. Nice clean look (remove all unnecessary information and have it as a hidden part i.e. like the slider in the ice theme)
2. Skimming (It's really cool to "walk by" a whole album with just a mouse movement)
3. Implement switching between grid and matrix
4. Alter the thumbnail sizes with a slider
5. Carousel (more for it's cool appearance)
6. Clean photo preview with configurable photo information
7. Switch background colour
8. Everything else :)

As I said I have started working on skimming, but I don't really know how to address it. According to this note http://www.bigdumbdev.com/2007/08/build-better-gallery-skimmer-part-1.html the best way is to add all thumbnails in an album to one big thumbnail with all pictures in a series and just switch index in this file. However I don't know where/how I can rebuild the thumbnails for a whole album into one new pic.

I do think I'll manage to solve the "Apple" approach i.e. load all thumbnails and according to mouseOver event switch thumbnail. But for this I can't find the method that accesses all thumbnails in an album.

In the ice theme the following code is used to access album thumbnails from picture view.

{assign var="microThumbsColumns" value=$theme.params.MicroThumbsColumns}
{assign var="microThumbsSize" value=$theme.params.MicroThumbsSize}
{assign var="maxMicroThumbs" value=$theme.params.maxMicroThumbs} 
{g->callback type="core.LoadPeers" item=$item|default:$theme.item
    windowSize=$windowSize|default:$theme.params.maxMicroThumbs    
    addEnds=false loadThumbnails=true}

However this access thumbnails from an hierarchical higher level, I wants to access the picture thumbnails from album view..

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2007-09-24 12:57

Skimming is Implemented!

http://erlis.se/~erlis/gallery/gallery2/main.php?g2_itemId=42

Now back to implementation of switching between grid and matrix.

(Any suggestions how to solve this?)

Where can I find stub code to change css, and implement thumbsizemeter

 
hiaw

Joined: 2007-07-18
Posts: 3
Posted: Mon, 2007-09-24 14:25

That works great!

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2007-09-25 13:25

Image slider implemented, http://erlis.se/~erlis/gallery/gallery2/main.php?g2_itemId=950 but the changes is not saved (couldn't find a slim way to solve this) and more polish on the looks is needed help needed!

The switch between matrix and grid can be threated as solved (they can be found at album/photo view) but we need some nicer way to show the user this changes.

I'm trying to find a nice way to implement the "image click" used by Apple and for this I'm thinking of using http://www.dolem.com/lytebox/ frames. Here I also what to show the image properties (in the same slim way as Apple) this is not a big issue and should be pretty easy to implement. I also think the slide show should be implemented using lyteshow..

So now we should try to implement a carousel view.

When we feel that we have most of the wanted features a total rewrite should be done with real AJAX requests and feel.

But again, I'll need some help with the style sheets and images to make the page really slim and nice.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Fri, 2007-09-28 14:05

Everything except css change and carousel is now implemented. (Reflection is fixed but not enabled since then thumbnail resize does not work then).

The only thing we need now is a rewrite of the css and rearage the items (new navigation images is also needed). If you are interested in helping please pm me.

All suggestions are welcome as well.

 
shadezero

Joined: 2007-08-14
Posts: 7
Posted: Sun, 2007-10-07 22:58

Great work on this project.
Looking forward to seeing the next phase of it.

The Ajaxian theme might be nice, with a few modifications...

 
cvos

Joined: 2002-09-18
Posts: 14
Posted: Wed, 2007-10-10 01:21

erlis - you have done a great job porting the .mac gallery theme! It runs pretty slow for me (Im in California) but it is super slick. Would you mind making it available for download?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2007-10-11 06:26

Well I can't relaese it, it uses copywrited materials from Apple..

In order to make it publicly available someone needs to help me with the CSS styles (can be edited from firefox with the 'Edit CSS' module) and new graphics.

Me my self does not do any more development on the theme, I'm waiting for suggesstions and help with the CSS'es.

 
cvos

Joined: 2002-09-18
Posts: 14
Posted: Thu, 2007-10-11 11:53

well id love to help but need more to go off of. also i dont see how copyrights affect this GPL code

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2007-10-11 12:53

It uses inline gfx directly from Apple, this is nothing that I'm proud of and if I could make the drawings myself I would have done so. As I said, the theme needs more developments.

Take a look at the html code generated and you'll see what I mean. If you can help me with new icons and updates on the css files I'll gladly will publish the theme.

 
ripken204

Joined: 2007-10-16
Posts: 3
Posted: Tue, 2007-10-16 01:59

i would be glad to help out on this project if i can. i am pretty good with CSS.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2007-10-16 06:59

ripken204: be my guest, send the modified CSS'es as private message.

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Wed, 2007-10-24 19:40

This might be interesting for the caroussel part:
Please, have a look at the menu:
http://www.loroma.com/loroma/movie.faces
I guess it's implemented with the java-script/ajax framework dojo:
http://en.wikipedia.org/wiki/Dojo_Toolkit

 
jacobdeane

Joined: 2008-01-22
Posts: 12
Posted: Tue, 2008-01-22 18:47

Hey Erlis

The dicussion above sounds like you are doing some great work!

However, I cannot see your site!

I would love to see a release of this theme, what do you still have to do in terms of recreating images and the css?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Fri, 2008-01-25 07:21

Oh, I'm sorry, but the site should be up and running again now. http://erlis.se/~erlis/gallery/gallery2/main.php?g2_itemId=42

 
honvl

Joined: 2007-04-26
Posts: 17
Posted: Fri, 2008-02-01 00:45

Site is still down for me.

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Fri, 2008-02-01 17:05

erlis,

What do you think about a release of the theme? What parts do you think are exactly copyrighted material of apple?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Fri, 2008-02-01 17:14

Well the images ar all stolen from apple..

I'll need some help with the style-sheets (they are not good enough yet).

And i need to learn how to make a theme package :)

Please post here if you are interested in helping me developing this theme..

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Fri, 2008-02-01 18:07

The css styles are lacking ... what? Are they in a somewhat chaotic disorder at the moment, or aren't they crossbrowser compatible?
The images are mostly png icons I guess. Though, I didn't look over the theme, yet.
I'm new to gallery2 themes, too. But I'll try to look into this theme, anyway.

I already edited some styles in Firebug, to eliminate the scrollbars, and make the mosaic "elastic".

http://erlis.se/~erlis/gallery/gallery2/main.php?g2_itemId=81

[...]
<td align="left" width="40%" valign="top">
      <div class="gsContentDetail gcBorder1" style="padding: 5px;">
            <div class="gbNavigatorMicroThums">
                  <div style="overflow: auto; width: 100%; height: 100%;">
                        <table cellspacing="0" cellpadding="0"> [...]

Here you can see a screenshot:
http://ggserve.de/pub/screenshots/GIMP/g2_itemid81.jpg

 
jacobdeane

Joined: 2008-01-22
Posts: 12
Posted: Mon, 2008-02-04 20:07

I would be able to create a set of icons for you. I will get on the case on wednesday. I guess you want all the icons along the bottom bar and backgrounds for the bottom bar and the title bar.

I have also found a cool piece of javascript which uses mootools. Not sure how this can be implemented, but it seems to do the business.

http://www.outcut.de/MooFlow/#

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2008-02-05 08:53

Jacobdeane: Thanks! That would be great!

I did try to change the div style for the matrix view, but it doesn't really work in firefox.

What we whatn is to have the "Mosaic" window at a fix size but change the numbers of rows according to thumb sizes, we also wants to show all thumbnails for the whole album in this view (I'll look in to this part).

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Tue, 2008-02-05 09:02

erlis, Why do you want the "Mosaic" window at a fix size? Did you see the screenshot? Isn't that a solution to the scrollbar Mosaic?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2008-02-05 10:11

Cause what we are trying to achieve is a port of Apples gallery http://gallery.mac.com/emily_parker#100550&view=mosaic&bgcolor=black&sel=0 And as you can see is the screen divided into two areas one with the grid and one with the currently highlighted picture..

We'll also need to get the "Color picker" to work (a javascript updating the css should be enough).

And a good aproach to ajax implementations to replace the "active" picture with the "clicked" one..

Perhaps I'll manage to export the theme till Wednesday and publish it trough a svn so wee all can share our modifications any suggestions on a good place to publish??

As I see it there are still a lot to do and unfortunate I don't really have the time to do all of it myself.

The carousel should however be easy to implement, using the scripts published here..

Any name suggestions?? For the theme?

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Tue, 2008-02-05 10:52

I think this difference didn't affect the sample, because of the limitation of the "Mosaic" Items to a number of 9?

Call it .Pear?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Wed, 2008-02-06 13:08

So..

Now the theme is "published" http://trac.cz/trac/pear

To use the theme do a

cd <gallery>/themes; svn co http://trac.cz/svn/pear

and activate the theme in gallery's plugin panel.

The theme is originated from the ice theme.

Please help me with descriptions and so on on the trac.

Have created two milestones where RC1 is what least have to be done before we can create a real release. Feel free to comment and add suggestions.

Milestone: RC1

* New images.
* CSS update (mimic the real look from Apple).
* CSS modification for lytebox (image click).
* Color picker implementation (should just be a js that modifies the inline css).
* Session saver for slider/color picker (js that writes to a cookie??).
* Remove unnecessary configuration options.

Milestone: RC2

* Carousel view.
* Ajax requests.

 
jacobdeane

Joined: 2008-01-22
Posts: 12
Posted: Wed, 2008-02-06 15:19

Hey

I have started work on making some of the images

Not done all of them yet, but here is an example of what they will look like
[img]http://www.jdpictures.co.uk/files/example.png[/img]
Compared with the apple version:
[img]http://www.jdpictures.co.uk/files/example2.png[/img]

The icons can be downloaded in a zip file, all the icons are in png with hover/active colour versions and I have also included the psds.
http://www.jdpictures.co.uk/files/icons.zip

Hopefully will be able to complete the images this weekend

 
bhchen

Joined: 2006-10-08
Posts: 6
Posted: Thu, 2008-02-07 03:54

Sorry for posting this novice question:

I really like the theme, so I had tried downloading files of this theme and uploaded them (with the file/directory stucture posted on the website) onto my gallery's theme folder, but it simply couldn't work. Does it have anything to do the file name (I tried placing all these diles under the 'pear' theme name, but my admin's plugin page was totally messed up; and only when I deleted the 'pear' theme then the normal plugin page was accessible again). Would appreciate if any expert could help offer me some instruction as to correctly install this great theme!! Many thanks!! :-)

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-02-07 07:19

jacobdeane: Wow! It's even better than apples version :) I'll try to adopt it later today.

bhchen: If you can wait maybe one more week I'll release a zip:ed version of the theme.. (Or you can follow my instructions above :) using svn to check out the whole repository eg. # svn co http://trac.cz/svn/pear)

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-02-07 14:53

New version..

Features:

  • New images
  • Color-picker
  • Cookie save of image size and color-picker value.

PLEASE help me to update the css for the gcBackground1 so it supports scrollbars, so we can release this theme..

 
ultravista

Joined: 2006-10-08
Posts: 121
Posted: Thu, 2008-02-07 14:59

What am I missing here ... ?

I cannot find a bundle of files (1st link) and the SVN repository (2nd link) requires a password.

Please advise.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-02-07 15:21

I'm sorry the permisson issue should be fixed now. Beware, this is still in beta..

Send me a PM if you need a commit account in svn..

 
cvos

Joined: 2002-09-18
Posts: 14
Posted: Sat, 2008-02-09 04:23

this looks great! will you release it as opensource?

this would make a fantastic addition to image fades

http://www.netzgesta.de/reflex/

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-02-11 13:00

cvos: Reflection is already implemented, but disabled due to problems with the image resize.. As soon I'm happy with the rest of the layout I'll update the reflection and even fix an option to enable/disable this feature..

What do you mean by open source? Isn't a SVN world readable open source enough for you?? :)

jacobdeane: Could you please produce images for the color picker and size slider aswell? Then we finaly can release a beta version of this theme..

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-02-11 13:48

Can someone please help me to get the grid view to work better, it's only css modification of the classes: gbBlock and gbNavigatorMicroThums

But I really can't get it to look nice..

Please help me!

 
Earley
Earley's picture

Joined: 2008-02-11
Posts: 1
Posted: Mon, 2008-02-11 18:05

Erlis, first, great job on the Theme, keep up the good work.

I still can't get the CVS to work properly, and I'm reduced to using curl to download the thing manually from your production server, UGH! I wish I could help you more, I have a version of this up at http://tehgoat.com/gallery/, and I can see it's coming along nicely. I see what you mean about the grid view I think. Are you talking about the scaling issue?

Earley

 
coding

Joined: 2006-12-28
Posts: 21
Posted: Mon, 2008-02-11 21:41

Hi Erlis,

The SVN is not readable. I used windows command prompt, eclipse but none works.

When I say

c:\> svn co http://trac.cz/svn/pear

it asks for username and password.

When I use Eclipse to checkout, it still asks password: entering guest/guest doesnt help.

Please help if I am missing something.

Coding

 
bhchen

Joined: 2006-10-08
Posts: 6
Posted: Tue, 2008-02-12 00:02
erlis wrote:
bhchen: If you can wait maybe one more week I'll release a zip:ed version of the theme.. (Or you can follow my instructions above :) using svn to check out the whole repository eg. # svn co http://trac.cz/svn/pear)

Hi, Erlis:

Thanks for the hint. However, could you explain what "# svn co" meant? (sorry again for the novice question 'cause I really love to adopt this great theme you've created)

I then tried again downloading all files from http://trac.cz/trac/pear/browser (see pear-1.jpg) and uploaded them into my gallery2/themes/pear. However, when I accessed my admin's plugin page, the original page had turned into something very similar to your website (see pear-2.jpg). I figured that I must have done something wrong as my plugin page was back to normal when I totally removed the /themes/pear folder.

Your kind direction is highly appreciated. Many thanks in advance!!

-bhchen

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2008-02-12 07:23

No, I'm terrible sorry svn anonymous seems not to be working..

Hence I've created a svn co user so for you to download and test this theme for now you'll have to install subversion (http://subversion.tigris.org/)

And enter:

svn co --username pear --password pear http://trac.cz/svn/pear/

in your gallery2 theme directory..

If you modify anything please send me the output from

svn diff

As a private message here..

If you find any more bugs please report them in the trac located at: http://trac.cz/trac/pear

Again, I'll post a complete theme zip when the layout (more elastic views in grid view) is done and all images are updated.

Feel free to contribute. I do have some suggestions to make the theme run more smoothly using AJAX but I'll wait with that until the layout and images are done.

 
coding

Joined: 2006-12-28
Posts: 21
Posted: Tue, 2008-02-12 12:04

now it works !!! thanks for that Erlis

 
smproinc

Joined: 2008-02-13
Posts: 1
Posted: Wed, 2008-02-13 19:44

Any Chance this will be availbale as a zip file or as part of the plugin downloads in the admin screens? I am just not savy enough for svn.

Thank you
Appreciate any help.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Fri, 2008-02-15 08:52

Yes, I have now completed everything except new images for the slider and color-picker (still needs help with this) and configure options. So when the images are done I'll remove "all" configure options and release this theme as RC1 (release candidate 1). :)

 
jacobdeane

Joined: 2008-01-22
Posts: 12
Posted: Fri, 2008-02-15 18:45

I have finished, I think, all the images required - basically have now made my own version of all the images I could find on .mac...

They are in the same place as first set - I have updated the zip file.
http://www.jdpictures.co.uk/files/icons.zip

Here is a photoshoped artists impression of how the finished icons look:
[img]http://www.jdpictures.co.uk/files/artists-impression.jpg[/img]

Looking forward to RC1!

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Sun, 2008-02-17 20:00

Good work!

I have adapted your images.

But they are not 100% working...

Track right is missing..
Knob is not entirely transparent..

And the colorpicker radiobuttions are not working in one big png, I'll need one png for each color.

 
jacobdeane

Joined: 2008-01-22
Posts: 12
Posted: Mon, 2008-02-18 06:21

Ok I will sort them out this afternoon.

 
jacobdeane

Joined: 2008-01-22
Posts: 12
Posted: Mon, 2008-02-18 17:01

I have updated the zip file with hopefully fixed images - let me know if they still don't work!

http://www.jdpictures.co.uk/files/icons.zip