Page 1 of 1

image rotator

Posted: Fri Jun 30, 2006 11:27 am
by rangitoto
Hallo

Das Tag image rotator läuft soweit einwandfrei, allerdings nur mit dem standard-Pfad...
Da gibt es doch die Möglichkeit, den Pfad der BIlder anzupassen, leider ist aber in der "Hilfe" keine Anleitung dabei wie man das ganz genau machen muss.

Wie binde ich den Zusatz "folder" richtig ein - hab alles mögliche ausprobiert!


{image_rotator folder"uploads/images/xxx/"}

Sollte doch eigentlich so funktionieren, oder?

Bin dankbar für jeden sachdienlichen Hinweis! ;-)

Thx!




Hilfe für den Tag 'image_rotator'
What does this do?

Makes rotate images or thumbnails of your directory (default uploads/images), in IE there is a transition fade. You can set the size, alt, class, align, border, hspace, vspace tag and the speed of rotation and fade.
How do I use it?

Just insert the tag into your template/page like: {image_rotator}.
What parameters does it take?

  * (optional) folder - Folder to pick images from (default is "uploads/images/"). <------------------------
    * (optional) type - Image type: image or thumb (default is image).
    * (optional) speed - Rotation speed of images in second (default is 9).
    * (optional) speed_fade - Fade speed of images in second (default is 4). IE only.
    * (optional) width - Image width in px (default is unspecified).
    * (optional) height - Image height in px (default is unspecified).
    * (optional) alt - Image description/mouse-over text (default is unspecified).
    * (optional) class - Image style CSS (default is unspecified).
    * (optional) align - Image alignment (default is unspecified).
    * (optional) border - Image border in px (default is unspecified).
    * (optional) hspace - Image horizontal space in px (default is unspecified).
    * (optional) vspace - Image vertical space in px (default is unspecified).
    * (optional) mod - Personal modifier to allow multiple instances on the same page (default is automatic value).
    * (optional) random - True for random images order, false for directory image order (default is true). PHP 4.2.0 or above is required, set to false otherwise.

Re: image rotator

Posted: Sun Jul 02, 2006 8:02 pm
by rangitoto
Braucht denn niemand image rotator??

Re: image rotator

Posted: Mon Jul 03, 2006 6:13 am
by cyberman
rangitoto wrote: Braucht denn niemand image rotator??
http://forum.cmsmadesimple.org/index.ph ... 485.0.html

Außerdem gönnt sich vielleicht auch mancheiner ein Wochenende  ;D ...

Re: image rotator

Posted: Mon Jul 03, 2006 10:38 am
by rangitoto
Besten Dank für die Antwort!

Wenn ich es so: {image_rotator folder='uploads/images/xxx/'} eingebe erscheint folgende Meldung:


Fatal error: Smarty error: [in content:content_en line 1]: syntax error: invalid attribute name: 'folder/home/www/web108/html/lib/smarty/Smarty.class.php on line 1095

Bin echt ratlos!

Re: image rotator

Posted: Mon Jul 03, 2006 11:50 am
by cyberman
Hmm, konnte den Fehler nicht replizieren - d.h. bei mir funktioniert es.

Wenn dich dies gar zu sehr bedrückt  :) und du diese Funktion nur einmal benötigst, kannst du jedoch auch die functions.image_rotator.php aus dem plugins-Verzeichnis mit einem Editor deiner Wahl öffnen, zu Zeile 21 gehen

Code: Select all

	$value['folder'] = 'uploads/images/';
und dort manuell den Pfad deiner Wahl eintragen.

Re: image rotator

Posted: Mon Jul 03, 2006 12:01 pm
by rangitoto
Das ist ja das Verflixte, ich habe mehrere  Bildergallerien!!  >:(

Könnte das Ganze auch damit zusammenhängen, weil ich alles auf einem Mac mit Firefox mache?

Re: image rotator

Posted: Mon Jul 03, 2006 12:25 pm
by cyberman
Hmm, keine Ahnung - mir ist aber gerade eingefallen, dass auch mit PiPictures eine Slideshow möglich ist ...

http://dev.cmsmadesimple.org/projects/pipictures/

Re: image rotator

Posted: Mon Jul 03, 2006 2:33 pm
by rangitoto
Ich schäme mich zwar, aber ich muss es zugeben: Ich habe PiPictures, Image rotator und Image Gallery ausprobiert und keines hat funktioniert....

Bei PiPictures hab ich nur die Thumbs gesehen und wenn man draufgedrückt hat kam nichts...

Magst mal schauen? www.yourmana.com -------> mart  ---> pictures


Evtl. sollte ich alle Bilderordner löschen und alles neu hochladen...evtl. sind die Rechte irgendwie nicht richtig...?!?!?

Newsmodule und solche Dinge laufen ohne Probleme!

Re: image rotator

Posted: Wed Jul 05, 2006 10:59 am
by rangitoto
Hat auch nichts gebracht...

Habe den image-ordner in einer schwachen Minute gelöscht und nen neuen erstellt!

Dass ich alle verknüpften Bilder gelöscht habe wurmt mich jetzt noch......no comment!!  :'(

Wenn's wenigstens was gebracht hätte, aber es läuft noch immer nicht....

Re: image rotator

Posted: Wed Jul 05, 2006 11:10 am
by cyberman
rangitoto wrote: Ich habe PiPictures, Image rotator und Image Gallery ausprobiert
Wie hast du pipictures denn aufgerufen?

Re: image rotator

Posted: Wed Jul 05, 2006 12:21 pm
by rangitoto
{PiPictures default="Neuseeland" maxwidth=450 template="pipic.tpl"}

Das hatte soweit auch funktioniert, nur kann man alle Anderen Bildgalerien auch sehen...

Hier wird der Ordnerinhalt "Neuseeland" angezeigt, aber auch "Korea" ist aufrufbar.....

Re: image rotator

Posted: Mon Jul 10, 2006 1:50 pm
by rangitoto
Habe jetzt zu PiPictures gewechselt, aber auch da gibts Probleme...

Werde deshalb eine neue Anfrage mit dem Thema PiPictures erstellen!