YAFLogo

Dimi
  • Dimi
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
12 years ago
If we attach an image it appears (using the nice script) in the middle of the window and the main window gets shadowed. But that's about attachments. Is it possible to use the same feature if we embed the same image inside the post? For example when I use this code:

Tonto Natural Bridge

UserPostedImage
 


[center]
[size=6]🅱Tonto Natural Bridge[/b][/size]
[url=http://www.Have2See.com/Photos/Tonto%20Bridge,%20AZ,%202007-05-27%2008.jpg]
[img]http://www.Have2See.com/Photos/150/Tonto%20Bridge,%20AZ,%202007-05-27%2008.jpg[/img]
[/url]
[/center]

The image appears in a new browser window. But I'd be happy to show it using the same script that the forum uses when it opens the same image as attachment!

Is that possible?

Also if I understand correctly I can use most of HTML tags using [] instead of <>. If that true? So in theory I can create a table inside my post, can't I?
Dimi
UserPostedImage
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
12 years ago
I added a new BBCode to YAF called "modalurl"



[center]
[size=6]🅱Tonto   Natural   Bridge[/b][/size]
[modalurl=http://www.Have2See.com/Photos/Tonto%20Bridge,%20AZ,%202007-05-27%2008.jpg]
[img]http://www.Have2See.com/Photos/150/Tonto%20Bridge,%20AZ,%202007-05-27%2008.jpg[/img]
[/modalurl]
[/center]

This will display the Image or/and any Linked Content Inside the Modal Ceebox Dialog.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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