Textpattern Plugin | rss_thumbpop

All details about this plugin can now be found at its new permanent home.

rss_thumbpop plugin page

The rss_thumbpop plugin was conceived as I attempted to build a small image gallery. I wanted to create a thumbnail layout such as the one generated by the cgd_dynagallery plugin but also open a popup window with the full size image as with the dca_pop plugin.

After starting out with a bastardized combination of the two plugins, I decided to take the plunge and create my own so that I could add some additional bells and whistles.

Example

<txp:rss_thumbpop category="thumbpop" mode="float" label="My Pictures" orderby="caption" pagepop="1" padheight="100" limit="3" />
.rssThumbFloat {
  float: left;
  width: 150px;
  border: 1px solid #999;
  margin: 0 15px 15px 0;
  padding: 5px;
  text-align: center;
  font-size: .85em;
}
My Pictures
Black Rock CoveBlack Rock Cove
Black Sands BeachBlack Sands Beach
Mars on KauaiMars on Kauai


Sample prev/next links styling:


ul#rssThumbNav {
list-style-type: none;
margin: 0;
padding: .5em 0;
border-top: 1px solid #666;
}
ul#rssThumbNav li a {
display: block;
width: 5em;
color: #FFF;
background-color: #036;
padding: .2em 0;
text-align: center;
text-decoration: none;
}
ul#rssThumbNav li a:hover {
color: #FFF;
background-color: #69C;
}
ul#rssThumbNav .left { float: left; }
ul#rssThumbNav .right { float: right; }

Another Example

<txp:rss_thumbpop category="thumbpop" mode="table" orderby="date asc" showcaption="0" showalt="1" jpop="1" cols="3" showfullcaption="1" clickonly="1" />
Mouse over a thumbnail to view
Mars on Kauai
Somewhere over the...
Somewhere over the...
Black Sands Beach
Black Sands Beach
The Iao Needle
The Iao Needle
Black Rock Cove
Black Rock Cove
Mars on Kauai
Mars on Kauai

Comments

23. December 2004

dca_pop ist filed now under http://textpattern.org/plugins/39/dcapop

23. December 2004

Another hint: in the script the path “images/” is hardcoded. I changed it in the database, so it would be better to use “img_dir” from table “txp_prefs”.

3. January 2005

hi, its me again…
I loaded the thumbpop plugin and all I can see is the grey boxes with captions in them – no thumbnails. I have loaded a couple of other image gallery plugins, but it doesn’t help to de-activate them…Any pointers please?

Ashish

10. January 2005

Hi there, I’m trying to use the article thumbs and having a few problems:

– article is at http://www.streetdaddy.com/news/101/
– i have 3 images in the category ‘article-101’
– nothing displays…

nb. IGNORE the 3 images that you CAN see, they’re output using a different txp.

10. January 2005

nb. again The 3 images that you can see are output with txp:rss_thumbpop but using category=”article-101”

21. January 2005

Hi, your plugin was very easy to implement. Is it possible to open the pic. in the same window instead of a popup?

9. February 2005

showpagelinks doesn’t work !?

1. April 2005

Have you notice the validation errors? I am puzzled as to what is throwing these. This page throws:

Line 195, column 26: document type does not allow element “div” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag

And the site I have been playing with throws the same exact error over and over. div looks fine there as far as I can tell.

Jamie

13. April 2005

Hi, GREAT plugin, however:
Keep getting this error on my pages using the plugin:

..mysite../textpattern/lib/txplib_misc.php(304) : eval()’d code on line 129

If anyone know where to make a change, please help me. Thanx!

13. April 2005

I’m using rev 280 and it works for me with no problem. Can you post or email me and show me how you’re calling the plugin?

Rob

15. April 2005

I love this in conjuction with the Automatic Resize & Thumbnail’s hack. So nice!

2 questions:

1) I can’t kill the border on linked thumbnails for some browsers, thumb borders show in Firefox and they show the default border color in PC Explorer, while other browsers are perfect, well .. Safari and Omniweb of course. I tried border=”0” on many style tags but they still show in IE and Ffox.

and …

