Where to place the code (jQuery etc)?

307 views
Skip to first unread message

twgrp

unread,
Apr 21, 2012, 6:33:55 AM4/21/12
to TiddlyWiki
I found this code to embed picasa albums in *gallery* view (by default
Picasa only allows embedding a slidshow or an album that only shows
the first picture linking to the rest):

http://archive.plugins.jquery.com/project/EmbedPicasaGallery

As seen, the code includes both a script and some jQuery code.
I'm no programmer so I'm guessing there should be a tiddler with the
script used to render the actual album (yes?). But where should the
jQuery code be? And is it necessary with the <div> part when I
arbitrarily wish to create albums in various tiddlers?
I.e, where do I actually put this stuff and do I need to enclose it in
some magic tags or something.
I have tiddlytools htmlformattingplugin, inlinejavascriptplugin and
wikifyplugin installed.

I should mention that I'm doing this on tiddlyspace (setting up TW's
with the kids paintings etc)

Also, if you have any better solution I'd love to hear it. (My ideal
solution would be to do this with pics stored in Google Docs rather
than Picasa because that is where I store stuff. But I cannot make
links to the actual images there, not to mention folders as a
gallery.)

Thank you!!!

twgrp

unread,
Apr 21, 2012, 7:11:09 AM4/21/12
to TiddlyWiki
BTW, I got that link from a site that says you can filter out imaged
by TAGS (i.e picasa tags!) in those picasa albums!

http://www.reading-forum.co.uk/forum/viewtopic.php?t=6519

<:-)

twgrp

unread,
Apr 23, 2012, 5:38:49 AM4/23/12
to TiddlyWiki
Anybody - please?
Or is it not possible?
Thank you!
/Mat

PMario

unread,
Apr 23, 2012, 11:34:41 AM4/23/12
to TiddlyWiki
On Apr 23, 11:38 am, twgrp <matiasg...@gmail.com> wrote:
> Anybody - please?
> Or is it not possible?
> Thank you!
> /Mat
Hi Matias,
I did integrate the fancybox [1] picture viewer a year ago. I did make
everything configurable, to expose the whole fancybox power to the
user. It turned out, it was much more work, than I thought. That's why
I didn't respond to your first post :)

EmbedPicasaGallery internally uses the slimbox2 [2] viewer, which is
quite similar to fancybox. *thinking: don't touch it.*

Since you want to use it with TS, the whole stuff needs to work
_online only_. right? If so, I can set up a quick hack, that exposes
the EmbedPicasaGallery functions with InlineJavascriptPlugin and some
tiddler transclusions. This lets enough space, for further hacking (by
others). I'm going to use slimbox2 default settings only.

I'll post a link here, ..... soon ;)

have fun!
mario

[1] fancybox.tiddlyspace.com
[2] http://www.digitalia.be/software/slimbox2

PMario

unread,
Apr 23, 2012, 2:28:22 PM4/23/12
to TiddlyWiki
OK,
I did some prototyping at picasagallery [1] space. If you include the
picasagallery space into your space, you'll get everything, you need
to work with the Picasa transclusion. (Prototype using
InlineJavascriptPlugin)

<<tiddler "Picasa##gallery" with: ....>> which lists all available
albums.

<<tiddler "Picasa##album" with: ....>> which creates direct access to
a known album. There is a little problem. I don't know an easy way to
get the album ID. (needs some more investigation)

The "with: params" can be seen at the space [1].

I did split the different plugins into several "-plugins" spaces [2]
[3]. This makes it possible, to use the slimbox plugin without picasa
gallery. Picasa gallery also works without slimbox. It just creates a
"default" link, which loads the pic into the browser. So other viewers
should be possible too. (but this is brainstorming allready :)

have fun!
-mario

[1] http://picasagallery.tiddlyspace.com/
[2] http://picasagallery-plugins.tiddlyspace.com/
[3] http://slimbox2-plugins.tiddlyspace.com/

twgrp

unread,
Apr 23, 2012, 4:55:53 PM4/23/12
to TiddlyWiki
Mario - you are so kind!

Fancybox has really beautiful displays! Great work Mario! I tried to
figure out how it works but must ask:
* is it enough for the user to only provide the url to the picasa
gallery/album page. I.e I don't want to have to copy paste individual
urls and I don't want to be foreced to name the pics specifically like
x1, x2, x3 etc with some kind of coded for-loop on x_.

I'm open to any solution that fulfills this and displays a full folder/
album in gallery view with some kidn of klickable thumbnails for
larger display.

I naively thought that after that official TW+jQuery integration a
while back that it would be "easy" to do use jQuery stuff, no? What
did the integration bring?

Thank you so much for your reply Mario!

<:-)

twgrp

unread,
Apr 23, 2012, 4:57:44 PM4/23/12
to TiddlyWiki
Oups, I now see your second reply. Fantastic! Will try it out
immediately!
This is really kind of you Mario!!!!

PMario

unread,
Apr 23, 2012, 6:19:37 PM4/23/12
to TiddlyWiki
On Apr 23, 10:55 pm, twgrp <matiasg...@gmail.com> wrote:
> I naively thought that after that official TW+jQuery integration a
> while back that it would be "easy" to do use jQuery stuff, no? What
> did the integration bring?
:) It is much easier, because there are a lot of jQuery plugins, with
nice functions. But they are made for web devs. So the examples don't
work very well in TW context. Also the "philosophy" is different. TW
brings the power to the user (at least it tries to), so most of the
time some wrapper code is needed, to make it more configurable,
instead of programmable. ....

-m

PMario

unread,
Apr 23, 2012, 6:20:09 PM4/23/12
to TiddlyWiki
On Apr 23, 10:57 pm, twgrp <matiasg...@gmail.com> wrote:
> Oups, I now see your second reply. Fantastic! Will try it out
> immediately!
> This is really kind of you Mario!!!!
Feedback is very welcome.
-m

PMario

unread,
Apr 23, 2012, 6:33:16 PM4/23/12
to TiddlyWiki
On Apr 23, 10:55 pm, twgrp <matiasg...@gmail.com> wrote:
> Fancybox has really beautiful displays! Great work Mario! I tried to
> figure out how it works but must ask:
> * is it enough for the user to only provide the url to the picasa
> gallery/album page. ...
fancybox plugin _can't_ handle picasa and flikr very well, because
you'll need to provide "hadmade" links. Which is a pain :) But
combining it with EmbedPicasaGallery seems to be interesting.
-m




twgrp

unread,
Apr 23, 2012, 6:54:30 PM4/23/12
to TiddlyWiki
In deed incredible that you "threw this together" just like that! It
appears to be exactly what I'm hoping for!

And clever to split it up like that for other possible applications.
(BTW, maybe the coming G-drive [1] will even replace picasa! To some
extent it already appears Google are trying to make Google+ replace
it. )

A few questions:

1) It is only possible to display fully public stuff with your setup,
yes? Picasaweb also has the option to "only show for those who have a
direct link" and it has the "Public Gallery" and "Unlisted Gallery"
views.
2) For the gallery tiddler call, it appears all album covers are
displayed regardless if I specify an ALBUM_NAME or all
3) How did you create that user name? Mine is only a long number. On
your picasa page, your actual name shows up, not that user name that
you use as an argument in the tiddler call.
4) Album ID.. in deed. Did you do what I did:
right click on the very album page to look at the html code. Search
"albumid" and find it in a link "...albumid/thisisthenumber" then
*drag* it into the tiddler and then cut from. Not purdy..
...However, why is this ID necessay? - why isn't the album *name*
enough, just like when calling for the album gallery? (BTW... did you
code this or is was it part of that package?)

Again, thank you so much Mario!

<:-)

[1] http://www.hostway.co.uk/news/virtualisation---the-cloud/google-drive-rumoured-to-arrive-this-week-801346636.html

PMario

