Pages (3): 1 2 3   
Member
Member
sleman   13-04-2007, 02:44
#1

I have developed a new theme that wraps simpleviewer (flash photo viewer) quite nicely. Take a look at:
http://michaelsleman.com/zenphoto

I'd love to contribute this as a template that's packaged with zenphoto as it looks quite nice. Let me know where I can post the files.

Thanks

Member
Member
DarrellD   13-04-2007, 06:19
#2

I see a MySQL Error. Looks like it's having trouble connecting.

Member
Member
thinkdreams   13-04-2007, 13:01
#3

You can submit themes to the trac wiki. There is a page:

http://www.zenphoto.org/trac/wiki/ZenphotoThemes

which has a number of themes on it already. Just follow the outlines of the other themes on the page to get the structure (so it remains sort of consistent) and you can upload a zipped archive as an attachment to the page.

Make sure you create a login account on the trac wiki too, so Tristan can keep an eye on who's changing what on the wiki.

Member
Member
Skwid   05-06-2007, 05:48
#4

Please post it on the wiki :)

Member
Member
sleman   05-06-2007, 21:13
#5

Theme submitted to the wiki, thanks for your interest.

Member
Member
AmbitiousLemon   05-06-2007, 22:07
#6

Looks great! Its not working for me though. After the loading gallery message nothing shows up. I noticed that you had your url hard coded in the imagedata_xml.php file on line 26. Fixing that didn't help. Is it compatible with mysql table prefixes? Thats one change I have had to make with other themes. Is it compatible with subalbums? How about the zen video hack?

Member
Member
Skwid   06-06-2007, 00:21
#7

This is a great idea. I am working on making the theme even better by having all the files (with the swf etc) in the theme folder, using zenphoto's functions for thumbnail generation, and using the javascript from airtight to display the swf.

Member
Member
Skwid   06-06-2007, 05:12
#8

Hello again,

I have basically rewritten the theme from scratch, I think it's now much cleaner and easier to use.
You can see an example here: http://test.lostocean.net/zpsvn/
Download here: http://www.zenphoto.org/trac/attachment/wiki/ZenphotoThemes/simpleviewer-1.1.zip

Here are the advantages:

  • Works with subalbums !!
  • All the files are in the theme directory
  • Very simplified xml generation (uses zenphoto contexts)
  • No manual thumbnail generation
  • Can configure all the colors etc at the top of the album.php file
  • Uses a JS swf loader which prevents problems in IE7
  • The graphics have been made a little bit more consistent with the 'default' theme

NOTE: Right now, the theme seems to work with the svn version of ZenPhoto, but not with 1.0.8.2 . I will try to fix that as soon as possible.

Sleman, do you mind me updating your archive on the wiki, or do you want to keep two seperate themes ?

Enjoy !

Member
Member
AmbitiousLemon   06-06-2007, 19:32
#9

Awesome Skwid. While the original didn't work for me, this version is working perfectly.

Using svn version with subalbums and Camino as my browser (Mozilla 1.8 gekko engine).

Any chance we could get this working with the ZenVideo Hack? I haven't been able to find or mod a theme yet to do both subalbums and video.

Member
Member
sbillard   07-06-2007, 21:33
#10

I like what you have done with the image display. I know it is a lot to ask, but would you consider making a version with two-up albums on the album page like "sterile" or "audible.2"?

Member
Member
sbillard   07-06-2007, 23:18
#11

The album title and description on subalbums is formatted strangely see: http://albums.sbillard.org/China/.

Also, the Gallery title is displayed over the thumbnails. Wouldn't it be more appropriate to show the album title. (Or omit this since the information is already at the head of the page.)

Would it be possible to show the image description under full image?

Member
Member
sbillard   11-06-2007, 23:03
#12

I have tried adapting SimpleViewer to Effervescence. I am clearly missing something. The SimpleViewer application loads then shows a small X on the left and a large X on the right. I copied code from SimpleViewer: #index and #Flash from the CSS and the imagae body code from album.php:


...

Member
Member
Skwid   12-06-2007, 22:44
#13

Well, you need to have the code for the xml feed etc in there, as well as the stuff for subalbums. Try taking the albums.php from the simpleviewer theme and changing only the div names etc to math effervescence. And then switch the stylesheet. You shouldn't have to modify the index.php from Effervescence.

Junior Member
Junior Member
dodo   13-06-2007, 22:03
#14

I don't understand how the theme works skwid. I run the svn zenphoto version but simpleviewer still only display two white crosses instead of my photos in the albums. Is there any manual script to run to make it work ? (you were speaking about "Very simplified xml generation").
Or maybe is it an issue with my hoster (mod_rewrite is disabled here).
Your demo gallery looks great anyway :)

Member
Member
sbillard   13-06-2007, 23:45
#15

Thanks, that did the trick.

Member
Member
sbillard   14-06-2007, 00:34
#16

Here is the modified Effervescence: http://albums.sbillard.org.

One strange thing. No matter what I set the value of thumbnailRows I get 4 rows. I was hoping to use more of the space for thumbnails (since I shrunk the columns to 2 to allow more room for landscape images.)

Also, any thoughts on how to add the image description to the caption? I'd like to display the image title with the image description under it. I read the FAQ regards to using CDATA, but I suspect I don't understand (or it conflicts with php) because when I attempted this only one thumbnail was displayed.

Member
Member
Skwid   14-06-2007, 03:03
#17

sbillard: Congrats on modifying the theme to suit your needs :) That looks great ! Please post it on the wiki :)

dodo: Hum yes it might not work without mod_rewrite, I would have to check it out with the option disabled, but I don't really have time. All the xml generation is taken care of in album.php, there is nothing else to run.

Member
Member
Skwid   14-06-2007, 03:04
#18

sbillard: for the image description you might need to add a CDATA field in the xml generation, with both the title and the description.

Member
Member
sbillard   15-06-2007, 00:12
#19

I've added Effervescence_SimpleViewer to the WIKI pages.

Skwid: I have not figured out how to make CDATA work. Everything I have tried breaks the viewer.

Member
Member
sleman   15-06-2007, 19:36
#20

Skwid, feel free to submit your modified template replacing mine. Great work.

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.