Slideshow Picture Viewer

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Slideshow Picture Viewer

Postby ChiMatt » Sat Feb 05, 2011 9:26 pm

Alright folks. I am going to make the disclaimer that I have not programmed in Java in over 10 years and html so this took me a long time and I am sure I am far from a completed solution. I am hoping that others can quickly work off of the solution I am starting here or that this inspires you to help me complete this. I have run out of time today, but here is what I have so far. I went to the open source Google Code Project Slideshow website today.
http://code.google.com/p/slideshow/ and downloaded the source files. Unzip the directory to c:\subsonic\jetty\2132\webapp. You should now have the following folders and files, CSS, images, js, index.html, and readme in addition to the files that were already there. You will want to change the index.html file you just downloaded to something else. I changed it to pictures.html. At this point you should be able to point your subsonic url to xyz.subsonic.org/pictures.html and see a working version of the slideshow with the examples given. If you navigate to c:\subsonic\jetty\2132\webapp\WEB-INF\jsp you will find the top.jsp file. Open it in your editor of choice (notepad). This will allow you to add an extra button at the top of your subsonic page. I added the line <fmt:message key="top.pictures" var="pictures"/> just below the same line with podcast in it. Then I copied and added

<td style="min-width:4em;padding-right:1.5em">
<a href="pictures.html" target="main"><img src="<spring:theme code="homeImage"/>" title="${pictures}" alt="${pictures}"></a><br>
<a href="pictures.html" target="main">${home}</a>
</td>

just below the matching line with home.view in it. Click save.

If you refresh your subsonic home page, you will see two "home" icons at the top. If you select the second one, you should see where the slideshow player has now been embedded into the interface.

I am not fast enough or good enough with java to incorporate this with a pictures folder like the movie or music folders we all currently have. Also, I cannot figure out how to make this interface more secure like with the movies or the music. I am hoping this is a good enough start to help others take it from here and easily incorporate it into the interface.
ChiMatt
 
Posts: 33
Joined: Wed Jan 12, 2011 6:28 pm
Location: Chicago

Postby kroken » Sat Feb 05, 2011 10:01 pm

Demo?
kroken
 
Posts: 81
Joined: Sat Oct 16, 2010 6:28 am

Postby ChiMatt » Sat Feb 05, 2011 10:42 pm

kroken wrote:Demo?


mattbenoist1.subsonic.org

login: guest
passwd: guest

click on the "second" home button at the top nav bar and you will see what this looks like so far. It only has demo pictures loaded.
ChiMatt
 
Posts: 33
Joined: Wed Jan 12, 2011 6:28 pm
Location: Chicago

Postby 3R3 » Tue Mar 01, 2011 6:56 pm

The server at "mattbenoist1.subsonic.org" is unreachable. DNS lookup works though, maybe your DDNS client fails to update?

I was thinking of using this to browse Music, like a cover Browser which links the pics to the corresponding album/music folder. I might take this up soon, thx for starting it :)
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Postby bushman4 » Tue Mar 01, 2011 7:00 pm

The entire subsonic.org domain is currently unavailable. That would include the redirector operating for *.subsonic.org personal domains.

HTH,

Glenn
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Postby chemikalguy » Wed Apr 27, 2011 8:33 pm

That has potential. I like having a separate 'Home' button at the top. Make it 'Photos', or a little picture of a camera or something, and that would be sweet! A similar folder structure as the music folders, and I'd use it.
chemikalguy
 
Posts: 26
Joined: Thu Mar 24, 2011 8:33 pm
Location: Durham, NC, USA

Postby moisy » Sat May 14, 2011 1:03 pm

Brilliant mate, are you going to be developing this, I'll keep an eye on your post if you do.
User avatar
moisy
 
Posts: 13
Joined: Fri Dec 17, 2010 1:08 am
Location: UK, England

Postby chemikalguy » Sat May 14, 2011 2:03 pm

So, silly question, but if you put in this code, and then there's an update for Subsonic, will it get removed automatically when the update runs? Or would that only happen in the case of a major upgrade?

Scott
chemikalguy
 
Posts: 26
Joined: Thu Mar 24, 2011 8:33 pm
Location: Durham, NC, USA

Postby moisy » Sat May 14, 2011 3:15 pm

No it will definitely be overwritten with a new login.jsp file so you will lose all the coding. But you can save this file prior to updating and replacing the new one with your modified file and all will be back.
User avatar
moisy
 
Posts: 13
Joined: Fri Dec 17, 2010 1:08 am
Location: UK, England

Postby wrathchild_67 » Mon May 23, 2011 11:34 pm

For anyone interested in changing the second "Home" icon and text on the top bar to actually say "Pictures" and use a camera icon, here are the files and icon I used (follow the instructions in the first post to get the slideshow installed). Just extract the archive right into your Subsonic folder. This is for version 4.4 (build 2172) and the default "Spring" theme in English only. If you'd like to see what I did, just compare the files in the archive with the default files installed with Subsonic using a program like Notepad++ or Diffmerge.

The files to edit are:
\subsonic\jetty\2172\webapp\WEB-INF\classes\net\sourceforge\subsonic\theme\default.properties

\subsonic\jetty\2172\webapp\WEB-INF\classes\net\sourceforge\i18n\ResourceBundle_en.properties

\subsonic\jetty\2172\webapp\WEB-INF\jsp\top.jsp
wrathchild_67
 
Posts: 1
Joined: Mon May 23, 2011 10:56 pm

Postby pemholder » Fri Jul 01, 2011 9:58 am

ChiMatt wrote:mattbenoist1.subsonic.org

login: guest
passwd: guest

Is there a newer or other demo?
The user and passwort "guest" don't work anymore.
pemholder
 
Posts: 97
Joined: Wed Dec 09, 2009 1:28 pm

Re: Slideshow Picture Viewer

Postby russcasey » Tue Aug 23, 2011 8:10 am

This is really impressive and *almost* perfect for me. I'm looking for something that can serve up a web based slideshow from my home server to other devices (such as a tablet being used as a digital photo frame). For this to work well the features I need are:

- Obtain the images from a different drive to where subsonic is installed. I guess there must be a way of adding a 'virtual directory' to the subsonic web server config, but I'm clueless about how!

- Index the images automatically. I'll copy a new folder of images across from my digital camera, and I want them to be added to the show with no hacking. This thread has some clues about how to do this, but I'm a bit stuck on the implementation (can't seem to run php inside C:\subsonic\jetty\2172\webapp :( ): http://groups.google.com/group/mootools ... b779491f47
russcasey
 
Posts: 15
Joined: Thu Jul 07, 2011 11:39 am

Re: Slideshow Picture Viewer

Postby ChiMatt » Sat Nov 12, 2011 2:42 pm

Maybe we can try to convince some of the better programmers from the mod section to try to help us code this up quickly. I am sure this is not hard if you know what you are doing. It just has to be implemented smoothly. Sindre is busy with bigger issues and projects and I do not blame him, but a picture viewer would just be the best.
ChiMatt
 
Posts: 33
Joined: Wed Jan 12, 2011 6:28 pm
Location: Chicago

Re: Slideshow Picture Viewer

Postby tdjohnson » Tue Feb 07, 2012 9:35 am

I agree with chimatt but where could we find such a developer ?
tdjohnson
 
Posts: 1
Joined: Tue Feb 07, 2012 9:30 am


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 6 guests