Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2004-08-02 12:54:37

Fugazi
New Member
From: Belgium
Registered: 2004-07-31
Posts: 4
Website

Re: Plugin/Hack: Albumpattern

Undefined variable: ap_imagesys in \textpattern\include\txp_album.php on line 40

same shit until line 49, that’s in “albumpattern preferences” and I can’t set ‘albums per page’, ‘images per page’, etc etc

Offline

#38 2004-08-02 14:21:35

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

Martagnan: You probably need to set the path to convert. Go into the preferences, and try /usr/local/bin/ . I’m almost positive that is the reason that you are having a problem resizing your images.

Fugazi, did you edit, upload, and run albumpattern_sql.php? (well, I guess you did otherwise you’d get other errors before that page). Upload and run it again, that should fix your problems. It looks like the albumpattern perferences were not setup correctly in your database, which would result in undefinied variable’s.

All the tags are available in the includeddocumentation.html file and also when you click on the plugin name in the Admin->Plugin tab (fyi, most plugins will have their documentation here as well. Also, when you are done viewing the page, I wouldn’t recommend hitting “Save”).

Last edited by greenrift (2004-08-03 01:31:23)

Offline

#39 2004-08-02 14:28:48

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Hi Greenrift…
I altered the preferences and now the error is…

Warning: chmod failed: No such file or directory in /home/martagnanuk/public_html/textpattern/lib/classImageManipulation.php on line 364

Problem encountered while resizing using ImageMagick
Command Line Executed
@/usr/local/bin/convert -size 350×525 ‘/home/mysite/public_html/images/album-number-one/picture.jpg’ -quality 75 -resize 350×525! ‘/home/mysite/public_html/images/album-number-one/picture.jpg’
Image Magick Returned
Array

The only thing different is @/usr/local/bin/

Last edited by Martagnan (2004-08-02 14:30:50)

Offline

#40 2004-08-02 14:28:48

Fugazi
New Member
From: Belgium
Registered: 2004-07-31
Posts: 4
Website

Re: Plugin/Hack: Albumpattern

Yes, I was a little to quick. I threw it all away and started over. Everything works properly now, except I can’t seem to publish an album.

So everything works, but I don’t get the step to publish the album on the page.

placing this tag doesn’t do anything:

<txp:albumpattern />

<txp:if_album_list>
<txp:album_list form=“album_preview” />
</txp:if_album_list>

<txp:if_individual_album>
<txp:album form=“album” />
</txp:if_individual_album>

<xp:if_individual_image>
<txp:album_image form=“album_image” />
</txp:if_individual_image>

I hope I’m not too dumb with posting this
thanks in advance

Last edited by Fugazi (2004-08-02 14:35:09)

Offline

#41 2004-08-02 21:12:19

Macubu
Member
From: Milano, Italia
Registered: 2004-04-13
Posts: 58
Website

Re: Plugin/Hack: Albumpattern

Ehm, how do you upgrade from version 1 to the second? Do I have to replace just the plugin or everything else too? Is there something I have to know before I make everything go wrong?
Thanks!

Offline

#42 2004-08-03 01:35:08

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

Martagnan: Sorry for the confusion, I meant to wrap the /usr/local/bin/ stuff in code tags and forget the second &#64; needed for Textile to do that. So the path should be /usr/local/bin/ and not @/usr/local/bin/. That is probably your problem. If that doesn’t fix it, email your system adminstrator and ask for the path to ImageMagick’s “convert” program.

Fugazi: Email me the tag stuff, it isn’t showing up because of the <‘s and >‘s.

Macubu: Replace everything (plugin, txp_album.php, classImageManipulation.php, etc). Then edit, upload, and run albumpattern_sql.php to upgrade the database.

Last edited by greenrift (2004-08-03 01:40:25)

Offline

#43 2004-08-03 12:15:57

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Greenrift – It was a problem at my ISP end. My AlbumPattern is now working perfectly!! Yay!

I do HAVE to say a <strong>GREAT BIG THANKS</strong> to <a href=“http://www.supanames.com”><strong>Supanames</strong></a> who absolutely went out of thier way to help me get this working. This is the latest in a history of brilliant, efficient and very fast tech support from Supanames. – well recommended!

Last edited by Martagnan (2004-08-03 12:16:33)

Offline

#44 2004-08-03 13:49:24

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

By the way….
Is there yet a way to get AlbumPattern to ‘look’ like PhotoStack with:

- List of galleries<br />
- thumbnail navigation<br />
- main image on the same page as thumbnail navigation.

Thanks

Offline

#45 2004-08-03 14:08:55

greenrift
Archived Plugin Author
Registered: 2004-03-08
Posts: 186
Website

Re: Plugin/Hack: Albumpattern

> Martagnan wrote:

> By the way….
Is there yet a way to get AlbumPattern to ‘look’ like PhotoStack with:

  • List of galleries can do (well, that depends. If you mean a list of galleries when you’re viewing a single image or a single album, no. But I, or someone else, could easily write the tag).
  • thumbnail navigation coming soon
  • main image on the same page as thumbnail navigation. coming soon

Last edited by greenrift (2004-08-03 14:09:48)

Offline

#46 2004-08-03 15:18:08

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Hi!<br />
I have a gallery with approx 30 images in it. I have my prefs to display 10 images per page but my gallery only shows 10 images. I see in the documentation that there is a ‘next and previous’ feature but Im not sure how to use it? Where do I put the tags? what does the tag look like, is it <strong>< txp:link_to_nextpage /></strong>… any hints and tips appreciated!

Last edited by Martagnan (2004-08-03 15:19:16)

Offline

#47 2004-08-05 08:46:04

MattM
Member
Registered: 2004-04-16
Posts: 11

Re: Plugin/Hack: Albumpattern

I get exactly the same error as I got before unfortunately.

Warning: mkdir() failed (Permission denied) in /usr/local/psa/home/vhosts/dokicnews.co.uk/httpdocs/textpattern/include/txp_album.php on line 232

directory permissions must be 777

Offline

#48 2004-08-05 13:33:53

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

Re: Plugin/Hack: Albumpattern

Not important but…. In admin if I refresh the image listing page it re-produces all my images again and puts a zero on the filename name0.jpg, it also reproduces the thumbnail.

I cant seem to get any more than 40 images into a gallery?

In admin the <strong>1/3 Next</strong> links at the foot of the image list won’t go beyond page 2?

Thanks

Offline

Board footer

Powered by FluxBB