b) when I set the thumbs to mode=”float” there is aprox 200 pixel gap under the thumbnail which I have not been able to isolate and kill, so I can’t place thumbs above anything if I float. The mode=table works really well but I was hoping not to table.

again, nice stuff …

thx

el

23. April 2005

This would be the ultimate plugin except that…

I’m having some problems getting the articlethumbs to work in RC3? Anyone else having these issues – or that can offer some help!

Thanks! Great plugin!

Terry

2. May 2005

Hi,

I updated the rssthumbpop plugin to the latest version(0.5.1) on txp rev336 but gets the following error (pls visit http://www.jennyishere.net/article/184/textpattern-10rc2- for live example):

Error 8 Undefined variable: artcat in rss_thumbpop(), /home/jennycheuk/public_html/textpattern/lib/txplib_misc.php(352) : eval()'d code line 129

Error 8 Undefined variable: divimg in rss_thumbpop(), /home/jennycheuk/public_html/textpattern/lib/txplib_misc.php(352) : eval()'d code line 173

Error 8 Undefined variable: i in rss_thumbpop(), /home/jennycheuk/public_html/textpattern/lib/txplib_misc.php(352) : eval()'d code line 218

and the code I used inside is the following:

< txp:rss_thumbpop category="b-lang" mode="float" label="Screenshots" nopop="0" / > // spaces added after < & before > here//

Can you help to figure out what’s going wrong? Thanks so much!!

(In fact I’m having so many plugin errors on my site now so I’m not sure if it is a conflict between rssthumbpop with the others…..)

3. August 2005

Notice: Undefined variable: artcat in c:arquivos de programasapache groupapachehtdocscurrenttextpatternlibtxplib_misc.php(429) : eval()’d code on line 94

Notice: Undefined variable: divimg in c:arquivos de programasapache groupapachehtdocscurrenttextpatternlibtxplib_misc.php(429) : eval()’d code on line 202
Go to content Go to navigation Go to search
Enoteca

i don´t underestend

15. August 2005

My Textpattern version is : 1.0rc5 (r705)
and I downloaded today the latest version of rss_thumbpop. Now I get the following messages at top of the page :

Notice: Undefined variable: artcat in /home/..../public_html/meanmachine/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 95

Notice: Undefined variable: divimg in /home/..../public_html/meanmachine/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 139

Notice: Undefined variable: i in /home/....public_html/meanmachine/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 184

The gallery works though, but the error message appears only when using rss_thumbpop-tag… Any suggestions?

15. August 2005

Eh, found the “plugin errors” post on the front page. Problem solved (site was in debug-mode). ;)

19. August 2005

Hi,
I am running version 0.5.3 and TXP 4.0 and everything works perfect (excellent plugin) but I have a slight problem with it. Not sure if it’s in the PHP coding or not but:

when my thumnail gallery is loading for the first time the following text appears above the full size pic “Mouse over a thumbnail to view”. Fine, but after clicking one of the thumbnails this text changes to “null”.

Seems like there is a problem with the call to the MySQL db? (I’m running IE 6).

Hope you can help me out because I can’t find any information in the TXP forum.

31. January 2006

Would love to try this plugin, but I got “plugin install failed” error message, preview was OK though.

My Textpattern is version 4.0.3, MySQL, running on XP with IIS.

BTW, if the images are of different pixel sizes, would the popped window resize accordingly ?

Thanks.

fayze

16. March 2006

does anyone know how to change the background color in the window that pops up to display the full sized version of the image?

21. May 2008

I have used rss_thumbpop plugin in website. It’s great plugin people like me. Appreciate for this work to author.

I have run a problem. On prev/next links
When clicked on Next button then it takes to homepage instead of showing rest of images. URL on Next button is something like( www.site.com/index.php?tpg=2) but it redirects to homepage.

What is my mistake? Any suggestions for me. Thanks all

Sheru

Sheru

8. August 2008

Fantastic. More flexible and configurable than I had imagined at first (once you get the hang of it).

Thanks for an amazing plug-in.

Commenting is closed for this article.

Textpattern Solutions

Textpattern Solutions

Textpattern Solutions is the first book published on Textpattern.

details at friends of ED or the official book website.

buy it at amazon.com