Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#301 2011-06-27 13:27:32
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: hak_article_image
With a current version of TxP you don’t need this plugin. The tags txp:images and txp:image_info (type attribute) helps.
Offline
#302 2011-06-27 13:30:44
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: hak_article_image
Axel schrieb:
(…) the image title attribute for some reasons takes the content of the caption field.
This is the normal behavior.
Offline
#303 2011-06-27 18:09:51
Re: hak_article_image
I do need the plugin, because I have multiple images attached to the article.
Thats why I asked if there is a way without modifieing the plugin itself to take the image name for the title attribute.
Greetz [Axel]
Offline
#304 2011-06-27 18:42:06
Re: hak_article_image
[Axel] wrote:
I have multiple images attached to the article.
<txp:images>
supports image lists now (in the article image field or any custom field).
Last edited by Bloke (2011-06-27 18:45:58)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#305 2011-06-28 12:02:55
Re: hak_article_image
Thanx Bloke/GugUser,
Somehow I missed that added feature in 4.3!
But still I need to change the title to display the image name instead of its caption.
I know, this is the wrong thread now (feel free to move it) but as it also applies to hak’s plugin I thought it could stay.
Greetz [Axel]
Offline
#306 2011-06-28 12:10:45
Re: hak_article_image
[Axel] wrote:
I need to change the title to display the image name instead of its caption.
You could build the img tag by hand, e.g.:
<txp:images>
<img src='<txp:image_url />' title='<txp:image_info type="name" />' />
</txp:images>
Last edited by Bloke (2011-06-28 12:11:04)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#307 2011-06-28 13:13:16
Re: hak_article_image
Thanks again bloke!
that works for me, just without the surrounding images tag, because I use a form to format the images output.
Last edited by [Axel] (2011-06-28 13:15:32)
Greetz [Axel]
Offline
#308 2011-08-15 17:34:30
- WebmistressM
- Member
- Registered: 2011-08-12
- Posts: 61
Re: hak_article_image
First off, apologies if a 1.5 month difference between the post before mine and this one is considered “resurrecting a dead thread. I just noticed that the image gallery plugins are not really necessary. However, Im still curious how one would just use the image tags (sans plugin) if they wanted to do say, a carousel like this:
http://www.olsonkundigarchitects.com/Projects/101/Chicken-Point-Cabin
(note the image carousel above the body text, with the big image to the left changing as you click each thumbnail)
It seems TextPattern overall is trying to alleviate bloat in comparison to even CMS tools like Wordpress. So, is it kind of missing the point if I needed a jquery library to achieve the above without using the Text Pattern plugins?
Offline
#309 2011-08-15 17:44:35
Re: hak_article_image
I just noticed that the image gallery plugins are not really necessary.
Yes, they are if you want them to create a gallery for you. The new TXP tags make it easier to integrate TXP with Javascript and other galleries without using TXP plugins, but you still must use Javascript and TXP tags together to achieve an effect similar to Olson Kundig. It’s just Javascript + Native TXP rather than Javascript + TXP Plugin.
So, is it kind of missing the point if I needed a jquery library to achieve the above without using the Text Pattern plugins?
The previously-mentioned TXP plugins also rely on Javascript. If they don’t, you will need to do without certain special effects.
Last edited by maruchan (2011-08-15 17:44:44)
Offline
#310 2011-08-15 17:54:12
- WebmistressM
- Member
- Registered: 2011-08-12
- Posts: 61
Re: hak_article_image
Would Jcarousel suffice. I did kind of do a looksie into this site’s code to see if it was a plugin. Looks like his is up to date with the no-plugins-needed philosophy. Any idea how jcarousel (the standard javascript library) gets integrated into the current version of Text Pattern? I am a bit new to TextPattern so I am curious how javascript (including jQuery) libraries get installed in implemented for things like jcarousel? This would help me set up my image categories since each portfolio item might have 1-3 images.
Offline
#311 2011-08-15 18:37:55
Re: hak_article_image
JCarousel looks like it only provides a carousel, i.e. thumbnails but no large versions. So you may want to find a script that does both. Example: Gallerific
Textpattern and Javascript in this case don’t actually interact or touch each other. Textpattern is just used to generate the HTML that the Javascript plugin needs to work with.
To install a Javascript library then, it’s the same as working with HTML: just put the script tags in the <head> section of your Textpattern page template.
Take a look at the TXP Tip and see if that helps.
Offline
#312 2011-08-15 18:44:59
- WebmistressM
- Member
- Registered: 2011-08-12
- Posts: 61
Re: hak_article_image
Ah, okay. So is there a listing of what javascript interaction (if any) is straight out of the box and where to install javascript libraries needed beyond what Textpattern already uses by default?
Incidentally, I looked up at Gallerific. This page also suggests that Gallerific is obselete in some way, in lieu of the new ImageTags within “core”. gallerific had been one of my first considerations to use for th portfolio image display that I desire.
So would Gallerific be considered a more advanced way to display images (since its more than just plugging in image template tags)?
Last edited by WebmistressM (2011-08-15 18:47:49)
Offline