Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#229 2006-01-05 10:17:22
- alexwest
- Member
- From: Järna, Sweden
- Registered: 2004-08-04
- Posts: 53
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Great. The paging links are working properly now.
Many thanks,
Alex
(Just a minor issue though – don’t mind my perfectionism -, the help page in TXP isn’t complete).
be safe and happy
Offline
#230 2006-01-05 10:22:44
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Samuel John,
Have you tired the tag that Sencer suggested?
I have found that placing <code><txp:article limit=“x” pgonly=“1” /></code> (match the limit number to that in your main article tag, if used) just before the older/newer tags fixed the pagination problem, even with rss_thumbpops in place…
Cheers
Offline
#231 2006-01-05 11:09:44
- SamuelJohn
- New Member
- Registered: 2005-06-01
- Posts: 8
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
NeilA,
when I use <code><txp:article limit=“x” pgonly=“1” /> </code> just before the txp:newer/older, then the paging is working with an rss_thumbpop gallary in place, BUT the rss_thumbpop then just displays:
<pre>No Images Found</pre>
EDIT: Well, the “No Images Found” seems to be another problem and has nothing to do with the pgonly option! The trick Sencer told, seems to work. I will have to investigate why the rss_thumbpop displays “No Images Found” on my system. Strangely, when I uncomment the paging within the rss_thumbpop code then both is working: The images are displayed correctly and the paging in my section does it.
Last edited by SamuelJohn (2006-01-05 11:23:43)
Offline
#232 2006-01-05 17:40:58
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
I would guess that the plugin is in fact stomping on some global variables that Textpattern is setting. I’ll have to look into it more.
Offline
#233 2006-01-05 20:16:46
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
> SamuelJohn wrote:
> EDIT: Well, the “No Images Found” seems to be another problem and has nothing to do with the pgonly option! The trick Sencer told,
> seems to work. I will have to investigate why the rss_thumbpop displays “No Images Found” on my system. Strangely, when I
> uncomment the paging within the rss_thumbpop code then both is working: The images are displayed correctly and the paging in my > section does it.
So are you saying that everything is working now Samuel John?
Rob, it all seems good here with thumbpops and pagination working using the ‘pgonly’ tag (even though I have no idea what that is really doing!).
Cheers
Offline
#234 2006-01-07 19:41:14
- duncan_feldane
- Member
- Registered: 2005-10-07
- Posts: 14
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
I’d like to add my thanks for a great plugin.
I’ve read most of this whole thread, but couldn’t answer my question: I’m running rss_thumbpop in non-popup mode, and want the caption NOT to show under every thumbnail; but when a thumbnail is clicked, the caption of the larger should be visible.
This is a sample call: <txp:rss_thumbpop mode=“float” orderby=“name” jpop=“1” fullontop=“1” blankimg=”/images/19.jpg” showblank=“1” clickonly=“1” pagepop=“0” backlabel=”< previous” nextlabel=“next >” showcaption=“0” />
As an alternate solution, I tried setting pagepop=“1” and the caption shows in the popup, but only if you re-size the popup window (which is way beyond the technical skills of this particular site’s audience).
Offline
#235 2006-01-08 04:20:26
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
duncan – First, the code example you posted needs to be inside html code tags. The only way to display a caption under the large image is using pagepop mode. If you’re using pagepop mode you can increase the padding around the full size image in the popup window by using the “padheight” and “padwidth” properties of the plugin.
Last edited by wilshire (2006-01-08 04:20:42)
Offline
#236 2006-01-08 19:56:46
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
> wilshire wrote:
> duncan – First, the code example you posted needs to be inside html code tags. The only way to display a caption under the large image is using pagepop mode.
Is this true? How about the solution offered here (haven’t tried it yet).
Last edited by mrdale (2006-01-08 19:57:14)
Offline
#237 2006-01-09 00:46:26
- duncan_feldane
- Member
- Registered: 2005-10-07
- Posts: 14
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Here’s the call that I would like to work:
<code><txp:rss_thumbpop category=“cuba” mode=“float” orderby=“name” jpop=“1” fullontop=“1” blankimg=”/images/19.jpg” showblank=“1” clickonly=“1” pagepop=“0” backlabel=”< previous” nextlabel=“next >” cols=“100” showcaption=“0” /></code>
Alternatively, with pagepop=“1”, it successfully shows the caption, and I’ve resized the popup window manually:
<code>$padheight = isset($padheight) ? $padheight: “200”;</code>
Is there any way to cause the height of the window to automatically size to fit the image and caption?
Last edited by duncan_feldane (2006-01-09 01:17:29)
Offline
#238 2006-01-09 14:55:17
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
The solution you point to above mrdale would work. I was just referring to what the plugin does “out of the box”. Duncan, if you want to dollow those instructions it should do the trick.
There’s no way for the window in page pop mode to automatically fit the caption, you just have to make it big enough to accomodate your largest caption.
Offline
#239 2006-01-09 17:29:30
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
Thanks alexWest and wilshire.
FYI I hacked the plugin in the manner described here , but it doesn’t seem to work.
The thumbnail, when clicked on, loads the image in the same window, and I get the following javascript error.
<code>Error: document.getElementById(“desc”).childNodes0 has no properties
Line: 105</code>
What did I miss?
Don’t mean to be too presumptuous, is there any chance caption display with jpop could be enabled?
It would mean that a gallery with descriptions could be created without the need for articles, etc.
Just a thought
Last edited by mrdale (2006-01-09 17:30:23)
Offline
#240 2006-01-10 10:48:17
- alexwest
- Member
- From: Järna, Sweden
- Registered: 2004-08-04
- Posts: 53
Re: [plugin] [ORPHAN] rss_thumbpop - Thumbnail Image Gallery w/ popups
mrdale,
I am using rss_thumbpop with the hack i described… it is working fine, captions under the image with jpop enabled.
In your error message there is a superscript <code>sup</code> tag. This tag does not appear in the plugin. Did you do any other changes to the plugin? Can you find out where that tag appears in your code/page? That might direct you to the where the error is.
I am using the latest version of this plugin (0.6), by the way, with TXP 4.0.3
be safe and happy
Offline