Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

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)


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

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

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

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…


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#226 2006-01-05 01:55:50

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

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

I’ve posted an updated version of the plugin fixing some of the bigger issues mentioned above:

  • Added new orderby type as suggested by realish here
  • Fixed HTML validation errors mentioned by minusf here
  • Fixed paging links problem mentioned a few times (alexm, alexwest)

As far as the paging errors mentioned above, if it was in fact this plugin that was the culprit the problem should be gone with this update.

Download rss_thumbpop 0.6

Also, a few people have requested forward/backward image navigation on the popup page. That is something that I’m working on for another project so another plugin could come out of that soon.

Offline

#227 2006-01-05 02:57:02

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

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

Many thanks for this Rob.

On further investigation, I don’t think your plugin was the culptrit in my broader pagination issues, but I’m still testing…

Cheers


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#228 2006-01-05 09:56:30

SamuelJohn
New Member
Registered: 2005-06-01
Posts: 8

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

Respect, Rob!

Unfortunately version 0.6 did not resolve the paging problems, for me :-( . I disabled all other plugins in order to see, if there is some other side effect, but I am sure the problem is due to the rss_thumbpop plugin.
At first it seems to work, but on page 3 (on my txp) the txp:older an txp:newer do not produce any output.

I changed the line
<pre><code> if ($limit && $showpagelinks) {</code></pre>
to
<pre><code> if ($limit && $showpagelinks && false) { </code></pre>
to disable the paging in the rss_thumbpop. Then the paging errors are gone. Rob, perhaps, in your paging code you overwrite some other global variable needed by the paging in 4.0.2/3 ?
For people who want paginate their gallery, my “brutal” work-around is not a solution, but for me this is ok.

Offline

Board footer

Powered by FluxBB