Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-04-04 17:46:02
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Image Gallery (jquery)
Hopefully a quick question :)
I am looking to create a jquery image gallery for a new project. I want to integrate it into my TXP site. I have used both Bloke’s Slimbox and aro_slideshow in the past with great success, but am trying something different.
The guidance I need is how can I replace the following with a TXP tag that will grab a group of images.
<ul id="demoOne">
<li><img src="http://www.test.com/images/1.jpg" border="0"/></li>
<li><img src="http://www.test.com/images/2.jpg" border="0"/></li>
<li><img src="http://www.test.com/images/3.jpg" border="0"/></li>
<li><img src="http://www.test.com/images/4.jpg" border="0"/></li>
<li><img src="http://www.test.com/images/5.jpg" border="0"/></li>
<li><img src="http://www.test.com/images/6.jpg" border="0"/></li>
<li><img src="http://www.test.com/images/7.jpg" border="0"/></li>
</ul>
Thanks.
progre55
Last edited by progre55 (2008-04-04 17:46:20)
Offline
Re: Image Gallery (jquery)
Use new smd_gallery – has fabulous abilities
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#3 2008-04-04 18:54:18
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Image Gallery (jquery)
the_ghost
Thanks. I will definitely take a look and touch base with Bloke. I have not used his newest creation …. yet.
progre55
Offline
#4 2008-04-04 19:39:21
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Image Gallery (jquery)
progre55 wrote:
The guidance I need is how can I replace the following with a TXP tag that will grab a group of images.
If that is all you need to do, try wet_for_each_image.
Offline
Re: Image Gallery (jquery)
I concur with Els. smd_gallery will do it no sweat (as I showed in that thread) but if you have no plans to expand the scope of the idea and it’s pulling stuff fom simple categories then Robert’s code is far more efficient; and not overkill, like my plugin!
Of course, if you want to get devious with pulling images from custom fields (including glz_custom fields… did you notice gerhard and I made that possible in slimbox for you now too?) then by all means stick with smd_gallery.
Last edited by Bloke (2008-04-04 20:46:22)
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
Re: Image Gallery (jquery)
Can smd_gallery create thumbs?
“… they were enterprising voyages…” – Mr. Spock ( from Spock vs. Q )
Offline
Re: Image Gallery (jquery)
Thumbs are created by txp when you upload image
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Image Gallery (jquery)
If your galleries have lots of images, Dirk Stein’s fpx_image_import plug-in plays very well with Bloke’s smd_gallery because it permits bulk upload and import into the TXP images system, generating configurable thumbnails for each image and assigning them to a category. It’s convenient and quick to have an unique image category to define the gallery content in smd_gallery using a custom field, for instance. Very recently, I was able to add about 50 galleries comprising about 1200 images to a site I am working on using this combination of TXP tools. In my case, each gallery is in an individual article and defined in the page template but obviously there are many ways to achieve the similar outcomes.
Last edited by joebaich (2008-04-05 22:01:01)
Offline
Pages: 1