Pegasus
  •  Pegasus
  • 59% (Neutral)
  • YAF Camper Topic Starter
2011-05-22T15:31:49Z
Hi!

Just a short question: we're running YAF 1.9.5 and need images in the in the postings, wich was uploades to the user album. How can we achieve this?

With BBCode UserPostedImage, it doesn't work.

Can anyone halp us, please?

Stephan
Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-05-22T18:19:28Z
You want the "Attach" function on the post -- if you upload an image it will display as a thumbnail.
Jaben attached the following image(s):

Pegasus
  •  Pegasus
  • 59% (Neutral)
  • YAF Camper Topic Starter
2011-05-22T18:45:59Z
Hi!

No, I didn't mean the Attachements but the Albumfunction. When a user creates his own imagealbum and uploaded an image there, how can he post this in his text? For now, we create a special BBCode Extension, but ist there another way?

Or BBCode looks like:
Description: [album]Bildnummer[/album]
Search RegEx: \[album\](?<id>.+?)\[\/album\]
Replace Regex: <a href="/resource.ashx?image=${id}" target="_blank" rel="lightbox"><img rel="lightbox" src="/resource.ashx?image=${id}" alt="Bild Nummer" style="max-width: 300px;" /></a>
Replace Variables: id

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved