Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#211 2005-12-07 05:12:13
- boblet
- Member
- Registered: 2005-08-08
- Posts: 53
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
> minusf wrote:
here is a patch for rss_thumbpop 0.5.3 to play nice and not break w3c in some cases
Hey Minusf,
you might want to either gzip the file (so it downloads as a text file) or wrap it in the usual HTML baggage with pre and code – whitespace gets killed viewing it in the browser at the moment.
thanks for the patch!
peace – boblet
Last edited by boblet (2005-12-07 05:18:52)
Offline
#212 2005-12-07 09:06:59
- minusf
- Member

- Registered: 2005-02-15
- Posts: 104
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
> boblet wrote:
you might want to either gzip the file (so it downloads as a text file) or wrap it in the usual HTML baggage with
preandcode– whitespace gets killed viewing it in the browser at the moment.
gzip the file to download is a text? hm, i thought it becomes a different mimetype then…
what browser do you use?
the patch is sent as content-type text/plain, i thought every browser can cope with that.
i have done it this way so one can download it (also with e.g. wget) and it’s ready to be used with patch(1).
we is experts™
Offline
#213 2005-12-07 09:56:21
- boblet
- Member
- Registered: 2005-08-08
- Posts: 53
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
gzip the file to download is a text
that’s what worked for me when posting a non-encoded plugin recently – meant the file d/l.ed, uncompressed, and popped up as text doc (rather than exploding on the page :-)
the patch is sent as content-type
text/plain
it showed up, just without any linebreaks (for whatever reason). I could see the text as intended using “show source”. I was using Safari I think – yeah, it displays as intended on Moz. Hah – Safari is stripping tabs/newlines and interpreting the HTML (!). I saved it as a .txt locally with the same result. bug #4353871 apparently
Just that and advanced DOM/Jscript interaction support to go eh? ;-)
Offline
#214 2005-12-07 10:30:29
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Perhaps I’m being slow – but is there a feature in this plugin for “next image” and “last image” links to be added in the popup window?
It seems like it would be fairly simple to code, but being a total novice at these things, I don’t want to throw myself into it without assurance that there’s no other way.
Offline
#215 2005-12-07 18:12:23
- andersms
- New Member
- Registered: 2005-09-20
- Posts: 7
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Using 0.5.3, with the following tag:
<txp:rss_thumbpop mode="float" label="Photos" orderby="caption" pagepop="1" padheight="100" clickonly="1" articlethumbs="8" />
Getting the following error messages on my article list page:
tag_error <txp:rss_thumbpop mode="float" label="Photos" orderby="caption" pagepop="1" padheight="100" clickonly="1" articlethumbs="8" /> -> Notice: Undefined variable: artcat
tag_error <txp:rss_thumbpop mode="float" label="Photos" orderby="caption" pagepop="1" padheight="100" clickonly="1" articlethumbs="8" /> -> Notice: Undefined variable: divimg
tag_error <txp:rss_thumbpop mode="float" label="Photos" orderby="caption" pagepop="1" padheight="100" clickonly="1" articlethumbs="8" /> -> Notice: Undefined variable: i
What have I done wrong?
Last edited by andersms (2005-12-07 18:14:45)
Offline
#216 2005-12-07 20:33:45
- minusf
- Member

