Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2008-12-15 22:27:12

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#3 2008-12-16 08:55:39

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

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

#5 2008-12-17 19:34:54

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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)


My Plugins

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

#7 2008-12-17 19:47:40

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Cool Gallery

Looks like alex is using jcarousel for the glideing thumbnails.


My Plugins

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

#9 2008-12-17 19:59:00

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

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

#11 2008-12-17 20:03:25

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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.


My Plugins

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

Board footer

Powered by FluxBB