Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-12-15 22:09:30
- Kazagistar
- New Member
- Registered: 2008-10-27
- Posts: 2
Cool Gallery
I have been given a textpattern site to edit which has a really nasty hack to create a gallery. Basically, all the pictures are defined under presentation instead of content, and are stored in some random admin folder where they don’t belong, and it is essentially non-easily-reproducable. I noticed that there is a simple way to make galleries in textpattern, and a couple plugins, but I was wondering how I could make a really flashy javascript gallery like SimpleViewer using this much better paradigm.
Offline
Re: Cool Gallery
There are tons of gallery like plugins. Depending on what you want many of them can handle it. I’m using smd_gallery along with galleria
Last edited by MattD (2008-12-17 19:38:36)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Cool Gallery
Bear in mind that Simpleviewer isn’t a Javascript gallery, it’s Flash-based.
Also – handy hint – there’s a search engine on here…
Last edited by keith (2008-12-16 08:55:58)
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
#4 2008-12-17 19:06:06
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Matt D:
I have used other Gallery plug ins with TXp, but I plan on using Galleria in my next project. Is their any trick or code you can share that makes Bloke’s smd_gallery pull images from TXP.
Thanks.
progre55
Offline
Re: Cool Gallery
On my form I have
<ul class="gallery">
<txp:smd_gallery category="gallery" sublevel="all" form="galimage" sort="random" />
</ul>
in my form I have
<li <txp:smd_if field="{counter}" operator="eq" value="1"> class="active" </txp:smd_if>>
<img src="{thumburl}" title="{title}" alt="{title}" border="1"/>
</li>
The client can add images to the “gallery” category to add them to the gallery.
EDIT: smd_if is another of Stef’s plugins which was the easiest way for me to set an active class on the first picture in the gallery.
Last edited by MattD (2008-12-17 19:37:25)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#6 2008-12-17 19:42:47
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Matt:
Thanks for the quick reply.
I have been doing alot of digging regarding Galleria. I am not sure how much you have picked it apart, but what I want to be able to do is something like Alex Wilson Photography
II want to have the thumbnails Glide. I want to give it the ability to run like a slideshow.
From looking around, it appearss I am not the only one! I know Alex used an older version of Galleria and others have had various levels of success. Before I dive into (ie get frustrated) have you used anything else that may deliver the same effect?
Thanks again.
progre55
Offline
Re: Cool Gallery
Looks like alex is using jcarousel for the glideing thumbnails.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#8 2008-12-17 19:53:16
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Matt:
You are correct. I think I know the pieces and parts, I guess now I have to see about banging it out …
I am torn between trying to get something up and runnig with Galleria or trying to figure out a solution with: JonDesign’s SmoothGallery 2.0 ! I like galleria because of the jquery but I am open to your thoughts …. I promise not to hold you responsible for the decision ….
progre55
Last edited by progre55 (2008-12-17 19:54:00)
Offline
Re: Cool Gallery
Smoothgallery is very easy to implement – I’ve had it running as the “Lightbox” in smd_slimbox.
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
#10 2008-12-17 20:02:05
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Keith:
Thanks for the input.
Can you give me a little more detail (post a sample of your code) of what you mean “running as the Lightbox” ….
Also, do you know if their is a way to make the thumbnails in SmoothGallery fall outside the image so that they do not overlap ….
progre55
Offline
Re: Cool Gallery
I don’t think it would be difficult to get something like on the Alex Wilson site. Which ever way you go it’s easy to get images in the outpout needed using smd_gallery.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#12 2008-12-17 20:05:18
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Matt:
I hope you are correct.
I will let you know.
progre55
Offline
#13 2008-12-18 02:26:07
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Matt:
I just wanted to let you know, I needed to update the code a little that you provided a get it to work.
Here is the code I used in the form:
<li <txp:smd_if field="{counter}" operator="eq" value="1"> class="active" </txp:smd_if>>
<a href="{url}" alt="{alt}" title="A picture of {title}" height="{height}" width="{width}">
<img src="{thumburl}" title="{title}" alt="{title}" border="1"/></a></li>
Thanks for the guidance.
I am now working on the Thumbnails and Slideshow effect. I will let you know how things turn out.
progre55
Last edited by progre55 (2008-12-18 02:26:32)
Offline
#14 2009-02-05 22:36:42
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: Cool Gallery
Matt:
Just wanted to give you an update. I got everything functioning correctly, but the project has been put on hold. I did contact Alex regarding his site and code and he was kind enough to let me use some of it to get it to work. If the site does move forward, i will let you know when it is complete. If not, I may just move the functionality to my own side as a development example and then I will post that link.
progre55
Offline
Re: Cool Gallery
Awesome. I’d love to see how it turns out.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Pages: 1