unread,
Apr 24, 2012, 8:15:20 AM4/24/12
to TiddlyWiki
On Apr 24, 12:54 am, twgrp <matiasg...@gmail.com> wrote:
> In deed incredible that you "threw this together" just like that! It
> appears to be exactly what I'm hoping for!
:)
> And clever to split it up like that for other possible applications.
> (BTW, maybe the coming G-drive [1] will even replace picasa! To some
> extent it already appears Google are trying to make Google+ replace
> it. )
IMO g-drive is similar to dropbox and the like. It allways depends on
the API that is available for 3rd parties to connect to such services.
The picasaweb API is well documented and available. So we'll see ...

> 1) It is only possible to display fully public stuff with your setup,
> yes? Picasaweb also has the option to "only show for those who have a
> direct link" and it has the "Public Gallery" and "Unlisted Gallery"
> views.
There is some little documentation about, what's possible with the
gallery plugin. See [1]
there is the

authkey : 'optional-picasa-authkey',

which imo is the one you get if you restrict access at picasaweb album
settings.

I did a test, but the plugin doesn't show the thumb. Needs some more
testing see [2]

> 2) For the gallery tiddler call, it appears all album covers are
> displayed regardless if I specify an ALBUM_NAME or all
should be fixed, but now names are _case sensitive_!

> 3) How did you create that user name? Mine is only a long number. On
> your picasa page, your actual name shows up, not that user name that
> you use as an argument in the tiddler call.
It's your google user name. mine is same as gmail name.

> 4) Album ID.. in deed. Did you do what I did:
> right click on the very album page to look at the html code. Search
> "albumid" and find it in a link "...albumid/thisisthenumber" then
> *drag* it into the tiddler and then cut from. Not purdy..
jup. it is part of the album page html metadata. As I said, painful.

> ...However, why is this ID necessay? - why isn't the album *name*
Names are not unique, these IDs are.

> enough, just like when calling for the album gallery? (BTW... did you
> code this or is was it part of that package?)
There is some description [1], how to call this stuff. And there is
the demo page [3]. Where I had a look at the html source code.

Using InlineJavascriptPlugin and TW transclusion, is quite nice for
prototyping, because you can call jQuery plugins allmost like in the
examples. But most of the time, some TW wrapping is needed. eg:
UNIQE_ID which needs to be there, if you want to open several tiddlers
at the same time ....... This could be part of the <script> but it
would need more programming. ....

The next step would be to create a stand allone plugin, with named
params. Because as you can see, at the moment, the transclusion stuff
[2], does a lot of code duplication, which makes code maintenance more
difficult. ...

Creating the transclusion prototype needed about an hour. Playing with
the possibilities, restructuring the "with: params" and writing
documentation needed about 2 hours.

IMO this wouldn't be possible without TW/TS as a app framework. That's
one of the reasons why I like the TiddlyVerse :)

-m

[1] http://picasagallery.tiddlyspace.com/#EmbedPicasaGallery.js
[2] http://picasagallery.tiddlyspace.com/#PicasaTest
[3] http://oss.oetiker.ch/jquery/jquery.EmbedPicasaGallery.html

Måns

unread,
Apr 24, 2012, 9:03:35 AM4/24/12
to TiddlyWiki
Hi Mario

I'm really enjoying your picasagallery implementation :-)

http://synopse.tiddlyspace.gir.dk/#Skagensmalerne

Great job!!
Thanks for sharing it!

@twgrp

Thanks for giving @pmario this challenge -> the result is *very*
useful :-D

Cheers Måns Mårtensson

PMario

unread,
Apr 24, 2012, 10:47:18 AM4/24/12
to TiddlyWiki
Hi Mans,
Nice page :)

I think your album ID is: 5726884291442055553 which is the second
number in your link [1].

This: 104494666267512549882 seems to be the user id.

Also check your transclusion it should be Picasa##album ... if you
directly want to connect to the album. If ##album is used, also the
144 thumb size should work. (didn't test it)

>Thanks for giving @pmario this challenge -> the result is *very*
>useful :-D
Good to see, that there are several usecases.

But be aware, that the whole stuff isn't very well tested. So there
may be some changes ;)

-m

