.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification