Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-20 11:59:31

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

Autoviewer ... plugin!?

Is there a plugin that automates Autoviewer? Using a tag and giving it img id’s or img cat! I can’t find it …

Offline

#2 2008-08-20 12:32:36

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

Re: Autoviewer ... plugin!?

RedFox wrote:

Is there a plugin that automates Autoviewer? Using a tag and giving it img id’s or img cat! I can’t find it …

Seems quite an involved process. I’ve never seen a plugin dedicated to it.

At a push, smd_gallery might be able to do it. I think it could generate a gallery.xml file given some thought. In fact, using smd_gallery and the plugin that sets the mime type of a document (I’ve forgotten its name but it made a reappearance in a discussion on the forum about 4 or 5 months ago), you could set up a page/form that generated what the Flash file thought was a real xml file. Use smd_gallery inside that to fill in the XML template and a simple bit of HTML to call the flash script, telling it in which TXP section to find the ‘fake’ page/form gallery.xml file.

It’s probably no more involved than doing it manually and setting it up in the first place.


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

#3 2008-08-20 12:54:52

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Autoviewer ... plugin!?

I’ve not used that particular gallery but another xml-driven flash gallery before where you can specify the source file (you seem to be able to do that with xmlURL argument with your script). I did it just as Stef mentions: I simply set up a new section (not otherwise linked, what Stef calls ‘fake’ :-) and page template + form that output the xml that would normally be in the file, then set the flash gallery to use that url instead of gallery.xml. You can use the mg_setheader content-type plugin, but in my case it worked fine without. As you don’t call up the ‘fake’ section directly it doesn’t matter if it’s not displayed correctly.

The only thing that needed special attention was that the xml entries needed an incrementing number. At the time, I did it with a simple incrementing ++ variable in php but bloke’s smd_gallery will do that now with the {counter} attribute.

If you use swfobject to embed your flash in the page template you need it for, you can also generate no-flash content for proper accessibility.

Last edited by jakob (2008-08-20 12:56:27)


TXP Builders – finely-crafted code, design and txp

Offline

#4 2008-08-20 13:05:34

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

Re: Autoviewer ... plugin!?

Oops … I’ve work to do. My skills are very limited in this area, but maybe this is a start of a new career … :)

Offline

#5 2008-08-20 17:55:33

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

Re: Autoviewer ... plugin!?

red fox:

You can make Aeron Glenman’s slideshow do this.

no flash required. load it with the txp plugin or with some crazy pom’s insanely versatile gallery solution

Offline

#6 2008-08-20 18:57:48

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Autoviewer ... plugin!?

This thought ran through my mind for awhile since I was using SimpleViewer but I decided that a JavaScript solution was easier and better than flash.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#7 2008-08-20 18:58:44

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

Re: Autoviewer ... plugin!?

mrdale wrote:

You can make Aeron Glenman’s slideshow do this.
no flash required. load it with the txp plugin or with some crazy pom’s insanely versatile gallery solution

Dale, thanks … I will look into this. BTW … which txp plugin do you mean?

Last edited by RedFox (2008-08-20 18:59:21)

Offline

#8 2008-08-20 19:08:09

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Autoviewer ... plugin!?

Dale means smd_gallery, which may be found on the forum or at the TXP plugins site.

Offline

#9 2008-08-20 19:51:53

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

Re: Autoviewer ... plugin!?

OK, thanks … there we go!

Offline

#10 2008-08-20 20:22:17

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

Re: Autoviewer ... plugin!?

actually I meant aro_slideshow

Offline

#11 2008-08-21 12:28:05

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

Re: Autoviewer ... plugin!?

I’m working on aro_slideshow and smd_gallery … with no results so far. See this treadpage!

Last edited by RedFox (2008-08-21 12:28:48)

Offline

Board footer

Powered by FluxBB