[1] https://plus.google.com/photos/104494666267512549882/albums/5726884291442055553?banner=pwa

Måns

unread,
Apr 24, 2012, 12:21:51 PM4/24/12
to TiddlyWiki
Hi Mario

> Nice page :)
>
> I think your album ID is: 5726884291442055553 which is the second
> number in your link [1].
>
> This: 104494666267512549882 seems to be the user id.

Thanks a lot :-D

Cheers Måns Mårtensson

twgrp

unread,
Apr 24, 2012, 6:33:16 PM4/24/12
to TiddlyWiki
On Apr 24, 2:15 pm, PMario <pmari...@gmail.com> wrote:
>
>       authkey :           'optional-picasa-authkey',
> ...
> I did a test, but the plugin doesn't show the thumb. Needs some more
> testing see [2]

Yeah, it would be great if it could work. (Apparently picasa is fully
connected to Google+ meaning that if you make a picture/album fully
public in picasa then it is so also in G+. Annoying to have anyone
watch the kids pics I store in Picasa, not to mention "pics of the
sofa I'm selling" etc.)


> examples. But most of the time, some TW wrapping is needed. eg:
> UNIQE_ID which needs to be there, if you want to open several tiddlers
> at the same time ....... This could be part of the <script> but it
> would need more programming. ....

With "open several tiddlers" do you mean with one pic/tumbnail per
tiddler, or why several tids?

Anyway, that is a great idea. If you allow me:
Having each loaded thumbnail be a link to an (eventual?) tiddler with
the picture. That current "enlarge+black background" display is very
good and deserves to stay, but it would be awesome if a gallery is
loaded and you're allowed to handle with one picture at a time in TW.
If it is at all possible (I'm going crazy here) there could be eg. a
small icon under each thumbnail. If the tumbnail itself is clicked
then that enlarged/black bgr is displayed but if the small icon is
clicked, the tiddler opens (is created?) showing the enlarged picture
(plus any additional tiddler content). And (going even crazier)
imagine if one could fET these things on tags and get a resulting list
of icons? That would really make for easy made galleries :-)

Considering how there are relatively few de facto products for photo
storage, and the enormous popularity of pics/clips, it is a bit
surprising these things are not very established in TiddlyVerse.
(...said the big-mouth who can't code...)


I'll try to find some easier way for that album ID at the picasa
forums.

<:-)

twgrp

unread,
Apr 25, 2012, 7:31:53 AM4/25/12
to TiddlyWiki
Album ID

I found a thread mentioning that:

http://groups.google.com/a/googleproductforums.com/d/msg/picasa/UkAx1-JhGOI/dkAeZ9FjLvMJ
"Go to your PWA account and click on the album in question.
Click on the 'RSS' link to the right.
You should get something like the following:
picasaweb.google.com/data/feed/base/user/PWAusername/albumid/
1234567890123456789?alt=rss&kind=photo&hl=en_US
..."

This is at least better than what I described above peeking at the
page source etc. Just maybe it is possible to extract it since it
appearently does exist there as a link.
...or, just maybe the page to apply the whole picasaplugin/slimbox
should be the RSS page!?

I also found this possibly relevant thread which is a bit too cryptic
for me:
http://groups.google.com/a/googleproductforums.com/d/topic/picasa/hh1ZAvon8p8/discussion

(I don't know if it is an issue, but maybe one should be alert so they
don't discuss the Picasa desktop application instead of Picasaweb.)

Of any value? (I'm asking anybody interested in the matter of course,
not just local hero PMario ;-)

<:-)

PMario

unread,
Apr 25, 2012, 7:43:02 PM4/25/12
to TiddlyWiki
On Apr 25, 12:33 am, twgrp <matiasg...@gmail.com> wrote:
> >       authkey :           'optional-picasa-authkey',
> > ...
> > I did a test, but the plugin doesn't show the thumb. Needs some more
> > testing see [2]
>
> Yeah, it would be great if it could work. (Apparently picasa is fully
> connected to Google+ meaning that if you make a picture/album fully
> public in picasa then it is so also in G+. Annoying to have anyone
> watch the kids pics I store in Picasa, not to mention "pics of the
> sofa I'm selling" etc.)
I found out, how it works. If we know the albumName or albumId and the
authkey, it is possible to programmatically access the album. An album
overview is restricted by picasa devs. (may be because of privacy
issues).

> > examples. But most of the time, some TW wrapping is needed. eg:
> > UNIQE_ID which needs to be there, if you want to open several tiddlers
> > at the same time ....... This could be part of the <script> but it
> > would need more programming. ....
>
> With "open several tiddlers" do you mean with one pic/tumbnail per
> tiddler, or why several tids?
Nope, if you use 2 transclusions within one tiddler, you'll need 2
different UNIQUE_IDs, because I was to lazy to avoid this :)

> Anyway, that is a great idea. If you allow me:
> Having each loaded thumbnail be a link to an (eventual?) tiddler with
> the picture. That current "enlarge+black background" display is very
> good and deserves to stay, but it would be awesome if a gallery is
> loaded and you're allowed to handle with one picture at a time in TW.
This would need to load picture stuff into TW. Not sure about this.
May be the thumbs, with links to the "big" picture. Like I did with
fancybox. ...

> If it is at all possible (I'm going crazy here) there could be eg. a
> small icon under each thumbnail. If the tumbnail itself is clicked
> then that enlarged/black bgr is displayed but if the small icon is
> clicked, the tiddler opens (is created?) showing the enlarged picture
> (plus any additional tiddler content).
yea (plus any additional tiddler content). That's the way, how TWians
like it :)

> ... And (going even crazier)
> imagine if one could fET these things on tags and get a resulting list
> of icons? That would really make for easy made galleries :-)
Picasa has tags too, so filtering would be possible at "load time".

