Page 1 of 1

View photos

PostPosted: Thu Jan 13, 2011 12:04 pm
by indecline
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

PostPosted: Thu Jan 13, 2011 12:40 pm
by stueyboy
Seems to work OK for me. I'm at the office so the bandwidth is restricting playback a bit but still working. Thanks!!

PostPosted: Thu Jan 13, 2011 2:28 pm
by indecline
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

Re: View photos

PostPosted: Mon Feb 04, 2013 1:12 pm
by Riffy
Is there anyway to set it up to view images on the android app

Re: View photos

PostPosted: Mon Mar 04, 2013 8:44 pm
by siGh
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)

Re: View photos

PostPosted: Fri Dec 06, 2013 11:28 pm
by vintendo
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