Search:
Namespaces
Discussions
.NET v1.1
Feedback
Image upload & gallery sample
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngrichtextbox' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Ollie Cornes
Here is a sample that shows how to do image uploads with an image
'gallery':
http://www.richtextbox.com/
richtextbox/support/samples/uploadimagegaller" target="_blank">
http://www.richtextbox.com/
richtextbox/support/samples/uploadimagegaller
y/
The sample can be used as either a pop-up window, or as an iframe within
the page containing the
RichTextBox
.
Let me know what you think.
Ollie
--
http://www.richtextbox.com/
The lightweight content editor for ASP.NET
Reply to this message...
James Shaw (VIP)
Looks great Ollie, but I haven't tried it yet. How would you recommend
hiding this from the Mozilla users? A simple user-agent switch statement or
something more generic?
(P.S. I think "2. Insert the image" should be "3. Insert the image")
James Shaw
http://CoverYourASP.com/
Download it. Run it. Learn it.
http://ASPRSS.com/
Publish ASP with RSS XML
-----Original Message-----
From: Ollie Cornes [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, June 25, 2002 12:54 PM
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image upload & gallery sample
Here is a sample that shows how to do image uploads with an image
'gallery':
http://www.richtextbox.com/
richtextbox/support/samples/uploadimagegaller" target="_blank">
http://www.richtextbox.com/
richtextbox/support/samples/uploadimagegaller
y/
The sample can be used as either a pop-up window, or as an iframe within
the page containing the
RichTextBox
.
Let me know what you think.
Ollie
--
http://www.richtextbox.com/
The lightweight content editor for ASP.NET
| [aspngrichtextbox] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp
= JOIN/QUIT
Reply to this message...
Ollie Cornes
Hi James,
Thanks for pointing out the typo. Here's the browser check you need to
use to ensure the image browser only appears when
RichTextBox
is in
rich-editing mode (i.e. Windows IE5.0+).
private bool BrowserIsOK()
{
HttpBrowserCapabilities browser =
HttpContext
.Current.Request.Browser;
bool isOK = true;
if (browser.MajorVersion < 5) isOK = false;
if (browser.Browser != "IE") isOK = false;
if (browser.Platform != "Win95" && browser.Platform != "Win98"
&& browser.Platform != "WinNT") isOK = false;
return isOK;
}
Ollie
--
http://www.richtextbox.com/
The lightweight content editor for ASP.NET
-----Original Message-----
From:
Click here to reveal e-mail address
[mailto:
Click here to reveal e-mail address
] On Behalf Of
James Shaw
Sent: 25 June 2002 19:27
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image upload & gallery sample
Looks great Ollie, but I haven't tried it yet. How would you recommend
hiding this from the Mozilla users? A simple user-agent switch statement
or
something more generic?
(P.S. I think "2. Insert the image" should be "3. Insert the image")
James Shaw
http://CoverYourASP.com/
Download it. Run it. Learn it.
http://ASPRSS.com/
Publish ASP with RSS XML
-----Original Message-----
From: Ollie Cornes [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, June 25, 2002 12:54 PM
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image upload & gallery sample
Here is a sample that shows how to do image uploads with an image
'gallery':
http://www.richtextbox.com/
richtextbox/support/samples/uploadimagegaller" target="_blank">
http://www.richtextbox.com/
richtextbox/support/samples/uploadimagegaller
y/
The sample can be used as either a pop-up window, or as an iframe within
the page containing the
RichTextBox
.
Let me know what you think.
Ollie
--
http://www.richtextbox.com/
The lightweight content editor for ASP.NET
| [aspngrichtextbox] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp
= JOIN/QUIT
| [aspngrichtextbox] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp
= JOIN/QUIT
Reply to this message...
System.Web.HttpBrowserCapabilities
System.Web.HttpContext
System.Windows.Forms.RichTextBox
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com