Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#349 2006-09-07 16:04:57

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

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

Hi everyboy

I use the plugi, for my gallery here and it work fine, now I try to add to the home page code that display 1 random image, then I create an article and I put into it this code :

< txp:rss_thumbpop category=“assia,scorpion,gallery” limit=“1” cols=“1” showpagelinks=“0” orderby=“random” />

And I dispalyed the article using txp:article_custom

You can see the result here : douar.net

The pb is : when i refersh the page the image still the same, the “random” seems not working!! is there any idea?

Thanks

****THE Problem is solved!! i desactivated zem_cache!!****

Last edited by Dragondz (2006-09-07 16:21:43)

Offline

#350 2006-10-14 00:38:06

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

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

Just for the record, rss_thumbpop seems to work just fine with the latest 4.0.4rc1 release – what a relief!

Cheers Martin

Offline

#351 2006-11-07 22:10:39

vriesjm
Member
From: NL
Registered: 2006-03-09
Posts: 10

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

Hi, I have updated my browser to IE7 and found out that it messed up the galleries I created with rss_thumpop. Take a look here

This is the tag I am using:
<txp:rss_thumbpop jpop=“1” articlethumbs=“1” aid=“photos” clickonly=“0” blankimg=”/images/89.jpg” showblank=“1” limit=“5” orderby=“name” fullontop=“0” cols=“5” mode=“float” showcaption=“0” backlabel=”<< back” nextlabel=“next >>”/>

and this is the css I am using:
/**************** rssThumbNav styling ****************/

ul#rssThumbNav {
list-style-type: none;
margin: 0;
padding: .5em 0;
border-top: 1px solid #333;
}

ul#rssThumbNav li a {
display: block;
width: 5em;
color: #2050A0;
background-color: #ffffff;
padding: .2em 0;
text-align: center;
text-decoration: none;
}

ul#rssThumbNav li a:hover {
color: #2050A0;
background-color: #ffffff;
}

ul#rssThumbNav .left { float: left; }
ul#rssThumbNav .right { float: right; }

.rssThumbFloat { float: left; width: 5px; margin: 0 1px 1px 0; padding: 0px; text-align: center; font-size: .85em;
}

Any idea? Is it the plugin or the css that acts differently when viewed through IE7?

Thanks for the help, Martin

Offline

#352 2006-11-09 19:54:24

vriesjm
Member
From: NL
Registered: 2006-03-09
Posts: 10

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

Hi, solved it!

Seems like IE7 (like Firefox) is more strict in following standards and actually does what the style sheet says. ;-)

So, I changed the width.

.rssThumbFloat { float: left;
  • width: 50px; margin: 0 1px 1px 0; padding: 0px; text-align: center; font-size: .85em;
    }

Offline

#353 2006-11-10 14:30:45

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

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

hello, for those people who might be interested: I needed the functionality of rss_thumbpop but did not like the way it associates galleries to articles (write an article–find its id–create gallery called ‘article-id’). So I made a little hack that, ahem, should work differently. What it does is allows you to name image categories withe the Url-only name Textpattern generates for any article. It works for me.

The markup is identical to rss_thumbpop so it’s the name; that is: you can’t use both at the same time.

Get it here .

Last edited by feragnoli (2006-11-10 14:32:12)


what was that again…?

Offline

#354 2006-11-19 23:47:52

mwaldtha
Archived Plugin Author
From: Colordao
Registered: 2006-04-02
Posts: 19
Website

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

I installed rss_thumbpop and I thought it was great, but I also wanted to use the popular Lightbox JS script to display my full size images. To that end, I made a couple of changes to the rss_thumbpop plugin, and provided a quick write up about it on my site. I hope people find it useful.

Thanks for the great plugin that made it so easy. :-)

- Marc

Offline

#355 2006-11-20 14:16:56

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

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

feragnoli wrote:

hello, for those people who might be interested: I needed the functionality of rss_thumbpop but did not like the way it associates galleries to articles (write an article–find its id–create gallery called ‘article-id’). So I made a little hack that, ahem, should work differently. What it does is allows you to name image categories withe the Url-only name Textpattern generates for any article.

I’m not sure I understand in what way your solution is superior to what’s already available in rss_thumbpop. You definitely can create galleries simply by calling any image category, there’s no need to deal with article IDs at all.

Cheers Martin

Offline

#356 2006-12-18 14:46:15

fritz1903
Member
From: Berlin/Leipzig, Germany
Registered: 2005-10-24
Posts: 13

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

I want to display the newer and older links (paging) above the images and used the attribute showpagelinks="0", but when adding them manually it just outputs the normal article-URL without the necessary page etc.. . I use it directly in the article. My TXP is 4.0.4.

Anybody has an idea?

<a href="<txp:newer />">zurueck</a> <a href="<txp:older />">weiter</a>
<txp:rss_thumbpop category="people" mode="float" limit="9" orderby="alt" jpop="1" clickonly="1"  cols="10" showpagelinks="0" />

Last edited by fritz1903 (2006-12-18 15:16:15)

Offline

#357 2007-01-04 14:38:07

fritz1903
Member
From: Berlin/Leipzig, Germany
Registered: 2005-10-24
Posts: 13

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

There is a problem(a known bug) with image-swapping(Javascript) and Safari.

When swapping images with javascript Safari will stretch the new image to the size of the previous image, unless the previous and new images have different widths AND heights.

On quirksmode.org are some workarounds in the comments of the Safari-Bugreport that could avoid this problem.

Would it be possible to integrate it in a coming version of thumbpop or can somebody help me integrating it properly in the Javascript-part of the plugin?

Thanks in advance.

Offline

#358 2007-01-08 20:10:17

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

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

p_see wrote:

I have wrote:

Did somebody succeed in using paging with messy URL?

Seems I have solved it:
<code> $output[] = ($back) ? ‘<li class=“left”><a href=”?id=’.$thisarticle[‘thisid’].’&tpg=’.($thumbpage-1).’”>’.$backlabel.’</a></li>’.n : ‘’; $output[] = ($next) ? ‘<li class=“right”><a href=”?id=’.$thisarticle[‘thisid’].’&tpg=’.($thumbpage+1).’”>’.$nextlabel.’</a></li>’.n : ‘’;
</code>

instead of

<code> $output[] = ($back) ? ‘<li class=“left”><a href=”?&tpg=’.($thumbpage-1).’”>’.$backlabel.’</a></li>’.n : ‘’; $output[] = ($next) ? ‘<li class=“right”><a href=”?&tpg=’.($thumbpage+1).’”>’.$nextlabel.’</a></li>’.n : ‘’;</code>

____________________________________________________________________

Ok, but what if you are not using articles? I’m using it as a image gallery and can’t get paging to work with messy url. It seems to ignore current section and goes directly to the root.

Also I’m having problems with layout in IE6 with 4 cols it’s all messed up (sometimes 2 photos in a row, sometimes 3…etc.).

Can anyone help on these issues?

Thank you very much!

Offline

#359 2007-01-08 20:58:20

fritz1903
Member
From: Berlin/Leipzig, Germany
Registered: 2005-10-24
Posts: 13

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

fuls wrote:

Also I’m having problems with layout in IE6 with 4 cols it’s all messed up (sometimes 2 photos in a row, sometimes 3…etc.).

If you have configured your gallery with CSS floated elements, maybe you have a problem with The IE Doubled Float-Margin Bug. In a case where you float a box left and add a margin, the value of the margin (just in the left direction) gets doubled.

Offline

Board footer

Powered by FluxBB