.Mac web gallery theme

erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-08-07 16:08
satish.gaikwad wrote:
Thanks for awesome gallery theme :). I am facing few issues with theme UI on internet explorer 7.
1) Display is messed up on password page to view password protected album.
2) Password protected albums link do not work by mouse click

Hi,

Thanks for pointing out these bugs, I'll try to sort them out this Monday (going on a small trip over the weekend).

And hope to have a first relaese done in next week.

Please have a look at my devel page and report all bugs you can find.

http://erlis.se/~erlis/gallery/gallery2/main.php

/Fredirk

 
FelixJ

Joined: 2008-06-03
Posts: 4
Posted: Sun, 2008-08-10 19:20

Hello Erlis

The link http://erlis.se/~erlis/gallery/gallery2/main.php ís linking to a database error site. I would like to help and report bugs to make the work any easier :)

Thanks

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-08-11 12:49

Sorry, but the database should be up and running again!

 
FelixJ

Joined: 2008-06-03
Posts: 4
Posted: Mon, 2008-08-11 13:56

Just a suggestion

1. When downloading a photo instead of seeing the photo in a "white page" I think it would be better if a download box would popup after pressing the download button.

Bugs

1. When going from Mosaic mode to Slideshow mode the slideshow wont work correctly as it doesn't work to switch between pictures using the controls below the photo inside the slideshow mode. The same problem exist when going from carousel mode to slideshow mode. When going from Grid mode to slideshow mode the slideshow seems to work as it should! Thought the slideshow seems to work sometimes. hmmm...

2. I guess this have been discussed earlier but anyway the gallery doesn't work for me in internet explorer 7. When I try to open the site it just says loading.

These are the things I found so far.

I was using latest firefox 3.

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Mon, 2008-08-11 14:22

A couple bugs I found on the photo information page (the page you get to after clicking the 'i' icon)

1. In FF3, the image doesn't center - while in IE7 it does. Probably a CSS issue?
2. Resizing the photo to a bigger size causes it to flow out of the page, and cover the controls. IE7 manages to crop the image to stay on the page, but really, the page should expand vertically to fit the entire image.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-08-11 18:58

Thanks for all reports, I'll try to fix them all and perhaps make the theme work even in IE :)

zk7 wrote:
A couple bugs I found on the photo information page (the page you get to after clicking the 'i' icon)

As for the information page I'm just displaying an ordinary photo page (in my case is it taken directly from the Matrix theme). Please let me know if you have seen another theme with a slick photo page and perhaps I can get some ideas from it..

Does anyone (Valiant perhaps) know how the settings in the configuration page is generated I can't get rid of the following

  • Rows per album page
  • Columns per album page
  • Show image owners
  • Show album owners
  • Thumbnail links in dynamic albums
  • Album Frame
  • Item Frame
  • Photo Frame
  • Color Pack

some how they seems to be magically generated and most of them are not used in our .Pear theme. If you find some more things that might be configured please leat me know.

 
erlis

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

New trac page is now up here!

To checkout the latest source issue:

rm -rf themes/pear
svn co http://pear.erlis.se/svn/trac/ themes/pear

Or just download the pear.zip file here (you might want to rename the containing dir trunk to pear but it really shouldn't matter). This link will always give you the latest svn version..

In latest update transperent png's seems to be working for IE>7 :) but we seems to have a bug for IE7 now when displaying an Album without images..

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Tue, 2008-08-12 18:19

Awesome! Let the checkouts begin. :D
Can new tickets also be created for any bugs / enhancements?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2008-08-12 20:31
zk7 wrote:
Awesome! Let the checkouts begin. :D
Can new tickets also be created for any bugs / enhancements?

Yes, please report all issues in the new trac database, with as much information as possible.

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Tue, 2008-08-12 22:11
erlis wrote:

svn co http://pear.erlis.se/pear/trac/ themes/pear

This did not work for me, but doing

svn co http://pear.erlis.se/svn/trunk themes/pear

worked just fine.

 
Arnoldjw
Arnoldjw's picture

Joined: 2004-05-16
Posts: 54
Posted: Wed, 2008-08-13 18:59

This is really awsome. Great job.
Is there a list of features to be added?

MobileME/.Mac stops text highlighting any plans to add that to the .pear code?
Maybe include and album frame or a png overlay for the albums to get the rounded square corner and beveled look.

Something I'd love is the theme in different colors or a way to set the background color from the admin. Black is cool for apple, but I'd love to do white or gray controlled from the admin, and not just the image window, but the header and footer.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-08-14 05:57
Arnoldjw wrote:
This is really awsome. Great job.
Is there a list of features to be added?

MobileME/.Mac stops text highlighting any plans to add that to the .pear code?
Maybe include and album frame or a png overlay for the albums to get the rounded square corner and beveled look.

Something I'd love is the theme in different colors or a way to set the background color from the admin. Black is cool for apple, but I'd love to do white or gray controlled from the admin, and not just the image window, but the header and footer.

All bugs and feature request did dissapear when trac.cz went down.

So if you have any suggestions or bugs please add them to the new trac site (http://pear.erlis.se/trac/newticket) and I'll will process them in order of priority.

Right now I'm trying to make the theme work as good as possible in IE<7 and must say that is really a hassle. When it's working ok in IE6 it's time for our first real public release..

But again please submit all bugs and feature requests as tickets on the trac page.

 
Deerhunter04

Joined: 2008-08-18
Posts: 1
Posted: Mon, 2008-08-18 16:44

Erlis,

I wasn't able to update my ticket on trac, but i was able to figure it out. When i downloaded the latest trunk version, i renamed the folder "Pear". Evidently, it doesn't like the capital P. As soon as I changed it to "pear", everything works great.

Thanks for this great theme. Keep up the good work!

 
tlmothy

Joined: 2005-11-10
Posts: 41
Posted: Thu, 2008-08-21 20:05

Impressive modification. Really good job. The skimming album effect is wicked. How did you manage to get this to work with ice theme. Thanks!

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Fri, 2008-08-22 05:26

Well, most of the ice theme is rewritten.. I've just started with it since it had the looks I were trying to achieve.

You did mention that you wanted to get the skimming to work even for other themes. I've been in contact with Myles who is working on a plugin to handle skimming. Perhaps it will be possible to get skimming by just including a specific block when his plugin is finished.

I really would hope that the theme could be considered finished but I can't get it to look good and work in IE. If anyone know a good IE layout tool or have experience with IE compatibilities please let me know.

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Fri, 2008-09-12 11:46

Erlis-
I've been lurking on this post for a while...what's the current status of the theme? it is considered alpha, beta, production, etc?

--
For PHPNuke, phpBB2, and phpBB3 integration help, please visit NukedGallery.net.
[img]http://www.nukedgallery.net/signature.jpg[/img]

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Sat, 2008-09-13 08:30
dmolavi wrote:
Erlis-
I've been lurking on this post for a while...what's the current status of the theme? it is considered alpha, beta, production, etc?

I would call it beta, there are some minor bugs in Firefox/Safari, but the real problems comes from IE. And I'm not that familiar on how to fix the current bugs in IE.

I've got alot to do at work right now so I don't really have time to address the bugs either.

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Sat, 2008-10-11 00:41

where can someone download pear theme? I found some zip, extracted it... it appeared to look like a gallery theme uploaded it into the themes directory with ftp, and both the plugins and the theme link before installing gave blank pages.

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Sat, 2008-10-11 01:55

With the file 'here' and changing it to be called pear this is the errors i get

Warning: This isnt a family or work safe site.

Fri Oct 10 20:53:16 2008] [error] [client 76.29.171.156] PHP Fatal error:  GalleryCoreApi::require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/adultmg/public_html/gallery2/modules/core/classes/../../../themes/pear/theme.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adultmg/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2717, referer: http://www.adultmg.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_return=%2Fgallery2%2Fv%2FNNude%2FJean-171.JPG.html&g2_returnName=photo
[Fri Oct 10 20:53:16 2008] [error] [client 76.29.171.156] PHP Warning:  GalleryCoreApi::require_once(/home/adultmg/public_html/gallery2/modules/core/classes/../../../themes/pear/theme.inc) [<a href='gallerycoreapi.require-once'>gallerycoreapi.require-once</a>]: failed to open stream: Permission denied in /home/adultmg/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2717, referer: http://www.adultmg.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_return=%2Fgallery2%2Fv%2FNNude%2FJean-171.JPG.html&g2_returnName=photo
[Fri Oct 10 20:50:55 2008] [error] [client 76.29.171.156] PHP Fatal error:  GalleryCoreApi::require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/adultmg/public_html/gallery2/modules/core/classes/../../../themes/pear/theme.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adultmg/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2717, referer: http://www.adultmg.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_return=%2Fgallery2%2Fv%2FNNude%2FJean-171.JPG.html&g2_returnName=photo
[Fri Oct 10 20:50:55 2008] [error] [client 76.29.171.156] PHP Warning:  GalleryCoreApi::require_once(/home/adultmg/public_html/gallery2/modules/core/classes/../../../themes/pear/theme.inc) [<a href='gallerycoreapi.require-once'>gallerycoreapi.require-once</a>]: failed to open stream: Permission denied in /home/adultmg/public_html/gallery2/modules/core/classes/GalleryCoreApi.class on line 2717, referer: http://www.adultmg.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_return=%2Fgallery2%2Fv%2FNNude%2FJean-171.JPG.html&g2_returnName=photo
 
agarg
agarg's picture

Joined: 2007-11-16
Posts: 64
Posted: Mon, 2008-10-13 03:02

I think this is next best thing since slice of bread!!!

When will it be on the Gallery2 download page?

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-10-13 05:55
OldVolks wrote:
With the file 'here' and changing it to be called pear this is the errors i get

What version of Gallery2 are you running? The zip file generated from http://pear.erlis.se/trac/changeset/latest/trunk?old_path=/&filename=pear&format=zip should work (you might have to rename the trunk dir and install the theme in the preference panel).

agarg wrote:
I think this is next best thing since slice of bread!!!

When will it be on the Gallery2 download page?

When it's more IE friendly (I've had alot to do at work lately so I have not had time to finish it).

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Mon, 2008-10-13 13:54

This is a brand new maybe 5 day old install, Ive built custom themes before but its been over a year ago and im a bit rusty, I changed the name from truck to pear

Gallery version = 2.2.6 core 1.2.0.8
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/5.2.6
Database = mysqli 5.0.51a-community-log, lock.system=flock
Toolkits = Gd
Acceleration = none, none
Operating system = Linux server2.nutricoach.net 2.6.18-92.1.10.el5PAE #1 SMP Tue Aug 5 08:14:05 EDT 2008 i686
Default theme = ebony
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
Rows in GalleryAccessMap table = 108
Rows in GalleryAccessSubscriberMap table = 2056
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2055
Rows in GalleryAlbumItem table = 18
Rows in GalleryCacheMap table = 0

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-10-13 15:43
OldVolks wrote:
This is a brand new maybe 5 day old install, Ive built custom themes before but its been over a year ago and im a bit rusty, I changed the name from truck to pear

Sounds strange.. Try to re-download the theme.

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Tue, 2008-10-14 01:10
erlis wrote:
When it's more IE friendly (I've had alot to do at work lately so I have not had time to finish it).

I have been adding to my gallery quite a bit in the last couple weeks, and so far it has been pretty smooth going in Firefox and IE7. I finally managed to get a look at it in IE6 though, and it definitely needs a lot of work there.

I have been compiling a list of issues I see and I will post them all as trac trickets when I get a chance

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Tue, 2008-10-14 05:37
OldVolks wrote:
This is a brand new maybe 5 day old install, Ive built custom themes before but its been over a year ago and im a bit rusty, I changed the name from truck to pear

You don't have any permission issues?

zk7 wrote:
I have been adding to my gallery quite a bit in the last couple weeks, and so far it has been pretty smooth going in Firefox and IE7. I finally managed to get a look at it in IE6 though, and it definitely needs a lot of work there.

