Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#193 2008-08-21 20:48:39

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_gallery: super-flexible gallery generator

Eh … yes, that’s ok, but can you give me your @ please!

[edit]
Ah … I’ll drop you a line at C*2 … :)

Last edited by RedFox (2008-08-21 21:02:33)

Offline

#194 2008-08-21 21:16:24

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: smd_gallery: super-flexible gallery generator

need full rights, so I can see plugins etc

Offline

#195 2008-08-21 21:22:15

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_gallery: super-flexible gallery generator

OK … try it again!

Offline

#196 2008-08-21 21:37:43

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: smd_gallery: super-flexible gallery generator

OK can you turn whatever is outputting all the preamble off?

Offline

#197 2008-08-21 21:41:11

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_gallery: super-flexible gallery generator

Done!

Offline

#198 2008-08-22 00:18:43

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: smd_gallery: super-flexible gallery generator

OK your scripts were the problem I loaded the scripts from my server and everything works… feel free to download the scripts I’ve referenced, load them back up to your server and add your style.

Last edited by mrdale (2008-08-22 01:54:34)

Offline

#199 2008-08-22 05:10:04

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_gallery: super-flexible gallery generator

@mrdale > thanks a lot!

[edit]
mrdale did get <aro_slideshow /> working. The .js files of the Slideshow folder I downloaded weren’t correct … so be aware which files you install! Go to this page > electricprism.com/aeron/slideshow 1/ for the real thing!

There is still the task to get <smd_gallery /> working with Slideshow. To be continued …
[edit]

Last edited by RedFox (2008-08-24 07:41:44)

Offline

#200 2008-08-24 00:01:16

xzamen
Member
Registered: 2007-02-12
Posts: 18

Re: smd_gallery: super-flexible gallery generator

This is a great plugin. I switched from smd_slimbox looking for more functionality.
Now I need to have sort of menu from image categories (including nested categories) and when a category is clicked the thumbnails from that category are displayed. There will be hundreds of images in each category so the pagination will be necessary as well.
Can someone suggest a good way how to do that? Any help is appreciated. Please point me to the right direction if this kind of question was already asked before. Thanks

Offline

#201 2008-08-24 08:26:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: smd_gallery: super-flexible gallery generator

xzamen wrote:

Now I need to have sort of menu from image categories (including nested categories) and when a category is clicked the thumbnails from that category are displayed.

If I understand your intention correctly, daikw has been working on something like this. You might try direct contact or searching for related posts in this and other threads; some of the groundwork may well have been laid out for you.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#202 2008-08-25 11:47:56

xzamen
Member
Registered: 2007-02-12
Posts: 18

Re: smd_gallery: super-flexible gallery generator

Thank you Bloke, that looks similar to what I’m trying to achieve. I need to find a way to dynamically substitute category according to context. Is it possible?
For example I have a list of linked image categories and when the link is clicked the plugin should output images from that category. I came up with something like this:
<txp:category_list type="image" /><txp:smd_gallery category="<txp:category />" />
But the result is weired. It shows all images from all cats and what’s crazy it repeats every image for 9 times… Isn’t it possible to use something like category="<txp:category />"? It seems that plugin simply ignores that…

Last edited by xzamen (2008-08-25 12:48:10)

Offline

#203 2008-08-25 12:39:40

xzamen
Member
Registered: 2007-02-12
Posts: 18

Re: smd_gallery: super-flexible gallery generator

Here’s an example from my test site. The 9 images issue is not present here, I guess I did something wrong on the original site, but per-category output doesn’t work, it just throws all images… This is the code I used:
<h3>Photo</h3><h4><txp:category /></h4><txp:category_list type="image" /><ul id="thumbs"><txp:smd_gallery form="photos" category="<txp:category />" /></ul>
And the form:
<li><a href="{url}"><img alt="" src="{thumburl}"/></a>{name}</li>

I would be thankful if someone can help me with this.

Offline

#204 2008-08-25 12:52:53

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: smd_gallery: super-flexible gallery generator

xzamen, you’re attempting to nest txp tags. This isn’t possible with txp versions lte 4.0.6. (It will be in 4.0.7.) I don’t know if your tags will work, but at the moment I’d recommend trying asy_wondertag for nesting tags.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB