Textpattern Forum

You are not logged in. Register | Login | Help

#21 2005-01-10 21:22:43

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

Like I said, not a big deal to add. Plus I had all my time for the day slated for upgrading to 1.0 Final :(

Offline

#22 2005-01-11 23:10:42

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

wilshire, fantastic plugin. I love it. I’m wondering, though, would it be possible to add a “sorting” option so that thumbnails could be ordered in the gallery according to original filename, date uploaded (ascending or descending), textpattern filename (when they’re renamed to #.jpg) or by some other way.

For example, in the thumbnail gallery it would be nice if more recent images appeared at the top of the gallery.

What do you thinK?

Offline

#23 2005-01-20 21:57:44

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

Wow. This plug-in is sweet. Nice work.

One question: Is it possible to have the image caption info display in the pop up and not on the thumbnail page? If there is a way to hack this it would be a total answer to something I am dealing with on a current project.

Thanks.


To even the least of these…

Offline

#24 2005-01-20 22:56:41

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

jbrew – The popups are not technically done by this plugin. I just call the dca_pop plugin. That plugin shows just the image, not an actual page. You would have to changes the plugin to show a page. If you want to do it quick and dirty, you could create a php script that shows the image and caption and then change the plugin to show that instead of just the image.

thturninggate – Sorry, never noticed your question. Sure it would be possible at some point. If you want to try to change the plugin yourself you could just add your own ORDER BY clause to the sql in the plugin.

Offline

#25 2005-01-20 23:06:19

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

wilshire – do you think it would be possible to hack the dca_pop to display an article? Something like – put the image and text in the article and then call the article?

Or is it easy to write that function you mentioned?

Unfortunately I am not too fluent in PHP so I am not sure where to pull that info from even if I could do it that way.

Any thoughts?

Last edited by jbrew (2005-01-20 23:11:27)


To even the least of these…

Offline

#26 2005-01-24 14:37:18

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

I’m in the same boat as jbrew in that I’m not so keen with PHP or SQL databases. I’m just a designer, and not really a programmer/coder, though I code my designs by hand. I’ll hope for such a feature to show up in a future version, though. Thanks, Wilshire.

Last edited by theturninggate (2005-01-24 14:38:31)

Offline

#27 2005-01-24 14:55:01

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

jbrew & theturninggate –

Both of your suggestions are things that would be a good additions to the plugin. Unfortunately I just don’t have enough time on my hands right now.

dca_pop could most likely be changed to popup a php page instead of just the image. But if I were to add that functionality to this plugin I’d probably remove the dependence on dca_pop rather than hacking it.

If I have time soon I’ll take a look at these additions.

Offline

#28 2005-01-31 16:39:54

larf
Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

Hello!

I’ve got a problem which I don’t think is directly related to rss_thumbpop, but maybe you can help. I did not find anything useful while searching the forums.

I successfully installed your plugin, and uploading, thumbnail generation works fine. I have a template which includes txp:article limit=“5” /, and I created a new article with txp:rss_thumbpop category=“Test” mode=“float” label=“Test” / in it.

The pictures show up, and I can click them to open in a popup.

The problem now is, your gallery uses div-tags, which are surrounded by p-tags. I think the p-tags are created by txp:article limit=“5” /, but I don’t know how to get rid of them. Anyway, the p-tags prevent my page from validating.

I’m new to textpattern, so maybe this is a very noobish question, but I did not find a solution anywhere else.

Last edited by larf (2005-01-31 16:40:52)

Offline

#29 2005-01-31 17:07:32

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

The p tags are probably coming from your article itself. When you write an article and do not specify otherwise it will wrap your line of text in the p tag. I think you escape this in textile using a double space.

You could also use the new feature that was recently added to automatically show article galleries. In this case you would add the call to the plugin to your article form and it would only display the thumbnails if you had a category called “article-”+articleID

Either of those methods should take care of the problem.

Offline

#30 2005-01-31 18:05:28

Matt
Member
Registered: 2004-02-28
Posts: 92
Website

Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups

“…it would only display the thumbnails if you had a category called “article-

Offline

Board footer

Powered by FluxBB