View photos

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

Moderator: moderators

View photos

Postby indecline » Thu Jan 13, 2011 12:04 pm

I saw that i can include my photo folders by including jpg in my settings

so by searching of hours in scripting and for a solution for a photo album to display a pictures

So lets see :

jw flash can read images


Code: Select all
http://www.longtailvideo.com/support/jw-player-setup-wizard?example=203



i need to find out how to replace photo links to

Code: Select all
http://192.168.000.1:4040/coverArt.view?size=600&path=/IMG_7119.JPG


i found a little solution

Add .jpg and .JPG to audio extensions in settings

in playlist.jsp

find

Code: Select all
function createPlayer() {
        var flashvars = {


add after

Code: Select all
skin:"<c:url value="/flash/whotube.zip"/>",


find

Code: Select all
if (song.format == "aac" || song.format == "m4a") {
            list[0].provider = "video";
        }


add after

Code: Select all
  if (song.format == "jpg" || song.format == "JPG") {
            list[0].provider = "image";
        }


This works only for 4.3 stable
User avatar
indecline
 
Posts: 33
Joined: Sat Jan 08, 2011 9:25 pm

Postby stueyboy » Thu Jan 13, 2011 12:40 pm

Seems to work OK for me. I'm at the office so the bandwidth is restricting playback a bit but still working. Thanks!!
stueyboy
 
Posts: 46
Joined: Wed Sep 01, 2010 8:58 am

Postby indecline » Thu Jan 13, 2011 2:28 pm

If someone wants to see a photos instantly

You must apply the size of a player
This part is explained in this mod.
http://forum.subsonic.org/forum/viewtopic.php?p=15120


Code: Select all

Open “C:/subsonic/jetty/1802/webapp/WEB-INF/jsp/playlist.jsp” using a text editor like notepad or wordpad.


Search for:

"340" and that's the line you're looking for. Replace the "24" after it with a larger number, 255 gives you a nice player size with a 4:3 aspect ratio. You can tweak the player size to your liking.


Code: Select all
Open C:/subsonic/jetty/1130/webapp/WEB-INF/jsp/index.jsp. Change
frameset rows="70%,30%"
to
frameset rows="50%,50%"

50/50 can be replaced with whatever looks best to you.



if some one can implement this to video player and not audio would be cool
User avatar
indecline
 
Posts: 33
Joined: Sat Jan 08, 2011 9:25 pm

Re: View photos

Postby Riffy » Mon Feb 04, 2013 1:12 pm

Is there anyway to set it up to view images on the android app
Riffy
 
Posts: 4
Joined: Mon Feb 04, 2013 1:00 pm

Re: View photos

Postby siGh » Mon Mar 04, 2013 8:44 pm

I added a new button to the 'top' and use sv builder pro for my galleries. It's very quick to load, VERY easy to configure, and can be customized to match virtually any style you can think of. Ok, you guys are coders, and I am not. But ... it works for me 8)
siGh
 
Posts: 30
Joined: Tue Mar 06, 2012 7:51 am
Location: Northamptonshire

Re: View photos

Postby vintendo » Fri Dec 06, 2013 11:28 pm

Not to bring One up from the dead lol

but I have been messing with this for a while and I can't seem to get the photos To display in JWplayer

I get the error that the file can't be found..

are you able to get the pictures to show up ?

not sure what you mean about how you were trying to get the last part in that link >>

I can see my pictures coming Up but I can not display them in the player


Thanks
vintendo
 
Posts: 9
Joined: Sat Mar 05, 2011 9:55 pm


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests