[ANN] New Pier Gallery

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
41 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[ANN] New Pier Gallery

Nicolas Roard
Hi all,

I have pushed a new version of Pier-Gallery that brings some new things:
- create a gallery, and point to an existing directory on your server to fill it
- files in a gallery directory that aren’t images are skipped
- "square" rendering of thumbnails
- thumbnail creation and image resize is automatic and modifiable any
time, and done in the background
- when you are logged, simply click on a thumbnail to go to a
picture-specific page, where you can do small modifications (hide/show
the image, rotate it)
- a Gallery-Randomizer component — create a page with such a component
embedded, and it will pick an image randomly from your galleries
- integration with Lightbox2 for a nice display

You can grab it from the pier addons repository.

More documentation here:
http://www.roard.com/seaside/pier/projects/PierGallery

Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
Damien Pollet for the occasional help :)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Lukas Renggli
Hi Nicolas

This looks really cool. Thank you for contributing your code. I want
to integrate that into my Pier site too.

Is it ok that I link your site from piercms.com?

Cheers,
Lukas

2009/7/6 Nicolas Roard <[hidden email]>:

> Hi all,
>
> I have pushed a new version of Pier-Gallery that brings some new things:
> - create a gallery, and point to an existing directory on your server to fill it
> - files in a gallery directory that aren’t images are skipped
> - "square" rendering of thumbnails
> - thumbnail creation and image resize is automatic and modifiable any
> time, and done in the background
> - when you are logged, simply click on a thumbnail to go to a
> picture-specific page, where you can do small modifications (hide/show
> the image, rotate it)
> - a Gallery-Randomizer component — create a page with such a component
> embedded, and it will pick an image randomly from your galleries
> - integration with Lightbox2 for a nice display
>
> You can grab it from the pier addons repository.
>
> More documentation here:
> http://www.roard.com/seaside/pier/projects/PierGallery
>
> Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
> Damien Pollet for the occasional help :)
>
> --
> Nicolas Roard
> "I love deadlines. I like the whooshing sound
> they make as they fly by." -- Douglas Adams
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Nicolas Roard
On Mon, Jul 6, 2009 at 7:28 AM, Lukas Renggli<[hidden email]> wrote:
> Hi Nicolas
>
> This looks really cool. Thank you for contributing your code. I want
> to integrate that into my Pier site too.

cool :)

> Is it ok that I link your site from piercms.com?

sure.

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Damien Cassou-3
In reply to this post by Nicolas Roard
Hi Nicolas,

On Mon, Jul 6, 2009 at 2:40 AM, Nicolas Roard<[hidden email]> wrote:
> I have pushed a new version of Pier-Gallery

that's very cool, thank you. I will update the documentation on piercms.com.

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

stéphane ducasse-2
In reply to this post by Nicolas Roard
cool nicolas :)
what is the license?

On Jul 6, 2009, at 2:40 AM, Nicolas Roard wrote:

> Hi all,
>
> I have pushed a new version of Pier-Gallery that brings some new  
> things:
> - create a gallery, and point to an existing directory on your  
> server to fill it
> - files in a gallery directory that aren’t images are skipped
> - "square" rendering of thumbnails
> - thumbnail creation and image resize is automatic and modifiable any
> time, and done in the background
> - when you are logged, simply click on a thumbnail to go to a
> picture-specific page, where you can do small modifications (hide/show
> the image, rotate it)
> - a Gallery-Randomizer component — create a page with such a component
> embedded, and it will pick an image randomly from your galleries
> - integration with Lightbox2 for a nice display
>
> You can grab it from the pier addons repository.
>
> More documentation here:
> http://www.roard.com/seaside/pier/projects/PierGallery
>
> Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
> Damien Pollet for the occasional help :)
>
> --
> Nicolas Roard
> "I love deadlines. I like the whooshing sound
> they make as they fly by." -- Douglas Adams
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Nicolas Roard
On Mon, Jul 6, 2009 at 10:07 AM, stéphane ducasse<[hidden email]> wrote:
> cool nicolas :)
> what is the license?

ah, good point, well whatever is more convenient :)
(MIT licence ?)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Damien Cassou-3
On Mon, Jul 6, 2009 at 11:21 AM, Nicolas Roard<[hidden email]> wrote:
>> cool nicolas :)
>> what is the license?
>
> ah, good point, well whatever is more convenient :)
> (MIT licence ?)

My work is MIT.

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

stéphane ducasse-2
In reply to this post by Nicolas Roard
MIT would be perfect.
did you change the squeaksource tag?

Stef

On Jul 6, 2009, at 11:21 AM, Nicolas Roard wrote:

> On Mon, Jul 6, 2009 at 10:07 AM, stéphane  
> ducasse<[hidden email]> wrote:
>> cool nicolas :)
>> what is the license?
>
> ah, good point, well whatever is more convenient :)
> (MIT licence ?)
>
> --
> Nicolas Roard
> "I love deadlines. I like the whooshing sound
> they make as they fly by." -- Douglas Adams
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Nicolas Roard
On Mon, Jul 6, 2009 at 10:43 AM, stéphane ducasse<[hidden email]> wrote:
> MIT would be perfect.
> did you change the squeaksource tag?

didn't touch a thing, but by default code submitted to lukas' repo is
MIT apparently.

--
Nicolas Roard

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Damien Pollet
In reply to this post by stéphane ducasse-2
On Mon, Jul 6, 2009 at 11:43, stéphane ducasse<[hidden email]> wrote:
> MIT would be perfect.
> did you change the squeaksource tag?

Everything committed to Lukas' repo is automatically MIT.

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

stéphane ducasse-2
coool
I like that policy :)

On Jul 6, 2009, at 11:55 AM, Damien Pollet wrote:

> On Mon, Jul 6, 2009 at 11:43, stéphane ducasse<[hidden email]>  
> wrote:
>> MIT would be perfect.
>> did you change the squeaksource tag?
>
> Everything committed to Lukas' repo is automatically MIT.
>
> --
> Damien Pollet
> type less, do more [ | ] http://people.untyped.org/damien.pollet
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Mariano Martinez Peck
In reply to this post by Nicolas Roard
Excellent news! I will use it for my project! Thanks for sharing this.

One question: does this plugin depends on Rio? If so, which packages I must install of Rio? I guess kernel and base but I am not sure.

Thanks!

Mariano

On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard <[hidden email]> wrote:
Hi all,

I have pushed a new version of Pier-Gallery that brings some new things:
- create a gallery, and point to an existing directory on your server to fill it
- files in a gallery directory that aren’t images are skipped
- "square" rendering of thumbnails
- thumbnail creation and image resize is automatic and modifiable any
time, and done in the background
- when you are logged, simply click on a thumbnail to go to a
picture-specific page, where you can do small modifications (hide/show
the image, rotate it)
- a Gallery-Randomizer component — create a page with such a component
embedded, and it will pick an image randomly from your galleries
- integration with Lightbox2 for a nice display

You can grab it from the pier addons repository.

More documentation here:
http://www.roard.com/seaside/pier/projects/PierGallery

Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
Damien Pollet for the occasional help :)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Mariano Martinez Peck
Sorry. I read in you webpage that yes, it depends in Rio, but which packages should I install and in which order?

Thanks!

Mariano

On Mon, Jul 6, 2009 at 6:32 PM, Mariano Martinez Peck <[hidden email]> wrote:
Excellent news! I will use it for my project! Thanks for sharing this.

One question: does this plugin depends on Rio? If so, which packages I must install of Rio? I guess kernel and base but I am not sure.

Thanks!

Mariano


On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard <[hidden email]> wrote:
Hi all,

I have pushed a new version of Pier-Gallery that brings some new things:
- create a gallery, and point to an existing directory on your server to fill it
- files in a gallery directory that aren’t images are skipped
- "square" rendering of thumbnails
- thumbnail creation and image resize is automatic and modifiable any
time, and done in the background
- when you are logged, simply click on a thumbnail to go to a
picture-specific page, where you can do small modifications (hide/show
the image, rotate it)
- a Gallery-Randomizer component — create a page with such a component
embedded, and it will pick an image randomly from your galleries
- integration with Lightbox2 for a nice display