It sounds good that the theme is closing up to stable on IE7.

I'm not planning to support IE6 more than just showing an alern and perhaps a download link to IE7 or Firefox. There are simply to much work to make the theme IE6 friendly.

(Perhaps can we make a lite version for the poor bastards still using IE6).

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Tue, 2008-10-14 13:56
erlis wrote:
I'm not planning to support IE6 more than just showing an alern and perhaps a download link to IE7 or Firefox. There are simply to much work to make the theme IE6 friendly.

(Perhaps can we make a lite version for the poor bastards still using IE6).

Haha, I like the way you think. In fact, would it be possible to switch the user to a friendlier theme if IE6 is detected? I imagine if there is, it would have to be a core gallery feature...but just wondering.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-10-23 06:27
zk7 wrote:
Haha, I like the way you think. In fact, would it be possible to switch the user to a friendlier theme if IE6 is detected? I imagine if there is, it would have to be a core gallery feature...but just wondering.

Apparently the Gallery framework does not support this, but I've seen some implementations of using different css:es based on browser versions. Perhaps we can find a solution even for this. Unfortunate I've got so much to do at work so I won't have time to fix the last few bugs before the end of this year.

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Fri, 2008-10-24 20:02
Quote:
Sounds strange.. Try to re-download the theme.

Done so several times, same issues. using another theme everything works just fine

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Sat, 2008-11-15 04:06

Okay I finally got this theme to work, however, when i try to view an image like click on an album, then the thumb, its blank... also theirs no reflection working, with the theme ebony, everything works fine, same with the default themes

 
juergen.s

Joined: 2007-05-14
Posts: 9
Posted: Sun, 2008-11-23 12:55

First of all my respect to your project, it is amazing!!
The pictures are loading and changing so fast i've never dreamt of ;)

I have a gallery2 installation with apx 21k pictures using the ice theme
which i've costumized a lot...
I was wondering if it is possible to put your, especially the mosaic engine,
behind the ice theme. I 'only' want to integrate the Cursor-Arrow feature plus the fascinating
fast picture viewer (preloading system?) behind the ice theme.

Things like in-/outfading or picture thumbnails are not necessary for me, perhaps
this makes it a little easier. Knowing, that your pear theme is based on the ice theme
gives me more hope :)

so long
greets
hacki

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2008-11-24 07:09

I've been flooded with work lately hence the theme isn't finished.

juergen.s wrote:
I was wondering if it is possible to put your, especially the mosaic engine,
behind the ice theme. I 'only' want to integrate the Cursor-Arrow feature plus the fascinating
fast picture viewer (preloading system?) behind the ice theme.

Things like in-/outfading or picture thumbnails are not necessary for me, perhaps
this makes it a little easier. Knowing, that your pear theme is based on the ice theme
gives me more hope :)

Well..

The problem with gallery in general is that you have to access the images from album view and that is perhaps not possible. I've moved away quite a bit from the ICE theme in order to achieve what have come to be the Pear theme.

My suggestion for you are to look at the source code of Pear and try to figure out all "the magic" (yes some parts are even magic for me :) ).

You are welcome to send me messages or PM if you have any more specific questions.

P.S.

This is what I use to do the prefetching (found in album.tpl).

<script type="text/javascript">
  // <![CDATA[
  var slideshowImages = new Array();
  {foreach from=$theme.children key=i item=it}
    {if (!$it.canContainChildren && $it.entityType != 'GalleryLinkItem' && $it.entityType != 'GalleryMovieItem')}
    slideshowImages.push(new Array('{if isset($it.resizedId)}{g->url arg1="view=core.DownloadItem"
      arg2="itemId=`$it.resizedId`" htmlEntities=false}{else}{g->url params=$theme.pageUrl arg1="itemId=`$it.id`"
      htmlEntities=false}{/if}','{g->url arg1="view=core.ShowItem" arg2="itemId=`$it.id`"}','{$it.resizedWidth}','{$it.resizedHeight}'));
    {/if}
  {/foreach}
  // ]]>
</script>

And of course a javascript to do all the actual loading (found in pear.js).

function preFetch()
{
        for (var i = 0; i < slideshowImages.length; i++) {
                var tempImage = new Element('img', {'src': slideshowImages[i][0]});
        }
}

Then you just have to do a img swatch (have a look at line 86 in pear.js).

D.S.

 
juergen.s

Joined: 2007-05-14
Posts: 9
Posted: Tue, 2008-11-25 20:56

Thanks for your reply, i will fight me through the code and message you if i stuck at some implemention point ;)

 
legis2

