You are not logged in.
The images tag is awesome.
I know it’s been out for a while now but whoever thought of the latest txp image capabilities was really thinking about artists, designers and photographers. Thanks.
The images tag, could use some love in the docs, so if you have some nifty tag-use examples for it, add them in or add them to this thread for someone else to add in.
Maybe we should move this thread to User Docs, since I’d like to turn it into such. :)
Ed. I edited the thread title for clarity, and towards a new thread titling convention I’d like to get caught-on in the user docs forum when it concerns a given tag. :)
Last edited by Destry (2011-08-13 00:00:35)
My only wish for
<txp:images/> is if it could automatically tell if you have a image category name in your article_image field.
In a way, each of us has an El Guapo to face. -Lucky Day (Three Amigos)
First create and image category and upload your images.
Note. One of the image id’s will be used in the article image for the thumbnail/link.
Put the images tag inside your article:
<txp:images category="watercolour" form="essays" wraptag="ul" break="" />
Create the form with the image and image_info tags. Image info will put the caption beneath the image:
<txp:image class="essays" wraptag="li" class="imagelist" break=" " /> <txp:image_info break="li" breakclass="imageinfo" />
Create the code for the page:
<txp:if_individual_article><txp:article form="slides" status="sticky"/> <txp:else /> <div id="thumbarea"> ....... <ol id="thumbs"> <txp:article_custom form="mythumbform" section="mysection" status="sticky" /> </ol></txp:if_individual_article>
Variation for slide shows
<txp:if_individual_article> <div id="nivoslider"> <txp:article form="slides" status="sticky"/> </div> <txp:else /> <div id="thumbarea"> ....... <ol id="thumbs"> <txp:article_custom form="mythumbform" section="mysection" status="sticky" /> </ol></txp:if_individual_article>
I used sticky status to keep the articles off the homepage of my blog. There is probably a better way but it works for me. Also there may be betters ways of doing this so ask someone more experienced first.
Last edited by kvnmcwebn (2011-08-17 08:51:59)
Here are some links for good slide show creators:
Nivo slider, only does same sized images.
cycle: Handles odd sized images:
I haven’t tried it, but it looks like a nice tutorial. It might even be better placed in TXP Tips since it’s involving a fair bit more code than just a simple tag example for
images. But I’ll have a look at it later when I get a chance and see if it can be included in the wiki page more succinctly.
Thanks for stepping up!
It might even be better placed in TXP Tips since it’s involving a fair bit more code than just a simple tag example for
Since I brought up the whole Related Plugins idea last week, I am willing to go out on a limb and suggest a section for External Tutorials as well.