# FCKEditor

**URL:** <https://discuss.rubyonrails.org/t/fckeditor/30518>\
**Category:** rubyonrails-talk\
**Created:** [June 11, 2008, 11:33pm UTC](https://discuss.rubyonrails.org/t/fckeditor/30518 "2008-06-11T23:33:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freddy\_Andersen](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Freddy\_Andersen](https://discuss.rubyonrails.org/u/Freddy_Andersen)\
**Post date:** [June 11, 2008, 11:33pm UTC](https://discuss.rubyonrails.org/t/fckeditor/30518/1 "2008-06-11T23:33:04Z")

</div>

Hi,

I was using fckeditor in a rails app for editing some static pages (CMS Lite 🙂 ) and now I wanted to upload images/pdfs and link to these using the built in functions in fckeditor... The upload works fine and the links are created BUT the links are all wrong...

If I upload a sample.gif the link is created as /sample.gif ? the file on the file system is /public/uploads/images/sample.gif.. I'm guessing there is something inside my fck install thats broken?

Anyone using this setup?

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [June 12, 2008, 12:19am UTC](https://discuss.rubyonrails.org/t/fckeditor/30518/2 "2008-06-12T00:19:33Z")

</div>

Not familiar getting fckeditor working with a Rails app, but I remember running into a similar problem getting it work with Drupal...

I had to edit a config file, fckeditor/editor/filemanager/connectors/php/config.php. Paths were defined there.

Like I said, not familiar with getting fckeditor working with Rails.. is there a Ruby connector you had to drop in or something?

heimdull wrote:

---

<div class="post-metadata">

**Author:** ![Freddy\_Andersen](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Freddy\_Andersen](https://discuss.rubyonrails.org/u/Freddy_Andersen)\
**Post date:** [June 12, 2008, 4:14am UTC](https://discuss.rubyonrails.org/t/fckeditor/30518/3 "2008-06-12T04:14:00Z")

</div>

This is the plugin -\> [http://fckeditor.caronsoftware.com/](http://fckeditor.caronsoftware.com/)

Everything else works but when fck creates a link to an image that was uploaded in the fck upload directory the link does not have anything infront (empty URL just the image name)...

---

<div class="post-metadata">

**Author:** ![Freddy\_Andersen](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Freddy\_Andersen](https://discuss.rubyonrails.org/u/Freddy_Andersen)\
**Post date:** [June 24, 2008, 8:23pm UTC](https://discuss.rubyonrails.org/t/fckeditor/30518/4 "2008-06-24T20:23:59Z")

</div>

This problem is now fixed with the latest 0.5.1 release of this plugin...

Full Rails 2.1 support.
