--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/iLswKCGcSCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6ee9da00-9d84-40e5-b95d-975ce2bd8ea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mark,It wouldn't be hard to make something that does that and me and Jeremy (and others) have discussed adding something like that. The last I heard the problem was getting consistent syntax and then everyone got busy with other work, I am going to add some discussion ideas to the meetup later this month about extending filtering to include all logical operations, which would greatly simplify things like this. .
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e1ee5881-4296-4e0d-8c00-5e075319b023%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/iLswKCGcSCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3B0E1B1F-E5BB-44F5-B9BA-AEAFF1B1CFFC%40gmail.com.
So would you guys say that using list filters for backlinks is LESS inefficient than using list filters for tagging?
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFKZm0cS0UzhE4uwj%3D_AGMxPKAUu8MqzgZG3OLKkh8XEyg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7f2c2f12-9f64-4757-a1e9-1d2ab8054801%40googlegroups.com.
But a lot of the galleries would combine two tags (photos tagged both Spain and Modern). So a conditional viewtemplate would not work for those galleries. I would need to have image galleries based on list filters in at least some of the tiddlers themselves.
Hi Dave,
Making a photo gallery has been something in the back of my mind for awhile. Unfortunately, I seem to lack much of an aesthetic sense. I bet you would come up with something really cool.
/*IMGGAL*/
@media (min-width: 600px) {
.imggal {
-moz-column-count: 4;
-moz-column-gap: 10px;
-webkit-column-count: 4;
-webkit-column-gap: 10px;
column-count: 4;
column-gap: 10px;
}
.imggal-item {
width: 100%;
}
}
.imggal-item {
display: inline-block;
border: 0px solid <<colour muted-foreground>>;
padding: none;
margin-bottom: 0px;
background: #fff;
font-size: 0em;
line-height: 0;
}
.imggal-item h1 {
font-weight: 500;
font-size: 16px;
}
Can you explain what you mean by this:But a lot of the galleries would combine two tags (photos tagged both Spain and Modern). So a conditional viewtemplate would not work for those galleries. I would need to have image galleries based on list filters in at least some of the tiddlers themselves.
I don't understand why having two tags would preclude a conditional viewtemplate based on those two tags.
I'm also wondering if you're thinking of different viewtemplates for all sorts of combinations (e.g. "Modern" and "Spain", "Medieval" and "Spain","Medieval" and "England", etc.)
Thanks,
Mark
On Sunday, July 3, 2016 at 12:00:33 PM UTC-7, David Gifford wrote:Hi everyone,
Don't want you guys to sweat too much over this one...
My use case is simply a file where I collect photos from around the world, store them locally, image link to them from my TW, and either tag them or (use backlinks as tags) by country and by topic (e.g. modern architecture, nature, etc).
I want to display the photos in galleries by tag. Any given gallery might conceivably get to 50-100 photos? But a lot of the galleries would combine two tags (photos tagged both Spain and Modern). So a conditional viewtemplate would not work for those galleries. I would need to have image galleries based on list filters in at least some of the tiddlers themselves.
I remember trying something similar when TW5 was still younger (5.0.10), and found the file getting slower and slower, even though the photos were not in the file but embedded. To be fair, I admit that the image gallery code was in almost every tiddler on that file, so that made the file larger.
So I don't have data all ready to test out. I just don't want to waste my time creating a big database of photos only to find that this one slows down like the other one did. I thought maybe doing it as backlinks would be more efficient than by tags, but I am getting the sense from what you all are saying, that if anything it could be slower.
Maybe I should experiment with it again as tagging, and see if I can get it to stay lean and fast this time around. Any advice would be appreciated. Blessings,
Dave
On Sunday, July 3, 2016 at 11:20:11 AM UTC-5, Mark S. wrote:Hi Jed,
I was thinking about this particular use-case. If I knew which call to make a filter into an array, it would be fairly easy to write a javascript macro that would return the intersection of the two sets without the cross-multiplying of the nested <$list> approach.
I'm guessing that the benefit comes when n*m > 400 or so. Since Dave apparently has some data already, I was curious whether the nested <$list> approach was creating any difficulty, and with how much data.
Mark
On Sunday, July 3, 2016 at 12:32:05 AM UTC-7, Jed Carty wrote:Mark,It wouldn't be hard to make something that does that and me and Jeremy (and others) have discussed adding something like that. The last I heard the problem was getting consistent syntax and then everyone got busy with other work, I am going to add some discussion ideas to the meetup later this month about extending filtering to include all logical operations, which would greatly simplify things like this. .
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/iLswKCGcSCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0110b7f0-0f9c-48c2-8f95-4c3a48031cce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/iLswKCGcSCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fca61d30-62cb-48a4-9def-094b2cf46677%40googlegroups.com.
title: Images of Modern Spain
galleryfilter: [tag[Modern]tag[Spain]sort[]]
text: Many architectural features of modern Spain follow classic Spanish design, as you will notice in the following assemblage of images.
<$list filter="[all[current]has[galleryfilter]]" >
<div class="imggal"><$list filter={{!!galleryfilter}}><div class="imggal-item"><$link to={{!!title}}><$transclude/></$link></div></$list></div>
</$list>
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/iLswKCGcSCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/32732fa1-5807-49ae-aa30-4123392fbaa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
P.S. I guess the field/feature I would want in a photo gallery (and I'm thinking more of personal use) is the ability to annotate. Sort of an alternative to Adobe photo management or AC/DC.