# FCKEditor

**URL:** <https://www.ruby-forum.com/t/fckeditor/140225>\
**Category:** Rails\
**Created:** [June 12, 2008, 1:33am UTC](https://www.ruby-forum.com/t/fckeditor/140225 "2008-06-12T01:33:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![heimdull](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f4b2a3/32.png) [@heimdull](https://www.ruby-forum.com/u/heimdull)\
**Post date:** [June 12, 2008, 1:33am UTC](https://www.ruby-forum.com/t/fckeditor/140225/1 "2008-06-12T01:33:30Z")

</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:** ![heimdull](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f4b2a3/32.png) [@heimdull](https://www.ruby-forum.com/u/heimdull)\
**Post date:** [June 12, 2008, 2:19am UTC](https://www.ruby-forum.com/t/fckeditor/140225/2 "2008-06-12T02: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:

> 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:** ![heimdull](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f4b2a3/32.png) [@heimdull](https://www.ruby-forum.com/u/heimdull)\
**Post date:** [June 12, 2008, 6:29am UTC](https://www.ruby-forum.com/t/fckeditor/140225/3 "2008-06-12T06:29:12Z")

</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:** ![heimdull](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f4b2a3/32.png) [@heimdull](https://www.ruby-forum.com/u/heimdull)\
**Post date:** [June 24, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/fckeditor/140225/4 "2008-06-24T22:24:43Z")

</div>

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

Full Rails 2.1 support.