Joined: 2008-12-10
Posts: 1
Posted: Wed, 2008-12-10 15:28

I really like this theme but can't use it correctly. Just as OldVolks above, no albums or images are shown in IE7. There is a script error when using IE quite early in the rendering. It doesn't work even if you browse directly to an album.

Using Google chrome gets me further. Albums and thumbnails are shown, but when clicking on a thumbnail, the image is blank. Clicking on the information button (i) gets you to show the image though. Not really sure what's going on there.

Firefox behaves the same way as Chrome.

Any pointers are welcome :)

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Thu, 2008-12-11 06:52
OldVolks wrote:
Okay I finally got this theme to work, however, when i try to view an image like click on an album, then the thumb, its blank... also theirs no reflection working, with the theme ebony, everything works fine, same with the default themes

legis2 wrote:
I really like this theme but can't use it correctly. Just as OldVolks above, no albums or images are shown in IE7. There is a script error when using IE quite early in the rendering. It doesn't work even if you browse directly to an album.

That's really strange..

I don't know why it doesn't work for you and I really don't have time to have a look on it now either. I'm sorry :(

But one thing..
How do you download the Theme? Are you using the latest version?

Reflections are not implemented at all in the present versions, I didn't get it to work smoothly so I disabled it for now. I think however there should be a project driven by cthrax that generates a huge thumb for all the images in an album (This should be used for speeding up the skimming part).
The next thing for this theme is just to handle IE<7 (I think IE7 works pretty decent on my test page). Then we are probably ready for a "final" release.

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Thu, 2008-12-11 17:13

Running the latest revision (61), I have also seen that IE 7 and 8 both work pretty decently with the theme.

@OldVolks and legis2:
Are you sure you have the latest revision?
You can check out the latest from http://pear.erlis.se/svn/trunk/

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Sat, 2009-07-11 10:53

I'm back!

Please update all bugs at http://pear.erlis.se/trac and I'll try to fix them so we can have a stable first release by the end of July.

 
ripken204

Joined: 2007-10-16
Posts: 3
Posted: Tue, 2009-07-21 14:45

nice, you are back!
there are so many problems i am having with this, it would be great to have a working one soon :)

 
zk7

Joined: 2008-07-30
Posts: 8
Posted: Thu, 2009-08-06 17:03

good to have you back erlis!

I see you made some changes .. I'll check out the latest revision and add any bugs I see.

 
roccolord

Joined: 2010-01-21
Posts: 1
Posted: Thu, 2010-01-21 19:18

Anybody having the last revision laying around? The theme looks to be gone from erlis.se, so if somebody could post the last revision I would be more than happy!

 
floogy

Joined: 2007-01-10
Posts: 12
Posted: Sun, 2010-01-24 10:33

It would be nice to have an mirror of the latest trac revision as trac or svn hosted on sourceforge, google code or something similar reliable.

 
erlis

Joined: 2004-01-16
Posts: 205
Posted: Mon, 2010-01-25 19:54

Well, I don't really have time to complete this project even if I had quite fun on the run..

I have synced the entire project from trac to google code (new url will be: http://pear4gallery.googlecode.com).

Don't really know what to do with the issues in trac, should I export them so they can be imported to google code as well?

Please keep me posted if you have any concerns where I might help, but the browser comparability jungle killed my intrest.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2010-01-26 03:03
Quote:
but the browser comparability jungle killed my intrest.

Now you know how the dev team feels with browsers, OS, DBs, hosts......
Thanks for your contribution.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team