> Considering how there are relatively few de facto products for photo
> storage, and the enormous popularity of pics/clips, it is a bit
> surprising these things are not very established in TiddlyVerse.
> (...said the big-mouth who can't code...)
Loading pictures into a TW makes an offline file bloated.

> I'll try to find some easier way for that album ID at the picasa
> forums.
I think I found a solution. But needs to change the library. I have to
talk to the original author, because the licensing isn't very clear
[1].

have fun!
mario
[1] https://github.com/oetiker/jquery.EmbedPicasaGallery

twgrp

unread,
Apr 25, 2012, 7:45:51 PM4/25/12
to TiddlyWiki
Just for reference/record if anyone were to pick up on the ideas about
dealing with thumbnails like tiddlers, I found this:

http://groups.google.com/group/tiddlywiki/browse_thread/thread/a2f1a532bc83aded/72d8ec08e6e69157?lnk=gst&q=pushing#72d8ec08e6e69157



twgrp/Mat (...why could I change my nick in another google group but
not this one? Oh well...)


On Apr 25, 1:31 pm, twgrp <matiasg...@gmail.com> wrote:
> Album ID
>
> I found a thread mentioning that:
>
> http://groups.google.com/a/googleproductforums.com/d/msg/picasa/UkAx1...
> "Go to your PWA account and click on the album in question.
> Click on the 'RSS' link to the right.
> You should get something like the following:
> picasaweb.google.com/data/feed/base/user/PWAusername/albumid/
> 1234567890123456789?alt=rss&kind=photo&hl=en_US
> ..."
>
> This is at least better than what I described above peeking at the
> page source etc. Just maybe it is possible to extract it since it
> appearently does exist there as a link.
> ...or, just maybe the page to apply the whole picasaplugin/slimbox
> should be the RSS page!?
>
> I also found this possibly relevant thread which is a bit too cryptic
> for me:http://groups.google.com/a/googleproductforums.com/d/topic/picasa/hh1...

Måns

unread,
Apr 25, 2012, 8:04:51 PM4/25/12
to TiddlyWiki
Hi Mat

> Just for reference/record if anyone were to pick up on the ideas about
> dealing with thumbnails like tiddlers, I found this:
>
> http://groups.google.com/group/tiddlywiki/browse_thread/thread/a2f1a5...

Really old post you found ......

Most of it was private and not usefull - Now I've updated it (not made
it prettier in any way) - so it shows the basic ideas...

