Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#217 2008-04-28 01:03:41

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_article_image

The built in article_image tag doesn’t spit out a URL for you to use like that it generates a full image tag. My plugin does the same thing. I think upm_image can just spit out the URL for the image.


Shoving is the answer – pusher robot

Offline

#218 2008-05-27 13:42:00

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: hak_article_image

Hi,

Is it possible to link thumbnails to various other sections of a site?

Cheers,
Husain

Offline

#219 2008-05-27 14:06:54

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_article_image

I’m not exactly understanding what you want to do. Can you provide an example?


Shoving is the answer – pusher robot

Offline

#220 2008-05-27 14:10:40

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: hak_article_image

Sorry, have to rephrase it: I actually want to display thumbnails of many articles in a landing page, and link each thumbnail to its respective article.

Offline

#221 2008-05-27 14:23:27

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_article_image

That should be pretty easy you don’t even need the plugin to do it. Just use a <txp:article /> or <txp:article_custom /> tag with a form that uses <txp:permlink><txp:article_image thumbnail="1" /></txp:permlink>

You can use my plugin instead of the built in tag but you don’t need to.


Shoving is the answer – pusher robot

Offline

#222 2008-05-28 06:51:54

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: hak_article_image

Thanks Patrick! Something simple.

Offline

#223 2008-06-17 08:06:34

Innate
New Member
Registered: 2008-06-05
Posts: 1

Re: hak_article_image

Is there any way to output the txp:title information within the brackets in the rel attribute of the thumbnail link? I need to do this in order to allow Lightbox to distinguish between different galleries (for slideshow purposes) on the same page, when several articles are on display.

Like this:

<txp:hak_article_thumb link=“1” linktype=“image” rel=“lightbox[ GalleryName ]” linktitle=“txp:caption”/>, where GalleryName must be dynamic. I imagine passing the article title is the easiest way to go.

Simply inserting <txp:title />, tagged or untagged, doesn’t work.

Thanks in advance.

Offline

#224 2008-06-17 12:39:57

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: hak_article_image

I think the only way to do that right now would be to use asy_wondertag


Shoving is the answer – pusher robot

Offline

#225 2008-07-08 11:13:50

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: hak_article_image

I have a weird problem. The below works on my localhost installation but not when I moved to Dreamhost…

Page:
<ul class=“thumbnails”>
<txp:article limit=“999” form=“model_thumbnails” sort=“title asc” />
</ul>

Form model_thumbnails:
<li><a href=”<txp:permlink />”><txp:hak_article_thumb limit=“1” link=“0” /></a><br /><txp:title /></li>

This is the URL: lempire.husainhk.com/modeling/males-premium

Any idea, what could be the issue?

Thanks. Husain.

Offline

#226 2008-07-08 11:24:20

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: hak_article_image

husain, could you provide your tag trace from that particular section :)

Last edited by Gocom (2008-07-08 11:26:01)

Offline

#227 2008-07-08 11:40:49

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: hak_article_image

Thanks for replying Gocom.

I figured out the issue … i just added time=“any” and voila!!!

I forgot to see the time stamp on the articles, it was using the server’s hence the images never showed up!

Cheers,
Husain

Offline

#228 2008-09-04 09:09:29

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: hak_article_image

Hi,

I am using the plugin and have implemented LightBox successfully, but I can’t seem to get the image captions showing, despite adding it to the title attribute. Any idea, why?

Offline

Board footer

Powered by FluxBB