- Registered: 2005-02-15
- Posts: 104
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
nothing. your php error logging is quite verbose.
these variables are not initialized before used,
harmless but irritating (and we have already asked the
author to take care of them ;-)
what you can do is put
<pre><code>display_errors = Off</code></pre>
into your php.ini
don’t forget to read up on this issue.
we is experts™
Offline
#217 2005-12-07 20:45:38
- andersms
- New Member
- Registered: 2005-09-20
- Posts: 7
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
A glance at phpinfo(); shows that display_errors are already set to off.
Ahh, when I went from “debugging” to “testing” they went bye bye. Thanks for the direction!
Offline
#218 2005-12-08 00:22:40
- alexm
- New Member
- Registered: 2005-11-27
- Posts: 7
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
I managed to get my .htaccess file running as it should so my pages are now /section/id/title however my problem with the next and back links when limiting the amount of images displayed on a page is still there.
The gallery I need to work is <a href=“http://canberratrials.com/photography/7/miscellaneous”>here</a>
The link to view the next page of images should be <a href=“http://canberratrials.com/photography/7/miscellaneous?pg=2”>http://canberratrials.com/photography/7/miscellaneous?pg=2</a>
but it is <a href=“http://canberratrials.com/photography/?pg=2”>http://canberratrials.com/photography/?pg=2</a> which is incorrect.
Can someone help me with this? I haven’t seen any galleries using rss_thumbpop using the limit function with next and back buttons. Does this mean that it doesn’t work properly?
Thanks!
Alex
Last edited by alexm (2005-12-08 00:23:57)
Offline
#219 2005-12-13 03:00:42
- the002
- New Member
- Registered: 2005-12-12
- Posts: 2
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
hi all… i’m having some troubles (had a lot more at first but “search” helped fix those)
Here are the plugins i’m using:
aba_image_import
glx_admin_image
rss_thumbpop
Here is the section in question, for reference: http://www.mjmachon.com/the002/002/index.php?s=image
Let’s stick to the thumbpop issues first and then I’ll go from there.
1. My single image gallery using jpop is working fine (functionality), which indicates that the image categories are working. I have set up two different gallery lists and the jpop method works fine. The problem: There is no thumbnail image in the list view on the left of the title, date, etc.
2. Although the jpop gallery works alright, there is text appearing that I no longer want to have appear. Before it used to say “Mouse over blah blah blah” but I edited the code so that it shows a “.” However, it still shows “null” after I have begun clicking away on images. Any way to get rid of that, or do I have to style the text to appear the same color as the BG? :o)
3. Back to the list view… the tag to allow the image thumbnail count seems to do nothing. It stays blank. (glx_admin_image issue?)
4. Possibly non rss_thumbpop related, but I thought I might ask here anyway: When uploading images with aba_image_import using the ftp to “import” method, it allows me to resize my images, and it manages to create a squared and cropped thumbnail of my images. In the Content > Images menu, it will show everything correctly, yet on the live site it wil show the thumbnails sqared and cropped, yet the images not resized. After I refreshed a few times and logged in and out of the control panel, the thumbnails went back to shrunken down proportional images (not to my liking), although the main images DID in fact shrink to the size I wanted them to.
To summarize it all:
1. List view thumbnail image is missing
2. I want the “null” next to go away using jpop mode.
3. Thumbnail count is not appearing
4. (too complicated to summarize) :-D
All-in-all, I want these galleries to look close to http://www.durchgedreht24.de/galerie/
I’ve played around with my own styles so far and I’m getting close.. just need to solve some of those issues.
Thanks ahead of time for all the help! And thanks to all those who indirectly helped me with other existing forum info!
- Mario
Last edited by the002 (2005-12-13 03:04:46)
Offline
#220 2006-01-03 18:06:03
- alexwest
- Member
- From: Järna, Sweden
- Registered: 2004-08-04
- Posts: 53
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Hello,
I am trying a feature with this plugin, that I have seen referenced in this thread a couple of times, the last one being the post of alexm. Basically, it has to do with using articlethumbs and paging in the same gallery.
What I would want for my gallery (an online portfolio), for example, is:
<code><txp:rss_thumbpop jpop=“1” articlethumbs=“1” clickonly=“1” fullontop=“0” mode=“table” showcaption=“0” showalt=“0” limit=“2” showpagelinks=“1” / ></code>
which basically shows one image per page, with pagelinks to navigate back and forth, in the gallery of the current article. This is a commonly seen image gallery, only with back and next links to navigate it… no thumbs or lists of images in the gallery.
It doesn’t seem to work in the present version of rss_thumbpop, apparently because the pagelinks use the older and newer tags in textpattern.
Has anyone gotten around this or have any idea how to implement this feature? Maybe there is another plugin around that would make this easier?
Thank you all.
<br/>
> mrdale wrote:
<blockquote>Is it possible to get captions to appear in relation (say under) the large image when using jpop mode. This would be nice.</blockquote>
It is possible. You need to edit the plugin:
In lines 154 and 156,
change <code>$imgtag = ‘<a ‘.$events.’ href=”’.$full.’” title=”’.$alt.’”>’.$img.’</a>’;</code>
to <code>$imgtag = ‘<a ‘.$events.’ href=”’.$full.’” title=”’.$caption.’”>’.$img.’</a>’;</code>
and
change <code>$divimg = ‘<div id=“fullsize”><div id=“desc”>Mouse over a thumbnail to view</div><img id=“placeholder” src=”’.$blankimg.’” alt=”“ /></div>’ ;</code>
to <code>$divimg = ‘<div id=“fullsize”><img id=“placeholder” src=”’.$blankimg.’” alt=”“ /><div id=“desc”>’ .$caption. ‘</div></div>’ ;</code>
That should be enough…
be safe and happy
Offline
#221 2006-01-03 23:48:29
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
This plugin appears to be causing some problems with the latest TXP release (4.0.3)
The symptoms are not related to the articles that actually use the plugin, but show up in article lists that use the TXP pagination tags (txp:older) and (txp:newer). They either stop working (no output), or work for some pages but not others.
Turning off the plugin restores the functioning to these tags.
Can others confirm that they are finding this?
Edit: alexwest, I just read your post above more carefully and see that your pagination issues are probably related to mine…
If so, any possible solutions? I’m not a coder, so I have no idea where to start debugging this.
Thanks.
Last edited by NeilA (2006-01-04 00:51:55)
Offline
#222 2006-01-04 12:08:02
- alexwest
- Member
- From: Järna, Sweden
- Registered: 2004-08-04
- Posts: 53
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
NeilA, I am not sure about the problems you are experiencing. rss_thumbpop simply calls the functions for the <code>txp:older</code> and <code>txp:newer</code> tags within its code to execute its pagination feature. It shouldn’t cause any problems to these tags when they are used outside of the plugin (code).
<br/>
The problem I refer to has more to do with trying to use this pagination feature in a “gallery within an article” (using articlethumbs). Because the <code>txp:older</code> and <code>txp:newer</code> functions in textpattern are created to navigate back and forth in an article listing, they paginate through sections and not an individual article (not sure if I got this absolutely right). Thus, as alexm reports, if i have a gallery in an article, say:
example.com/work/article_web
and I have set rss_thumpop to display this gallery in different pages, i would expect that the next link (generated with <code>txp:older</code>) would lead me to:
example.com/work/article_web?pg=2
but what it actually does (because that is how <code>txp:older</code> works) is:
example.com/work/?pg=2
Anyone knows what can be done here?
Last edited by alexwest (2006-01-04 12:09:24)
be safe and happy
Offline
#223 2006-01-04 17:06:04
- SamuelJohn
- New Member
- Registered: 2005-06-01
- Posts: 8
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
> NeilA wrote:
> This plugin appears to be causing some problems with the latest TXP release (4.0.3)
> […]
> Can others confirm that they are finding this?
Confirmed, I got the same problem here …
Offline
#224 2006-01-04 18:36:35
- SamuelJohn
- New Member
- Registered: 2005-06-01
- Posts: 8
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Ok, after uncommenting the if statement and only leaving the else block, the txp:newer and txp:older tags seem to work again.
if ($limit && $showpagelinks) { …some code …. } else { … some other code …}
Since I don’t need pagination within rss_thumbpop, this is a workaround for me. Just executing “some other code” will do it. Uncomment the curly brackets and the if-block.
Offline
#225 2006-01-04 21:10:12
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Samuel John,
See my post in the other thread related to this: http://forum.textpattern.com/viewtopic.php?pid=93104#p93104
I’m now not so sure this plugin is directly implicated.
Off to test some more and report back…
Offline