Hi,
hast du es denn schon ausprobiert? Der Code hier in der Mail ist ja
aus der Doku?!
Spiel doch einfach mal ein bisschen damit rum. Pack 2 Bilder
irgendwohin und ruf die Methode in einem deiner Views auf:
fancy_gallery {:thumb => "1t.jpg", :main => "1.jpg", :title => "first
pic"},{:thumb => "2t.jpg", :main => "2.jpg", :title => "second pic"}
Ich hab das Plugin noch nicht genutzt, aber so schwer kann es doch
nicht sein...
Wenn du mal Code und Fehler aus einem eigenen Versuch hast, poste den
mal. Daran lässt sich meist mehr ablesen als an einer allgemeinen Frage.
Viele Grüße,
Marco
Zitat von Guido Pesch <[email protected]>:
Hallo Liste,
ich möchte das Plugin nutzen.
https://github.com/vanntastic/fancy_box_rails_plugin
wie es scheint bin ich zu blöd dazu :-(
Installiert ist es.
Ich möchte eine image gallery with fancy boxes bauen.
Dazu soll diese Methode genutzt werden:
fancy_gallery [array of hashes]
fancy_gallery {:thumb => "first-thumb.jpg", :main => "first.jpg",
:title => "first pic"}
Hash options:
:thumb => "The thumbnail for the pic",
:main => "The main picture to open in the fancy box",
:title => "The title for your picture"
Kennt sich da wer mit aus?Wie rufe ich die Methode korrekt auf.Ich
nutze PaperclipGrußGuido
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/listinfo/rubyonrails-ug