Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#211 2008-04-23 12:56:11
Re: hak_article_image
Is there an example somewhere, that shows the thumbnails and where each opens the enlarged image in a lightbox? I’d like to see how the plugin is used to set this up and the resulting XHTML output.
Thanks in advance to those who can share this :)
Cheers,
Husain
Offline
#212 2008-04-27 14:52:34
Re: hak_article_image
I can’t get <txp:hak_article_image_link />, wrapped around some other content, to correctly link to the original article image. All the links just point to http://domain.com/images. I only have one article image specified. Any ideas?
Last edited by aswihart (2008-04-27 14:55:17)
Offline
#213 2008-04-27 21:39:43
Re: hak_article_image
can you post the code?
Shoving is the answer – pusher robot
Offline
#214 2008-04-27 22:14:50
Re: hak_article_image
<txp:hak_article_image_link>link</txp:hak_article_image_link> placed on an article page with one associated article image.
Last edited by aswihart (2008-04-27 22:15:01)
Offline
#215 2008-04-27 22:21:03
Re: hak_article_image
<txp:hak_article_image_link> needs to be inside a form that you call from a <txp:hak_article_image> tag. Put your code in a form an call it using <txp:hak_article_image form=“myform” /> see if that works.
Shoving is the answer – pusher robot
Offline
#216 2008-04-27 23:14:14
Re: hak_article_image
Ok, actually I’m not using the hak_article_image tag. I’m using lam_dynamic_image, and all I want to do is create a link from a (smaller) dynamically generated article image to the original (larger) article image. lam_article_image doesn’t have any link functionality. I tried using asy_wondertag like this, to no avail:
<txp:asy_wondertag><a href="<txp:article_image/>"></txp:asy_wondertag><txp:lam_article_image width="630" /></a>
Not sure why I can’t get such a seemingly simple thing to work. If you have a solution, please share!
Last edited by aswihart (2008-04-27 23:14:50)
Offline
#217 2008-04-28 01:03:41
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
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
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
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
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
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
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
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