![]() |
|
SimpleViewer Theme - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: SimpleViewer Theme (/thread-1369.html) |
SimpleViewer Theme - sleman - 13-04-2007 I have developed a new theme that wraps simpleviewer (flash photo viewer) quite nicely. Take a look at: 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 SimpleViewer Theme - DarrellD - 13-04-2007 I see a MySQL Error. Looks like it's having trouble connecting. SimpleViewer Theme - thinkdreams - 13-04-2007 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. SimpleViewer Theme - Skwid - 05-06-2007 Please post it on the wiki :) SimpleViewer Theme - sleman - 05-06-2007 Theme submitted to the wiki, thanks for your interest. SimpleViewer Theme - AmbitiousLemon - 05-06-2007 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? SimpleViewer Theme - Skwid - 06-06-2007 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. SimpleViewer Theme - Skwid - 06-06-2007 Hello again, I have basically rewritten the theme from scratch, I think it's now much cleaner and easier to use. Here are the advantages:
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 ! SimpleViewer Theme - AmbitiousLemon - 06-06-2007 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. SimpleViewer Theme - sbillard - 07-06-2007 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"? SimpleViewer Theme - sbillard - 07-06-2007 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? SimpleViewer Theme - sbillard - 11-06-2007 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:... SimpleViewer Theme - Skwid - 12-06-2007 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. SimpleViewer Theme - dodo - 13-06-2007 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"). SimpleViewer Theme - sbillard - 13-06-2007 Thanks, that did the trick. SimpleViewer Theme - sbillard - 14-06-2007 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. SimpleViewer Theme - Skwid - 14-06-2007 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. SimpleViewer Theme - Skwid - 14-06-2007 sbillard: for the image description you might need to add a CDATA field in the xml generation, with both the title and the description. SimpleViewer Theme - sbillard - 15-06-2007 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. SimpleViewer Theme - sleman - 15-06-2007 Skwid, feel free to submit your modified template replacing mine. Great work. |