You can grab it from the pier addons repository.

More documentation here:
http://www.roard.com/seaside/pier/projects/PierGallery

Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
Damien Pollet for the occasional help :)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Mariano Martinez Peck
I tried

Installer mantis ensureFix: 7219.
Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'.

But in RioLocalExecutive>>initialize
when it does "Current initializeDefault"
I get RioLocalDosExecutive DNU initializeDefault.

Any idea?

Thanks!

Mariano

On Mon, Jul 6, 2009 at 6:35 PM, Mariano Martinez Peck <[hidden email]> wrote:
Sorry. I read in you webpage that yes, it depends in Rio, but which packages should I install and in which order?

Thanks!

Mariano


On Mon, Jul 6, 2009 at 6:32 PM, Mariano Martinez Peck <[hidden email]> wrote:
Excellent news! I will use it for my project! Thanks for sharing this.

One question: does this plugin depends on Rio? If so, which packages I must install of Rio? I guess kernel and base but I am not sure.

Thanks!

Mariano


On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard <[hidden email]> wrote:
Hi all,

I have pushed a new version of Pier-Gallery that brings some new things:
- create a gallery, and point to an existing directory on your server to fill it
- files in a gallery directory that aren’t images are skipped
- "square" rendering of thumbnails
- thumbnail creation and image resize is automatic and modifiable any
time, and done in the background
- when you are logged, simply click on a thumbnail to go to a
picture-specific page, where you can do small modifications (hide/show
the image, rotate it)
- a Gallery-Randomizer component — create a page with such a component
embedded, and it will pick an image randomly from your galleries
- integration with Lightbox2 for a nice display

You can grab it from the pier addons repository.

More documentation here:
http://www.roard.com/seaside/pier/projects/PierGallery

Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
Damien Pollet for the occasional help :)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki




_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Mariano Martinez Peck
I found and fix the bug :)

RioLocalExecutive>>newForWin32

    ^ RioLocalDosExecutive

Should be:

RioLocalExecutive>>newForWin32

    ^ RioLocalDosExecutive new

Best,

Mariano


On Mon, Jul 6, 2009 at 6:42 PM, Mariano Martinez Peck <[hidden email]> wrote:
I tried

Installer mantis ensureFix: 7219.
Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'.

But in RioLocalExecutive>>initialize
when it does "Current initializeDefault"
I get RioLocalDosExecutive DNU initializeDefault.

Any idea?

Thanks!

Mariano


On Mon, Jul 6, 2009 at 6:35 PM, Mariano Martinez Peck <[hidden email]> wrote:
Sorry. I read in you webpage that yes, it depends in Rio, but which packages should I install and in which order?

Thanks!

Mariano


On Mon, Jul 6, 2009 at 6:32 PM, Mariano Martinez Peck <[hidden email]> wrote:
Excellent news! I will use it for my project! Thanks for sharing this.

One question: does this plugin depends on Rio? If so, which packages I must install of Rio? I guess kernel and base but I am not sure.

Thanks!

Mariano


On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard <[hidden email]> wrote:
Hi all,

I have pushed a new version of Pier-Gallery that brings some new things:
- create a gallery, and point to an existing directory on your server to fill it
- files in a gallery directory that aren’t images are skipped
- "square" rendering of thumbnails
- thumbnail creation and image resize is automatic and modifiable any
time, and done in the background
- when you are logged, simply click on a thumbnail to go to a
picture-specific page, where you can do small modifications (hide/show
the image, rotate it)
- a Gallery-Randomizer component — create a page with such a component
embedded, and it will pick an image randomly from your galleries
- integration with Lightbox2 for a nice display

You can grab it from the pier addons repository.

More documentation here:
http://www.roard.com/seaside/pier/projects/PierGallery

Thanks to Damien Cassou for the original Pier-Gallery, and thanks to
Damien Pollet for the occasional help :)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki





_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

keith1y
In reply to this post by Mariano Martinez Peck
Mariano Martinez Peck wrote:

> I tried
>
> |Installer mantis ensureFix: 7219.
> Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'.
>
> |But in RioLocalExecutive>>initialize
> when it does "Current initializeDefault"
> I get RioLocalDosExecutive DNU initializeDefault.
>
> Any idea?
>
> Thanks!
>
> Mariano|
> |
Check the Universe's entry for Rio, I am sorry that the packages you are
loading are long obsolete.

Keith
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Mariano Martinez Peck


On Mon, Jul 6, 2009 at 7:11 PM, Keith Hodges <[hidden email]> wrote:
Mariano Martinez Peck wrote:
> I tried
>
> |Installer mantis ensureFix: 7219.
> Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'.
>
> |But in RioLocalExecutive>>initialize
> when it does "Current initializeDefault"
> I get RioLocalDosExecutive DNU initializeDefault.
>
> Any idea?
>
> Thanks!
>
> Mariano|
> |
Check the Universe's entry for Rio, I am sorry that the packages you are
loading are long obsolete.

Nicolas: which version are you using of Rio? how did you install it?

I tried version 4 from Universe but I get an error in:

PGGallery>>folder
    " Create the folder if necessary "
    folder ifNil:
        [ folder := PGGallery globalLocalPicturesPath asRio / self galleryPath.
        folder exists ifFalse: [ folder mkdir ].
        representationWidth ifNotNil: [ self parseFolder ] ].
    ^ folder

Because ByteString DNU asRio.

Thanks

Mariano

 


Keith
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Nicolas Roard
On Mon, Jul 6, 2009 at 9:35 PM, Mariano Martinez
Peck<[hidden email]> wrote:

>
>
> On Mon, Jul 6, 2009 at 7:11 PM, Keith Hodges <[hidden email]>
> wrote:
>>
>> Mariano Martinez Peck wrote:
>> > I tried
>> >
>> > |Installer mantis ensureFix: 7219.
>> > Installer ss project: 'Rio'; install: 'Rio-Kernel'; install:
>> > 'Rio-Grande'.
>> >
>> > |But in RioLocalExecutive>>initialize
>> > when it does "Current initializeDefault"
>> > I get RioLocalDosExecutive DNU initializeDefault.
>> >
>> > Any idea?
>> >
>> > Thanks!
>> >
>> > Mariano|
>> > |
>> Check the Universe's entry for Rio, I am sorry that the packages you are
>> loading are long obsolete.
>
> Nicolas: which version are you using of Rio? how did you install it?

looking at my running image, this is what I have:

Rio-Core (Rio-Core-kph.37)
Rio-Grande (Rio-Grande-kph.45)
Rio-Kernel (Rio-Kernel-lr.88)

not sure which order I installed them though (via monticello)

--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

keith1y
Try File-Kernel, File-Base, and File-Tests

Keith
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pier Gallery

Mariano Martinez Peck
Nicolas: Now I have more problems :(
I create a folder in /tmp/galeria and then create a galery in that folder. There are 8 pictures.
When I click on send, I have this problem:

PGGallery>>parseFolder

when it does:

        validImage := PGSqueakImageAssistant validFile: (PGGallery globalLocalPicturesPath), (dir / e name)

In this case, (PGGallery globalLocalPicturesPath), (dir / e name)   shows:
'/tmpgaleria/panoramicaMonteFitzRoy-full.jpg'.

This is wrong, and should be

validImage := PGSqueakImageAssistant validFile: (PGGallery globalLocalPicturesPath), '/', (dir / e name)

With that, it worked.

Now, I have another problem. It seems it finds the images as they are all as children in the "galeria" component. However, they are not rendered. Instead of it, there is a text that says: "8 pictures left to process..."   What does it mean? why they aren't rendered?

In addition, I don't see  "Import Local Pictures" command, only "Import Zip with pictures". Any idea?

Thanks for the help.

Cheers,

Mariano

On Mon, Jul 6, 2009 at 7:59 PM, Keith Hodges <[hidden email]> wrote:
Try File-Kernel, File-Base, and File-Tests

Keith
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
123