http://sandboxmm.tiddlyspace.com/#Thumb2

Cheers Måns Mårtensson

twgrp

unread,
Apr 25, 2012, 8:26:18 PM4/25/12
to TiddlyWiki
On Apr 26, 1:43 am, PMario <pmari...@gmail.com> wrote:
> I found out, how it works. If we know the albumName or albumId and the
> authkey, it is possible to programmatically access the album. An album
> overview is restricted by picasa devs. (may be because of privacy
> issues).

Great!!! (and strange restriction)

>>...
>
> This would need to load picture stuff into TW. Not sure about this.
> May be the thumbs, with links to the "big" picture. Like I did with
> fancybox. ...

Yes, yes. [img[url]] or something. Not the actual pic of course. (Just
maybe those urls that Picasa provide to individual pics can be
fetched?)


> > ... And (going even crazier)
> > imagine if one could fET these things on tags and get a resulting list
> > of icons? That would really make for easy made galleries :-)
>
> Picasa has tags too, so filtering would be possible at "load time".

I guess both are desirable even if TW filtering probably makes more
sense unless the source gallery is huge and there are time issues or
such. Actually, are the tumbs shown when the whole code is done
processing or are they spit out (spitted? spitten?) one at the time in
the process? I'm asking both from a time perspetive (which clearly is
not an issue as far as I can tell but just might be with huge albums)
but I'm also asking because if they're spit/en/ed out one at a time
then I'm guessing they're easier to wrap up into tiddlers. (...here
Matias is talking about stuff he has no clue about. It has happened
before.)


> > Considering how there are relatively few de facto products for photo
> > storage, and the enormous popularity of pics/clips, it is a bit
> > surprising these things are not very established in TiddlyVerse.
> > (...said the big-mouth who can't code...)
>
> Loading pictures into a TW makes an offline file bloated.

No, sorry, I didn't mean a TW to replace those products. I was just
ref. to the fact that there is relatively little "about pics and
media" in TiddlyVerse relative to how big an issue it is on the
general internet. But maybe we already have the tools needed. Except
for picasagallery of course ;-)


> > ...album ID

Note: Above here, I posted some stuff I found on album ID's. This
coding is beyond me but I would assume the RSS idea could be viable
considering that RSS, if anything, is made to get things 'out'.


> have fun!
I am! LOL
Although I'm a bit frustrated that I can only contribute so marginally.

Måns

unread,
Apr 25, 2012, 8:53:07 PM4/25/12
to TiddlyWiki

>
> Most of it was private and not usefull - Now I've updated it (not made
> it prettier in any way) - so it shows the basic ideas...
>
> http://sandboxmm.tiddlyspace.com/#Thumb2

Another dead link from that thread - revived:

http://xn--mns-ula.dk/maans/TiddlyHome/kartotek/#Medier


Cheers Måns Mårtensson

PMario

unread,
Apr 26, 2012, 10:12:12 AM4/26/12
to TiddlyWiki
On Apr 26, 2:26 am, twgrp <matiasg...@gmail.com> wrote:
> On Apr 26, 1:43 am, PMario <pmari...@gmail.com> wrote:
>
> > I found out, how it works. If we know the albumName or albumId and the
> > authkey, it is possible to programmatically access the album. An album
> > overview is restricted by picasa devs. (may be because of privacy
> > issues).
>
> Great!!! (and strange restriction)
If you think, this is strange. Look at this: https://developers.google.com/terms/
linked from there: https://developers.google.com/picasa-web/terms

It basically means, that using there storage service, you (the picture
owner) grant them all rights and you got allmost none :)
You should read the whole stuff, but "especially look at section:
Prohibitions on Content".

Which tells the user (aka programmer / me) of there API, that a
program (aka plugin) is not allowed to fetch data from there service,
to store it into an other service (aka TS). It even tells the
programmer (me) to forbid such usage to the enduser (you).

Except (quote from, see full text at:[1 section: Prohibitions on
Content]) Unless expressly permitted by the content owner or by
applicable law (/quote). So this is cool for your own content, bacause
you are the rights owner. But _not cool_ for any other public content,
because you are _not the owner_.
=====

So fetching stuff from there and save it to TS, imo is not allowed,
except you have the authKey _and_ having the authKey means the owner
licensed it eg: Creative Commons: to Share — to copy, distribute and
transmit the work
to Remix — to adapt the work.

@any lawyers opinions??? :)

> > This would need to load picture stuff into TW. Not sure about this.
> > May be the thumbs, with links to the "big" picture. Like I did with
> > fancybox. ...
>
> Yes, yes. [img[url]] or something. Not the actual pic of course. (Just
> maybe those urls that Picasa provide to individual pics can be
> fetched?)
See above

> I am! LOL
> Although I'm a bit frustrated that I can only contribute so marginally.
I do like your thoughts and feedback. I'd wish some more TS / picass
users would jump in ...

have fun!
mairo

PMario

unread,
Apr 26, 2012, 2:01:20 PM4/26/12
to TiddlyWiki
New version [1]:
* I did remove the UNIQUE_ID parameter from the transclusion call.
* New transclusion ##AuthAlbum which displays restricted album
content.

Album ID:
The easiest way to get the authKey is, to display the restrected album
content. The authKey is part of the browsers URL now.
If the album is opened, klicking the RSS feed button will display the
http://...albumid/xxxxxxx? as an URL ...The ? is _not_ part of the
albumID anymore.

have fun!
mario

[1] http://picasagallery.tiddlyspace.com/

twgrp

unread,
Apr 26, 2012, 6:52:28 PM4/26/12
to TiddlyWiki
Of potential interest:

http://shahidhussain.com/tech/google-drive-vs-google-photos-vs-picasa-web/

<:-)

On Apr 26, 8:01 pm, PMario <pmari...@gmail.com> wrote:
> New version [1]:
> * I did remove the UNIQUE_ID parameter from the transclusion call.
> * New transclusion ##AuthAlbum which displays restricted album
> content.
>
> Album ID:
> The easiest way to get the authKey is, to display the restrected album
> content. The authKey is part of the browsers URL now.
> If the album is opened, klicking the RSS feed button will display thehttp://...albumid/xxxxxxx?as an URL ...The ? is _not_ part of the

twgrp

unread,
Apr 27, 2012, 5:34:30 AM4/27/12
to TiddlyWiki
@Mario, but probably of interest for all

Google Drive... actually... I'm beginning to think this might be a
viable way after all.

It turns out Drive has a Grid View (button next to the cogweel) to
show thumbnails! I don't think this existed in Docs.
Thus, from a show-via-TW point, you have all the desired features as
far as I can tell:
- you have a storage place for the pics
- it is the same storage space where you save other files (Picasa is a
separate one-purpose system)
- ...and it syncs across all your devices
- you can look at the pics conveniently in that Drive folder (the Grid
View)
- you can sort and rearrange smoothly (Picasa, or at least Picasaweb
that I use is very iffy eg. with tiny menus that you must enter to
move stuff)
- and you can share stuff publically or with secret link - both
folders and files

One point with Picasa is the surrounding system to show albums etc -
but this is exactly what we don't use when we want it via TW instead.

IMO, Google Drive is pretty much all anyone could wish for - or?

Also, I can imagine that it would be desirable for a TW user to be
able to generate a gallery in TW showing not only pics but also eg a
document or so. (Maybe not for vacation pictures, but definitely as
part of work projects etc). Then the "picture gallery concept" that
this whole thread has been concerned about is really generalized into
a "document management concept".

Thoughts?

<:-)


On Apr 27, 12:52 am, twgrp <matiasg...@gmail.com> wrote:
> Of potential interest:
>
> http://shahidhussain.com/tech/google-drive-vs-google-photos-vs-picasa...
>
> <:-)
>
> On Apr 26, 8:01 pm, PMario <pmari...@gmail.com> wrote:
>
>
>
>
>
>
>
> > New version [1]:
> > * I did remove the UNIQUE_ID parameter from the transclusion call.
> > * New transclusion ##AuthAlbum which displays restricted album
> > content.
>
> > Album ID:
> > The easiest way to get the authKey is, to display the restrected album
> > content. The authKey is part of the browsers URL now.
> > If the album is opened, klicking the RSS feed button will display thehttp://...albumid/xxxxxxx?asan URL ...The ? is _not_ part of the

PMario

unread,
May 1, 2012, 6:57:24 PM5/1/12
to TiddlyWiki
On Apr 27, 11:34 am, twgrp <matiasg...@gmail.com> wrote:
> @Mario, but probably of interest for all
>
> Google Drive... actually... I'm beginning to think this might be a
> viable way after all.
not at all
see: http://www.latimes.com/business/technology/la-fi-tn-cloud-privacy-rights-20120424,0,3469998.story?track=icymi
and several others.

> Thus, from a show-via-TW point, you have all the desired features as
> far as I can tell:
yes, but the API needed to access the stuff by program, also links to
the same dev TOS mentioned in my last post. So for me this is a "no
go" at the moment. Imo there is no problem, to just access the stuff.
But loading it to a 3rd party service (TS) is a problem.

There are other services that don't treat there customers that way.
But needs some more investigation.

> One point with Picasa is the surrounding system to show albums etc -
> but this is exactly what we don't use when we want it via TW instead.
Right. But remember my very fist post [1]. I did implement a TW
gallery function allready. The only thing I couldn't do with fancybox
plugin [2], was to connect to "picture storage services" like flikr or
picasa. Now knowing there API TOS, I don't want to connect with them.
But this is my personal point of view.

Having a closer look to the concept used for fanxybox, it seems to be
right. I did use AttachFilePlugin and attachment tiddlers, to store
the needed meta info [3]. May be a bit more / better documentation
would make the stuff easier to use. but I'll stick to the concept and
have a closer look to other cloud services.

> IMO, Google Drive is pretty much all anyone could wish for - or?
I did have a short look at the site HTML structure and it seems the
"thumbnail view" is a browser resized full version of the picture. At
least for my test pics (~30kByte). May be if the pics are bigger, they
are replaced by real thumbs. This overview can't be compared to a
picture gallery view, it's just a list of files.

Technically I'd prefer the picasa API over the drive "File API". It's
much less work client side and it's totally different purpose too.

> Also, I can imagine that it would be desirable for a TW user to be
> able to generate a gallery in TW showing not only pics but also eg a
> document or so. (Maybe not for vacation pictures, but definitely as
> part of work projects etc). Then the "picture gallery concept" that
> this whole thread has been concerned about is really generalized into
> a "document management concept".
>
> Thoughts?
Yea, that's the little problem with threads like this. Starting from
the desire, to display a little gallery overview. To be a "document
management system" at the end :)

That's the reason, why my first reaction was: *thinking: don't touch
it.*[1]

have fun!
mario
PS: Atm I don't intend to add more stuff to the picasa gallery spaces.
I think the basic online functions work.
PPS: The "Authenticated Album" will get a bit more documentation.

[1] https://groups.google.com/group/tiddlywiki/msg/0b8ca3d3e66cf70f
[2] http://fancybox.tiddlyspace.com/
[3] http://fancybox.tiddlyspace.com/#01.jpg
[4] http://picasagallery.tiddlyspace.com/

PMario

unread,
Oct 21, 2013, 1:58:13 PM10/21/13
to tiddl...@googlegroups.com, ma...@matthewjamestaylor.com, Måns
On Wednesday, May 2, 2012 12:57:24 AM UTC+2, PMario wrote:
There are other services that don't treat there customers that way.
But needs some more investigation.

@Mat
I did some more investigation.

https://groups.google.com/d/msg/tiddlywiki/V75v3bpq2SY/0AKzk61Xc5sJ

have fun!
mario
Reply all
Reply to author
Forward
0 new messages