Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#136 2007-04-25 07:45:10
- FRIIIEEK
- Member

- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
oh my! you’re the best! Thank you very much!!!
Offline
#137 2007-05-02 11:24:57
- FRIIIEEK
- Member

- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
another question of mine… hehe, erm.. yes, here it is:
i’d like to use this <txp:hak_image_alt />, but it do not want to work, for me…
i got a form with:
<txp:hak_article_image limit="1" urloverride="1" link="0" linkclass="left" />
<txp:hak_image_alt />
<txp:hak_article_thumb linkclass="thumb" displaylink="1" />
I thought <txp:hak_image_alt /> would give me the ALT-Tag of the Picture displayed with <txp:hak_article_image />
What am I doing wrong?
Thanks 4 help again… again and again… ;)
.greetz
FRIIIEEK
Last edited by FRIIIEEK (2007-05-02 11:26:01)
Offline
#138 2007-05-02 13:55:04
Re: hak_article_image
You need to use it inside a form called by hak_article_image. I’m not completely following what you are trying to do so this might not give you exactly what you want, but you would do something like this in article form
<txp:hak_article_image limit='1' urloverride='1' form='article_image' />
and in the form called article_image
<txp:hak_article_image_link class="left">
<txp:hak_image />
</txp:hak_article_image_link>
<txp:hak_image_alt />
<txp:hak_article_image_link class="thumb">
<txp:hak_thumb />
</txp:hak_article_image_link>
Any tag listed under the Form Tags section of the docs can only be used inside a form that is called by <txp:hak_article_image /> Think of it as a <txp:article /> tag for article images.
Shoving is the answer – pusher robot
Offline
#139 2007-05-02 14:03:18
- FRIIIEEK
- Member

- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
O.o
oh! alright… i thought the <txp:hak_image_alt /> would show me automatically the ALT-Attribute of the current <txp:hak_article_image />
sorry, dumb question…
Offline
#140 2007-05-02 14:28:22
Re: hak_article_image
It depends on a variable that sets the current image which only exists inside the <txp:hak_article_image /> tag context. Otherwise you couldn’t do multiple images.
Shoving is the answer – pusher robot
Offline
#141 2007-05-02 14:42:52
Re: hak_article_image
Hello hakjoon!
Just checking in about the possibility of adding Next and Previous links for images when using the page/anchor settings for this plugin.
Thanks!
Offline
#142 2007-05-02 14:46:09
Re: hak_article_image
Hmm that’s an interesting idea. Let me look into it.
Shoving is the answer – pusher robot
Offline
#143 2007-06-11 05:35:17
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: hak_article_image
Great plugin!
One quick question: Is it possible for the plugin to return just the url to each image? Example:
/path/to/image/from/root/image1.jpg
Perhaps via a form?
Thanks!
Cheers,
M
Offline
#144 2007-06-11 14:08:36
Re: hak_article_image
Not at the moment but it’s in the works. I want to keep making the forms more and more granular.
Shoving is the answer – pusher robot
Offline
#145 2007-07-18 12:21:30
- stuart_mcnee
- Member
- Registered: 2006-11-17
- Posts: 12
Re: hak_article_image
Hi
hak_article_thumb
New to Textpattern and trialing first use !
Am I missing something or is it possible to ‘style’ the attribute ‘popup’ / popup window in addition to increasing window width and height ? Current from below uses full browser chrome with image anchored top left
Using ‘class’ (as below) within tag styles the thumbnail within the article
<p><txp:hak_article_thumb limit=“1” offset=“1” link=“1” class=“imageThumb” linktype=“image” popup=“1” wraptag=“p” /><txp:hak_article_thumb limit=“1” offset=“2” link=“1” class=“imageThumb” linktype=“image” popup=“1” wraptag=“p” /><txp:hak_article_thumb limit=“1” offset=“3” link=“1” class=“imageThumb” linktype=“image” popup=“1” wraptag=“p” /></p>
Help would be gratefully appreciated
many thanks
Stuart McNee
Offline
#146 2007-07-18 14:43:05
Re: hak_article_image
What browser are you seeing this in? You should not be getting any toolbars only scrollbars if needed.
If you want more control over what the contents of the popup looks like you should can use *_linktype=_*_“section”_ to point it to a specific section which will display the image using either <txp:image_display /> or <txp:hak_article_image urloverride="1" />
Shoving is the answer – pusher robot
Offline
#147 2007-07-19 08:23:52
- stuart_mcnee
- Member
- Registered: 2006-11-17
- Posts: 12
Re: hak_article_image
Hi
Safari 3.0.2 Firefox 2.0.0.4 OSX 10.4.10
I incorrectly stated uses “full browser chrome” – it is as you state title bar with scrollbars – apologies more diligence required !
Will try linktype as suggested to style image etc
Many thanks
Offline
#148 2007-10-03 21:22:27
- enigma5568
- New Member
- Registered: 2007-09-30
- Posts: 2
Re: hak_article_image
Hey Great Plugin!!
It has been a huge help!
I do have a slight problem though. First a little background…
I am including the form “featured project” witht the following reference:
<txp:article_custom form="featured_project" id="6" limit="1" pgonly="0" section="portfolio" status="4" />
The “featured_project” form has the following:
<txp:hak_article_image class="featured_project" link="0" offset="1" />
Now here is my problem:
The class specified in the form is not applied to my img tag. If i use the default image tag it adds the class, but does not understand multiple images so it puts the src as “44,43”.
Is there a way to apply a class directly to the image without adding a break tag, I don’t want to add unnecessary tags simply for visual purposes.
Thanks in Advance!!
Michael
Offline
#149 2007-10-04 00:48:06
Re: hak_article_image
Using a form allows you to pass a class to the image. This should work:
<txp:hak_article_image form="article_image_form" offset="1" />
In article_image_form use
<txp:hak_image class="featured_project" />
Shoving is the answer – pusher robot
Offline
#150 2007-11-06 13:33:19
- FRIIIEEK
- Member

- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
Hi hakjoon!
I’m still using your hak_article_image-Plugin with great pleasure! ;) Thanks therefore… ;)
My question this time is (i hope) quite simple, so let me explain:
I have a little Image-Preloader and Switcher(with mouseover).
All i need is to get the id of the second image I added in the “Article-Image-Field” of the article.
Something like <txp:hak_article_image_id offset="1" />, additional maybe with limit=“2” or something?!
It would be great if you could help me one more time! ;)
Thanks
FRIIIEEK
Offline