I use in a Pier2 image, the PRSlideshow package from Pier1.
Here are a few examples:
<http://www.aas-platform.com/about/doc/slideslist/>http://www.aas-platform.com/about/doc/slideslist/
I've a few patches that are attached (not sure if they are mandatory
fro the Pier1 package to work with Pier2, and as far as I remember,
they are mostly copied from PRSlideshowCrossFade).
Also, I've a specialized distribution builder that loads the slides
at build time. The scripts are provided below.
Hoping this helps,
Reza
slideWidget
slidesWidget ifNotNil: [^slidesWidget].
slidesWidget := self defaultSlideShowWidgetNamed: 'slides'.
self
addPresentationSlidesTo: slidesWidget
from: self defaultSlideShowDir
total: self defaultSlideShowSize.
^slidesWidget
defaultSlideShowWidgetNamed: aString
| aWidget |
aWidget := PRComponent named: aString.
aWidget
title: PRSlideshow label;
componentClass: PRSlideshow.
aWidget
write: true
using: PRSlideshow descriptionSlideList;
write: true
using: PRSlideshow descriptionSlideNumber.
^aWidget
addPresentationSlidesTo: aSlidesWidget from: dirS total: aNumber
| prefixS suffixS coef fileS fn n t sPage w h contentF p |
prefixS := 'Diapositive'.
suffixS := '.png'.
GRPlatform current isUnix
ifTrue: [suffixS := suffixS asUppercase].
coef := "0.8" 1.
1 to: aNumber do: [:i |
fileS := dirS, FileDirectory slash, (fn :=
(prefixS, i printString), suffixS).
t := prefixS, ' ', i printString.
n := "prefixS" 'slide-', i printString.
sPage := PRPage named: n.
sPage title: t.
w := (768 * coef) printString.
h := (576 * coef) printString.
sPage contents: ('+', n, '|width=', w,
'|height=', h, '+').
contentF := GRPlatform current contentsOfFile:
fileS binary: true.
p := PRFile named: n.
p title: 'Slide ', i printString.
p
filename: fn;
title: t;
mimetype: 'image/png';
contents: contentF.
aSlidesWidget addChild: sPage.
sPage addChild: p].
At 12:36 27/05/2011, Tudor Girba wrote:
Thanks.
However, I am looking for a solution that controls the look, it is
applicable to any structure, and keeps the user on site.
Cheers,
Doru
On 27 May 2011, at 12:22, Reza Razavi wrote:
Doru,
For his photos, my son has found the following solution:
1) Uses
Flickr.com for storing his photos, and
2) Creates a "simple" page with the content reproduced bellow
(where
references to "FIXME" should be replaced by individual information)
Here is an example:
http://www.rezarazavi.com/goya/
I've not tested it, but maybe it (or a variant) could also be
used as a
practical slideshow solution?!
Hoping this helps,
Reza
{{{<div align="center">
<object width="700" height="525"> <param
name="flashvars"
value="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fgoyarazavi%2Fshow%2F&page_show_back_url=%2Fphotos%2Fgoyarazavi%2F&user_id=FIXME&jump_to="></param>
<param name="movie"
value="http://www.flickr.com/apps/slideshow/show.swf?v=FIXME">…
<param name="allowFullScreen"
value="true"></param><embed
type="application/x-shockwave-flash"
src="http://www.flickr.com/apps/slideshow/show.swf?v=FIXME"
allowFullScreen="true"
flashvars="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fgoyarazavi%2Fshow%2F&page_show_back_url=%2Fphotos%2Fgoyarazavi%2F&user_id=FIXME&jump_to="
width="700" height="525"></embed></object>
</div>}}}
*Goya Razavi>http://www.goyarazavi.com*
At 11:53 27/05/2011, you wrote:
Hi,
Has anyone produced a JQuery-based slideshow for Pier 2?
Cheers,
Doru
--
www.tudorgirba.com
"What we can governs what we wish."
_______________________________________________
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
--
www.tudorgirba.com
"Being happy is a matter of choice."
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki