Page 1 of 1

How to use gallery extension

PostPosted: Wed Feb 25, 2009 9:41 am
by rolfijn
Dear list,

Yesterday i updated my pivotx installation form pivotx2beta-d to pivotx2beta-j . I saw it came with a gallery extension. Interested in this feature i enabled it. But now what? I can not find any information about this extension and the admin interface doesn't give any hints about how to use it either. Hope someone can point me in the right direction.

Thanks in advance,
Rolf Deenen

Re: How to use gallery extension

PostPosted: Thu Feb 26, 2009 1:55 pm
by rolfijn
Thanks Camarados,

I had checked the "New Page" screen as i, without knowing what to expect, would guess it would be, there but not the "New Entry" screen. Now I've found it. It does not seem to work however on my site. I can upload the pictures with the gallery extension, but i would expect it display "automagicly" on the new entry. This does not happen. Before i'll investigate further; Can you tell me whether my assumption is correct that the gallery should "just" appear, and if the state of the extension is such that this should work already. Using Firefox on Ubuntu Linux and Windows-XP. Debian on the server with flat-file storage.

Rolf Deenen

Re: How to use gallery extension

PostPosted: Sun Mar 01, 2009 11:44 am
by Bob
You will need to add some HTML in your template, in order to show the gallery:

Code: Select all
  <style>
  #gallery { margin: 0; padding: 0; }
  #gallery img { margin: 2px; padding: 0; }
  </style>
 

Code: Select all
  <div id='gallery'>
  [[gallery]]
    <a href='%imageurl%%filename%' class="thickbox" title="%filename%" rel="gallery-%uid%" >
    <img src="%pivotxurl%includes/timthumb.php?src=%filename%&amp;w=106&h=80&zc=1" alt="%filename%" />
    </a>
  [[/gallery]]
  </div>

Re: How to use gallery extension

PostPosted: Sun Mar 01, 2009 10:01 pm
by rolfijn
Hi Bob,

Thanks a lot. Works alright now. Very nice and easy solution for creating a quick overview of pictures. I did find that pasting the [[gallery]] code in the introduction-part of a new post results in the gallery displaying all the images twice. Like when i have inserted 6 images the first image, upon viewing will say: image 1/12 and the 7th image is the first image again.

Rolf Deenen

Re: How to use gallery extension

PostPosted: Mon Mar 02, 2009 10:17 am
by rabbeltje
when i try to upload images, i keep getting a 404-errorfield:

Re: How to use gallery extension

PostPosted: Mon Mar 02, 2009 11:24 am
by Bob
Rabbeltje, that's what you get for using Internet Explorer! :-p

(but, seriously, this will be fixed in the upcoming RC 1. Wait for that, or use Firefox instead)

Re: How to use gallery extension

PostPosted: Mon Mar 02, 2009 12:09 pm
by rabbeltje
:roll:

so using firefox it would work? going to try it out then :)

*edit*

works :) but would still appreciate if it worked in IE sometime anywhere in the future ;)
is there going to be an option for this gallery on pages?

Re: How to use gallery extension

PostPosted: Mon Mar 02, 2009 9:28 pm
by Bob
It'll work in IE in the upcoming release.. It's already fixed. :-)

Re: How to use gallery extension

PostPosted: Mon Mar 09, 2009 10:34 am
by rabbeltje
and what about using it on pages? is there going to be something like that?