Previously, I explained how to create a simple image browser for CKEditor using C# and .NET. In this post, I'll explain how to do the same thing in PHP, assuming you're familiar with PDO and how to query databases. The simple browser will look something like the image below (the styling will of course depend on any CSS you add to your page). This post assumes you already know how to create an instance of CKEditor and are familiar with some Javascript as well.
Problem: CKEditor has no file/image browser included with it.
Showing posts with label CKEditor. Show all posts
Showing posts with label CKEditor. Show all posts
Monday, April 02, 2012
Part 1: Create a simple custom image browser for CKEditor using .NET
For one of my websites, I was using the rich-text editor, CKEditor, to handle grab text from the user for articles and whatnot. The problem came, though, when I realized that the new CKEditor (previously, FCKEditor) did not have a file/image browser included with it. Without one, it makes embedding images in text using the editor a pain. Here's how to make a quick, simple image browser in C#/.NET and integrate it with CKEditor. (I'll show how I did a similar browser using PHP in Part 2, which I'll add later.) Here's a screenshot of the simple image browser:
Problem: An image browser was needed for CKEditor.
Problem: An image browser was needed for CKEditor.
Subscribe to:
Posts (Atom)

