at first you could put external calls it initialize the javascript libs 
(jquery and galleria) in a tiddler and tag it with  $:/core/wiki/rawmarkup

galleria can be also be called like this


<div class="galleria"></div><script>var data = [
    { image: "/path/to/myimage1.jpg" },
    { image: "/path/to/myimage2.jpg" },];
Galleria.run('.galleria', {
    dataSource: data,});</script>

which means you could have your galleria widget work with filters to collect 
image tiddlers
(easy if you have image tiddlers that use the *_canonical_uri*) 
BJ


On Monday, December 15, 2014 12:47:51 AM UTC-6, RichShumaker wrote:
>
> So I downloaded the referenced jQuery Script directly, it is larger than 
> the galleria.js at 277kb.
> And here is the Information about the file
>
> /*!
>  * jQuery JavaScript Library v1.11.1
>  * http://jquery.com/
>  *
>  * Includes Sizzle.js
>  * http://sizzlejs.com/
>  *
>  * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
>  * Released under the MIT license
>  * http://jquery.org/license
>  *
>  * Date: 2014-05-01T17:42Z
>  */
>
>
> Also I read information about taking jQuery and making it work with TW 
> Classic not TW5.
> Most of the referenced links I found don't exist anymore.
> .
> Seems to be included in TW Classic or at least on the GitHub, 
> https://github.com/TiddlyWiki/tiddlywiki/tree/master/jquery
>
> So I am off to learn more about JavaScript and jQuery and Galleria
>
> Thanks again everyone.
>
> Rich Shumaker
>
> On Sunday, December 14, 2014 8:49:22 PM UTC-8, RichShumaker wrote:
>>
>> Thanks Tobias I will research to find out more about what you said and it 
>> makes sense for the next steps.
>> I want all the includes to be inside TW5 so not to have to rely on a net 
>> connection if I don't want to have it connected to the net.
>> Time to start digging into code.
>>
>> BJ I am trying to come up with solutions to common photo issues I 
>> experience with TW5.
>> Also I am trying to do them inside TW5 so I am avoiding the HTML iFrame 
>> option, thank you very much for that idea, I will write it down and at 
>> least try it.
>> TW5 does not have a gallery type options, although Tobias's linkimg works 
>> pretty well for creating one.
>>
>> Right now I am exploring all types of 'options' and 'solutions' for TW5 
>> and Images.
>> Here is the site I started to track my progress and log my journey, 
>> http://www.richshumaker.com/tw5/tw-photo.html
>> I update my site from my home testing every few days.
>>
>> I know what I want in my head but it is just not there yet, so I am going 
>> to make it(hopefully) and if others use it that would be cool.
>>
>> Thanks again for your help.
>>
>> Rich Shumaker
>>
>> On Sunday, December 14, 2014 5:42:09 PM UTC-8, BJ wrote:
>>>
>>> Hi Rich,
>>> how are you going to use this with tiddlywiki? if you just want it show 
>>> the slide show in a tiddler you could have it as a separate html file and 
>>> include that separate html file into a tiddler using an iframe.
>>>
>>> cheers
>>>
>>> BJ
>>>
>>> On Sunday, December 14, 2014 2:26:29 PM UTC-6, RichShumaker wrote:
>>>>
>>>> Hello everyone here on TW Dev,
>>>> First I don't know if I post here or GitHub so I am starting here.
>>>> Let me know if I need to bounce it over to GitHub.
>>>>
>>>> I am trying to understand how to get Galleria into TW.
>>>> http://galleria.io/
>>>> I have downloaded the JavaScript and dragged and dropped it into TW.
>>>> galleria-1.4.2.min.js
>>>> galleria-1.4.2.js 
>>>> I then changed the Type to "application/javascript".
>>>> Is this the right way to get the code into TW?
>>>>
>>>> Next I need to use that code if the above is correct.
>>>> I am trying to work with the demo code
>>>> http://galleria.io/docs/getting_started/beginners_guide/#complete-code
>>>>
>>>> <!doctype html>
>>>> <html>
>>>>     <head>
>>>>         <script src="
>>>> http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js";></script>
>>>>         <script src="galleria/galleria-1.4.min.js"></script>
>>>>     </head>
>>>>     <body>
>>>>         <div class="galleria">
>>>>             <img src="photo1.jpg">
>>>>             <img src="photo2.jpg">
>>>>             <img src="photo3.jpg">
>>>>         </div>
>>>>         <script>
>>>>             Galleria.loadTheme(
>>>> 'galleria/themes/classic/galleria.classic.min.js');
>>>>             Galleria.run('.galleria');
>>>>         </script>
>>>>     </body>
>>>> </html>
>>>>
>>>> I am not sure how to change the external references and code above to 
>>>> be 'inside TW'
>>>> Any help would be greatly appreciated.
>>>>
>>>> Rich Shumaker
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to