Page 1 of 2

PhotoStation -> Sharing an album with a link

Posted: Tue Sep 08, 2015 4:37 pm
by nomisch
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 (http://forum.qnap.com/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

Re: PhotoStation -> Sharing an album with a link

Posted: Wed Nov 25, 2015 12:02 am
by arpipap
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

Re: PhotoStation -> Sharing an album with a link

Posted: Wed Nov 25, 2015 2:57 pm
by johnson407
- 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

Re: PhotoStation -> Sharing an album with a link

Posted: Thu Nov 26, 2015 5:03 pm
by CaptBrick
@johnson407 nice workaround yet it would be great if those options where in share dialog (dropdown, checkboxes etc)

Re: PhotoStation -> Sharing an album with a link

Posted: Fri Nov 27, 2015 11:37 am
by johnson407
duly noted.

Re: PhotoStation -> Sharing an album with a link

Posted: Fri Dec 04, 2015 10:30 am
by arpipap
@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

Re: PhotoStation -> Sharing an album with a link

Posted: Sat Dec 19, 2015 4:33 am
by arpipap
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

Re: PhotoStation -> Sharing an album with a link

Posted: Mon Dec 21, 2015 7:38 pm
by johnson407
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

Re: PhotoStation -> Sharing an album with a link

Posted: Mon Dec 21, 2015 7:39 pm
by johnson407
you just have to open album setting and select "share with the public"

Re: PhotoStation -> Sharing an album with a link

Posted: Sun Oct 16, 2016 6:34 pm
by NAS-Harry
@johnson407
is there a list of all parameters available for slideshow.php?
How can I autostart the slideshow?

Re: PhotoStation -> Sharing an album with a link

Posted: Sun Oct 16, 2016 10:35 pm
by NAS-Harry
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 '

Re: PhotoStation -> Sharing an album with a link

Posted: Mon Oct 17, 2016 10:30 am
by johnson407
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?

Re: PhotoStation -> Sharing an album with a link

Posted: Sat Oct 22, 2016 3:17 pm
by NAS-Harry
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

Re: PhotoStation -> Sharing an album with a link

Posted: Mon Oct 24, 2016 11:19 am
by johnson407
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

Re: PhotoStation -> Sharing an album with a link

Posted: Tue Oct 25, 2016 1:52 am
by NAS-Harry
thx Johnson,
works!!