Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-05-20 02:39:24

Max Ziebell
Archived Plugin Author
From: Formentera and/or Berlin
Registered: 2004-03-26
Posts: 24
Website

[archived] txp->gallery

Textpattern Gallery

Textpattern Gallery v1.21 is there.. it supports one display typ until now.. more to come.
Its quite flexible allready.

regards

Max Ziebell

Last edited by Max Ziebell (2004-05-20 10:43:26)


“The insistent messiahs-Type of Guy”
“Max wrote the code and uploaded it over a satellite connection from his top secret island hideway somewhere in the Mediterranean.”

Offline

#2 2004-05-20 08:33:57

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] txp->gallery

One small problem, when you want to use an image that is not the first as your container, the script automaticly replaces it. Other than that, great!

Offline

#3 2004-05-20 08:40:19

Max Ziebell
Archived Plugin Author
From: Formentera and/or Berlin
Registered: 2004-03-26
Posts: 24
Website

Re: [archived] txp->gallery

Okay… I turned on autoload … by default

edit the line that says:
$autoload = (empty($autoload)) ? 0 : intval($autoload);
to
if (isset($autoload)) $autoload = intval($autoload);

I will fix this as soon I get more feedback or I release the next version


“The insistent messiahs-Type of Guy”
“Max wrote the code and uploaded it over a satellite connection from his top secret island hideway somewhere in the Mediterranean.”

Offline

#4 2004-05-20 09:42:46

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] txp->gallery

It is not a big, I just noticed it because I never used the first image as default. One more thing, as i mentioned on your site, the “break” parameter doesn’t seem to work. I tried “” and “li” but I always get the default break.

Offline

#5 2004-05-20 10:43:07

Max Ziebell
Archived Plugin Author
From: Formentera and/or Berlin
Registered: 2004-03-26
Posts: 24
Website

Re: [archived] txp->gallery

bump 1.21 —- fixed bugs….

to fix autoload… uncomment marked line in the new version…
as I want gallery to load out of the box this must be changed by hand.

Last edited by Max Ziebell (2004-05-20 10:45:44)


“The insistent messiahs-Type of Guy”
“Max wrote the code and uploaded it over a satellite connection from his top secret island hideway somewhere in the Mediterranean.”

Offline

#6 2004-05-26 00:46:42

jay
New Member
Registered: 2004-02-28
Posts: 2

Re: [archived] txp->gallery

Uncomment which line?
I do not see a commented line.

This to turn off the thing that loads an image automatically?

Offline

#7 2004-05-26 02:19:47

Sketch
Archived Plugin Author
From: Washington, D.C.
Registered: 2004-05-20
Posts: 23
Website

Re: [archived] txp->gallery

Not sure what autoload does, but I might suggest an addition to this (if possible). Why not put a thumbnail generation feature into this? I have to manually create them – which requires me download a trial piece of software. I know PHP can do image manipulation, so why not put it to use. :D

Aaron


Aaron Brazell
United States Navy
chmod a+x /bin/laden – Give everyone permission to execute /bin/laden

Offline

#8 2004-05-26 02:36:20

Benoit
Member
From: Montreal, QC
Registered: 2004-05-23
Posts: 26
Website

Re: [archived] txp->gallery

After trial and error, got it to work. I’m at a loss about how to use the additional tags though, the ones like usethumbs for example.

What I would like to achieve is to show thumbnails within an article and have those thumbnails generating a popup of the full size image.

All I have managed to achieve is showing one image, with a list of the other images above it.

Any help would be appreciated

Offline

#9 2004-05-26 05:51:59

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] txp->gallery

Benoit,

I wanted the same set up and Dean told me how to do it here. You will have to add some code (about halfway through the thread Dean says what and where) and manually add the thumbnails.

By the way, I second the automatic thumbnail generation idea. I think you need to have the GD or Imagemagick library installed to do it, though.

As for using thumbnails with Textpattern Gallery, once they are uploaded, use usethumbs=1 and it should work.

Offline

#10 2004-05-26 18:54:35

Sketch
Archived Plugin Author
From: Washington, D.C.
Registered: 2004-05-20
Posts: 23
Website

Re: [archived] txp->gallery

GD has been bundled <a href=“http://us4.php.net/manual/en/ref.image.php”>with PHP since 4.3</a>. :)


Aaron Brazell
United States Navy
chmod a+x /bin/laden – Give everyone permission to execute /bin/laden

Offline

#11 2004-05-26 20:08:56

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] txp->gallery

I had forgotten that, my (soon to be former) server runs 4.2.2 and does not have it installed. One more reason to use Textdrive…

Offline

#12 2004-05-28 22:40:15

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [archived] txp->gallery

Is there a way that I can change the plugin so that it accepts xhtml tags in the caption of the image?

Offline

#13 2004-05-29 06:37:52

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] txp->gallery

tinyfly,
why do you want xhtml in the image captions? If you just want to style it, you can set up a container with an id, then use the txp gallery tag descID=“your_id” to replace it. I will fiddle around and see if xhtml works, but I think this would be the way to do it.

Offline

#14 2004-05-29 16:38:45

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [archived] txp->gallery

I am doing a portfolio site for a sculptor and I have information like the title, material, dimensions, and a short description. I would like to be able to markup each of those properties independently of the others.

<code>
right now if I put something like <h3> in the caption it strips the < > and changes it to &lt , &gt in the source.
</code>

If I could stop it from encoding the special characters I think I could use XHTML in the caption

Offline

#15 2004-05-30 09:13:10

elmar
Member
From: Southern Germany
Registered: 2004-03-22
Posts: 24
Website

Re: [archived] txp->gallery

The problem is, the caption is stored in the “title” property of the image tag. I don’t think you can put xhtml there, but I could certainly be wrong.

What about a different approach? Make each piece of sculpture an article and use excerpts and the <txp:thumbnail id=“image_number”> tag for the index. That’s what I did for my gallery page. The thumbnail tags are not in yet (g1.19 I hope) but Dean describes the code here. Then you can set up each piece any way you like. I made a form that shows the excerpt and title and links back to the article. It would certainly do what you want, but might be a bit more work.

Last edited by elmar (2004-05-30 09:22:23)

Offline

Board footer

Powered by FluxBB