Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2004-10-30 17:35:25

jase
Member
Registered: 2004-10-25
Posts: 10
Website

Re: Plugin/Hack: Albumpattern

i already had it set to use GD.

Offline

#137 2004-10-30 18:35:51

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

Re: Plugin/Hack: Albumpattern

jase: open up classImageManipulation.php and comment out line #62 ($this->setImageMagickPath($imp);). You can comment out a line by adding // in front of the line, or you can simply delete the line.

Offline

#138 2004-10-30 18:53:06

jase
Member
Registered: 2004-10-25
Posts: 10
Website

Re: Plugin/Hack: Albumpattern

thanks greenrift! that fixed the warnings.

i have another issue, now (unrelated to the warning)…
when i add an image to an album, it shows up in my recent_articles listing, but the link to the image does NOT contain any album info: “/albumID/albumName/”. when clicked i just get an empty page with the name of the image. and the url only contains the image id and image name

this is how i’m pulling in the “recent list”:

  • page includes a “header” form
  • header form references a sidebar form
  • sidebar form contains:
    < txp:chh_article_custom listform=“template_sidebar_recent” limit=“5” sortby=“Posted” sortdir=“desc” / >
  • template_sidebar_recent is coded as:
    < li< txp:glx_if_current_article / > >< txp:zem_link title=”%s” >< txp:title / >< /txp:zem_link >< /li >

*EDITS*—

i should also mention i tried using the default txp:permlink instead of the txp:zem_link tag and got the same result described above

updated my sidebar code pulling in the recent list

Last edited by jase (2004-10-30 22:46:25)

Offline

#139 2004-10-30 19:59:59

jase
Member
Registered: 2004-10-25
Posts: 10
Website

Re: Plugin/Hack: Albumpattern

there may be an easier way to do this, but to get a bit more control (via CSS) over the links that get generated from < txp:ap_breadcrumbs / >, you can edit the plugin code, in the ap_breadcrumbs function:

——————

find—
$tags[‘section’] = tag($title,‘a’,’ href=”’.$href.’”’);

replace with—
$tags[‘section’] = tag($title,‘a’,’ href=”’.$href.’” class=“section”’);

——————

find—
$tags[‘album’] = tag($title,‘a’,’ href=”’.$href.’”’);

replace with—
$tags[‘album’] = tag($title,‘a’,’ href=”’.$href.’” class=“album”’);

——————

find—
$tags[‘image’] = tag($title,‘a’,’ href=”’.$href.’”’);

replace with—
$tags[‘image’] = tag($title,‘a’,’ href=”’.$href.’” class=“image”’);

——————

then drilling down the CSS chain: div.breadcrumbs a.album allows complete control over each link, such as loading specific icons with each of the breadcrumb bits, like this

.jase

edit: updated link to example

Last edited by jase (2005-03-22 10:23:54)

Offline

#140 2004-10-31 14:38:11

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

Re: Plugin/Hack: Albumpattern

Thanks for that Jase its a nice addition. By the way, your site is really lovely and nicely constructed too!

Offline

#141 2004-11-01 06:14:57

Freshmango
New Member
From: Braunschweig, Germany
Registered: 2004-06-14
Posts: 7
Website

Re: Plugin/Hack: Albumpattern

Hi greenrift, i thank you very much for this plugin. From time to time I want to show a special album in my ‘normal’ blog section / article flow.
Is it the right way to write an ordinary article in the blog section and within doing something like < txp:album form=“album_single” id=“1” / >?

Dennis


<a href=“http://dennisfrank.info” title=“Dennis Frank gestaltet – Portfolio” style=“display: block; background:#efefef; color: #545454; float: left; padding: .5em; border: 1px none #9f9f9f; text-decoration: none;”><span style=“border-bottom: 1px solid #9f9f9f;”>Dennis Frank portfolio</span></a>

Offline

#142 2004-11-01 16:36:47

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

Re: Plugin/Hack: Albumpattern

> Freshmango wrote:

> Hi greenrift, i thank you very much for this plugin. From time to time I want to show a special album in my ‘normal’ blog section / article flow.
Is it the right way to write an ordinary article in the blog section and within doing something like < txp:album form=“album_single” id=“1” / >?

Use album_id instead of id and that should work. The problem will be with the links to individual images, they won’t get the proper link structure.

This feature will either work in the next release, or one after that.

Last edited by greenrift (2004-11-01 16:41:29)

Offline

#143 2004-11-01 19:46:56

Freshmango
New Member
From: Braunschweig, Germany
Registered: 2004-06-14
Posts: 7
Website

Re: Plugin/Hack: Albumpattern

> greenrift wrote:

> Use album_id instead of id and that should work. The problem will be with the links to individual images, they won’t get the proper link structure.

There in’t any differnce between id and album_id in my blog. In the article you will always see the whole album list. Sadly I can not show you my blog online.

> This feature will either work in the next release, or one after that.

Do you have a hint, where to (hard)code this in the plugin-source?

I hope you can help me. Thanks.

Dennis


<a href=“http://dennisfrank.info” title=“Dennis Frank gestaltet – Portfolio” style=“display: block; background:#efefef; color: #545454; float: left; padding: .5em; border: 1px none #9f9f9f; text-decoration: none;”><span style=“border-bottom: 1px solid #9f9f9f;”>Dennis Frank portfolio</span></a>

Offline

#144 2004-11-04 04:56:04

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Plugin/Hack: Albumpattern

Greenrift,

Is there any easier way to upload many photos at once into album pattern?

Thanks


bludrop studios .::. Creative Expression

Offline

#145 2004-11-04 05:08:32

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

Re: Plugin/Hack: Albumpattern

I’m working on a new release, and I plan to add bulk uploading after that release. Hopefully this next release will come sometime in the next two weeks, there are still a few things I want to do to the albumpattern code and then I need to rewrite some of the optional hacks to TXP, and then I need to test it. This next update is pretty big, in a good way.

The idea of bulk uploading is that you use an FTP or webDAV client to upload a bunch of photo’s (and their display and thumbnail size, or have them automatically made) to a directory. Then you tell albumpattern where the directory is located and it goes and adds all the photo’s like you had uploaded through its interface. Then you can go through and change title’s and descriptions and stuff.

Offline

#146 2004-11-04 05:12:22

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Plugin/Hack: Albumpattern

I like that idea of bulk uploading. Looking forward to it

by the way- will the new releases require TXP 1.0 RC or can 0.19 be used?

Thanks for the update


bludrop studios .::. Creative Expression

Offline

#147 2004-11-04 07:03:47

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

Re: Plugin/Hack: Albumpattern

1.0RC1 vs RC2 vs 1.19

I’m going to test it on everything, but it will definitely work on RC1 and RC2. The optional hacks will be written for RC1 first, and then later 1.19.

Offline

#148 2004-11-05 11:21:47

heimar
New Member
From: ebonia
Registered: 2004-11-03
Posts: 6

Re: Plugin/Hack: Albumpattern

Hi, first: nice plugin.
But how exactly i can add next/prev picture buttons or links?

Last edited by heimar (2004-11-05 11:22:08)


thank you, Jebus!

Offline

#149 2004-11-06 00:52:55

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Plugin/Hack: Albumpattern

How do you use the photo thumbnail navigation on the same page as the photos while limiting the number of photos on the navigation?


bludrop studios .::. Creative Expression

Offline

#150 2004-11-06 07:12:35

jase
Member
Registered: 2004-10-25
Posts: 10
Website

Re: Plugin/Hack: Albumpattern

can anyone outline for me how to use an image from albumpattern in a textpattern article? i’d rather not upload the same image twice, once in albumpattern for an album image, and once again for a photo blog post…

i installed the rei_show_custom plugin, added < txp:albumpattern / > to my article form. then tried to call:

  • < txp:ap_image id=”< txp:rei_show_custom customid=“2” / >” / >

apparently, you can’t use a tag as a value of an attribute for another tag… how can i pass into < txp:ap_image id=”???” / > the ID data contained in a custom field?

Offline

Board footer

Powered by FluxBB