PhotoStation -> Sharing an album with a link

Please post your questions about using the web-based Photo, Music, Video Stations here.
nomisch
Starting out
Posts: 11
Joined: Fri Feb 06, 2015 10:51 pm

PhotoStation -> Sharing an album with a link

Post by nomisch » Tue Sep 08, 2015 4:37 pm

Hello everyone!

I am sharing an album from my NAS using a public URL for my friends.
The link originally looks something like that: (the album id and nasname have been modified)
--> http://mynasname.myqnapcloud.com:8080/p ... bum=aBiFgH

When people visualize the slideshow, the slideshow has default parameters: the pictures are not sorted chronologically, a strange moving/zooming effect is set, the default music is playing, etc...
I wish I could set these otpions somewhere .... and not each user modify the options himslef

Here are the things that i want to modifiy

- I want to sort the order chronologically --> Solution: add &s=time at the end of the url
- I want to change the default effect --> Solution: ?
- I want to remove the music --> Solution: ?
- I want to set the time to slow/medium/fast --> Solution: ?
- I want to remove access to the option bar (i know it disappears if I hover the mouse out of the picture ... this is not the point) --> Solution: ?

So i found on this forum the solution to order the photo as desired (viewtopic.php?t=95869).
Is there any option or solution to set the other options ? I really think that those options should be configurable when creating the public link....

Thank you for your help

Simon

arpipap
Starting out
Posts: 24
Joined: Fri Feb 06, 2015 8:08 pm

Re: PhotoStation -> Sharing an album with a link

Post by arpipap » Wed Nov 25, 2015 12:02 am

Hi there,
I am wondering about the same thing here,Is there anyone that knows about this?
I am also curious to share an album in "Gallery" mode rather than "Slideshow" mode

Hope you can chime in,
Thanks RP

johnson407
Easy as a breeze
Posts: 392
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 » Wed Nov 25, 2015 2:57 pm

- I want to change the default effect --> Solution: &style=[effect name] possible options ['fade', 'scrollVert', 'turnDown', 'turnRight', 'turnLeft', 'uncover']
- I want to remove the music --> Solution: &music=-1
- I want to set the time to slow/medium/fast --> Solution: &timeout=[time in milliseconds] eg.&timeout=6000 (6 seconds)

to share an album in gallery mode, simply copy the the url link and paste it onto your favourite social network

CaptBrick
Starting out
Posts: 10
Joined: Wed Nov 25, 2015 6:14 pm

Re: PhotoStation -> Sharing an album with a link

Post by CaptBrick » Thu Nov 26, 2015 5:03 pm

@johnson407 nice workaround yet it would be great if those options where in share dialog (dropdown, checkboxes etc)

johnson407
Easy as a breeze
Posts: 392
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 » Fri Nov 27, 2015 11:37 am

duly noted.

arpipap
Starting out
Posts: 24
Joined: Fri Feb 06, 2015 8:08 pm

Re: PhotoStation -> Sharing an album with a link

Post by arpipap » Fri Dec 04, 2015 10:30 am

@johnson407
Thanks for the help,
However, no matter what link I get from my photo station, I only get the Slideshow view option..
It looks as this: http://177.318.134.70:8080/photo/slides ... bum=huKpGQ
I really love the Gallery view (and that seems the standard lately), but I can't figure it out..

Thank you for your time.

RP

arpipap
Starting out
Posts: 24
Joined: Fri Feb 06, 2015 8:08 pm

Re: PhotoStation -> Sharing an album with a link

Post by arpipap » Sat Dec 19, 2015 4:33 am

johnson407 wrote:- I want to change the default effect --> Solution: &style=[effect name] possible options ['fade', 'scrollVert', 'turnDown', 'turnRight', 'turnLeft', 'uncover']
- I want to remove the music --> Solution: &music=-1
- I want to set the time to slow/medium/fast --> Solution: &timeout=[time in milliseconds] eg.&timeout=6000 (6 seconds)

to share an album in gallery mode, simply copy the the url link and paste it onto your favourite social network



Hi
Johnson407,
I don't understand what you mean in regards to getting the gallery view link (instead of the slideshow view)

Can you explain for slow people like myself :(

Thank you,
Arpi

johnson407
Easy as a breeze
Posts: 392
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 » Mon Dec 21, 2015 7:38 pm

http://room408.com/gallery/#thumbnail/DJcVBH

like this, simply copy the link at the address bar to share on the social network of your choice

johnson407
Easy as a breeze
Posts: 392
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 » Mon Dec 21, 2015 7:39 pm

you just have to open album setting and select "share with the public"

NAS-Harry
New here
Posts: 5
Joined: Sat Dec 18, 2010 10:50 pm

Re: PhotoStation -> Sharing an album with a link

Post by NAS-Harry » Sun Oct 16, 2016 6:34 pm

@johnson407
is there a list of all parameters available for slideshow.php?
How can I autostart the slideshow?

NAS-Harry
New here
Posts: 5
Joined: Sat Dec 18, 2010 10:50 pm

Re: PhotoStation -> Sharing an album with a link

Post by NAS-Harry » Sun Oct 16, 2016 10:35 pm

Johnson, another question: I do not see any difference whether I set "timeout=2000" or "timeout=6000". Why?
"style" works, but only if I use either values from 0 to 5 or the corresponding name without '

johnson407
Easy as a breeze
Posts: 392
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 » Mon Oct 17, 2016 10:30 am

sort => s [time, name, custom]
sort direction => sd [asc, desc]
start position => start [0,1,2...]

and the usual style, timeout, music

there is no option to auto start the slideshow, you need to ssh and change the source code

find this block in /mnt/ext/opt/photostation2/lib/slideshow.js

Code: Select all

    
    //if slideshow is not originated from photo station, start in pause mode
    if ($('#closeButton').css('display') == 'none') {
        $('#pause').trigger('click');
    }


I am not sure why timeout doesn't work for you. do you have a sample link that I can take a look?

NAS-Harry
New here
Posts: 5
Joined: Sat Dec 18, 2010 10:50 pm

Re: PhotoStation -> Sharing an album with a link

Post by NAS-Harry » Sat Oct 22, 2016 3:17 pm

Hi Johnson,

thanks for your response.

Regarding timeout: NAS is not accessable from internet, so I just give you a video link to demonstrate: https://youtu.be/dIGl4ivWkhM
First I use timeout 1000, and then 20000. There is no difference after starting the slideshow.

Regading your code:
I opened the js code in vi (you can see parts of it in the video on the left side).
It seams that the js code is somehow automatically scripted - no comments, very hard to read....
Where shall I add your code in slideshow.js? Should I add it or just modify it?
I did not find "if slideshow" inside the code. And I did not find a code where css(display) is tested on "none".

I am using Photostation 5.2.2 on TS-119P+.

- Harald

johnson407
Easy as a breeze
Posts: 392
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 » Mon Oct 24, 2016 11:19 am

bug confirmed. and here is the javascript file you can use to fix that. slideshow-mod.js is the version with auto-start enabled.

https://drive.google.com/open?id=0B8Nab ... Xo2UmlTZFk

NAS-Harry
New here
Posts: 5
Joined: Sat Dec 18, 2010 10:50 pm

Re: PhotoStation -> Sharing an album with a link

Post by NAS-Harry » Tue Oct 25, 2016 1:52 am

thx Johnson,
works!!

Post Reply

Return to “Photo Station, Music Station, Video Station”