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: 13
Joined: Fri Feb 06, 2015 10:51 pm

PhotoStation -> Sharing an album with a link

Post 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
arpipap
Starting out
Posts: 24
Joined: Fri Feb 06, 2015 8:08 pm

Re: PhotoStation -> Sharing an album with a link

Post 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
johnson407
Easy as a breeze
Posts: 391
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post 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
CaptBrick
Starting out
Posts: 10
Joined: Wed Nov 25, 2015 6:14 pm

Re: PhotoStation -> Sharing an album with a link

Post by CaptBrick »

@johnson407 nice workaround yet it would be great if those options where in share dialog (dropdown, checkboxes etc)
johnson407
Easy as a breeze
Posts: 391
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 »

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 »

@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 »

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: 391
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post 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
johnson407
Easy as a breeze
Posts: 391
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post by johnson407 »

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 »

@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 »

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: 391
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post 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?
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 »

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: 391
Joined: Wed Nov 04, 2009 2:45 pm

Re: PhotoStation -> Sharing an album with a link

Post 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
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 »

thx Johnson,
works!!
Post Reply

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