Picture editor

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Picture editor

Post by frold »

Like you can find a WYSIWYG editor for html editing I would like to know if you can install a picture/image editor on a php/mysql server that let you edit images etc.

Link and a demo would be cool
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

The author of HTMLarea has been developing an Image Manager/Image Editor add-on. I do not have peronal experience with it, yet:

http://www.zhuo.org/htmlarea/
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

I can not see the image editor you are talking about!
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

now I found it :D You need to press on the pencil icon!
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

BTW... if you just need "limited" image functions, there is a version of HTMLarea at the link below, with an image manager that allows image resizing, layout and spacing:
http://www.webstationone.com/test/htmlarea/
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

DeXXus wrote:BTW... if you just need "limited" image functions, there is a version of HTMLarea at the link below, with an image manager that allows image resizing, layout and spacing:
http://www.webstationone.com/test/htmlarea/
now you can have the editor as a standalone....

http://www.zhuo.org/htmlarea/docs/index.html#editor

download:
http://sourceforge.net/project/showfile ... _id=114794
http://www.studmed.dk Portal for doctors and medical students in Denmark
hofisoft
Posts: 23
Joined: Sat 10. Apr 2004, 00:17

Post by hofisoft »

Hat zufällig jemand den imagemanager schon eingepflanzt in htmlarea ?
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

did anyone tryed to include the image editor into phpwcms?
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

I have now installed it: use it as a plugin:

Download and install this patch
http://sourceforge.net/tracker/index.ph ... tid=543655

Gives the ability to select images base on
auto-generated thumbnails including setting common html
attributes, upload new images, create/delete folders,
delete images and edit images.

Editing images allows basic image manipulation
including cropping, resizing and compression of images
(server side). All image manipulation done through the
GD or Imagemagick libraries.

For installation instructions refer to README.txt in
the archive.
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

Hi Frold,

Correct me if I am wrong.....
but that image editor plugin is for FCK 2, no?

Most interested in a progress report of your own installation....
Can you actually get it configured inside Wcms?

Cheers :D
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

well I use it as a plugin to FCKeditor - but it should work as a standalone....

But I dont know how to let it work with the public and private settings for images and howto let it only look in eg. folder 1 and not 2,3,4,5 etc....
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

If I remember correctly... FCK creates an 'image' folder, by default, based on a path you set in connector.php:

(include/inc_ext/FCKeditor2/editor/filemanager/browser/default/connectors/php/connector.php)

Code: Select all

$GLOBALS["UserFilesPath"] = '/pathToDirectory/' ;
So this might exclude it from working with wcms folder structure.
Not sure if anyone has been able to bypass the default directory creation by FCK.

Might be info on sourceforge boards however.

:D
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

jsw_nz wrote:If I remember correctly... FCK creates an 'image' folder, by default, based on a path you set in connector.php:

(include/inc_ext/FCKeditor2/editor/filemanager/browser/default/connectors/php/connector.php)

Code: Select all

$GLOBALS["UserFilesPath"] = '/pathToDirectory/' ;
So this might exclude it from working with wcms folder structure.
Not sure if anyone has been able to bypass the default directory creation by FCK.

Might be info on sourceforge boards however.

:D
Hey

I doesnt use the build in image solution I use the plugin "ImageManager"

You can see a standalone demo here:
http://www.zhuo.org/htmlarea/standalone.html

To let it work with phpwcms I have found and reused some code.

Open:

include\inc_ext\FCKeditor2\editor\plugins\ImageManager\config.inc.php

Find

$IMConfig['base_url'] = .........

Replace with

if(!isset($phpwcms)) { include_once('../../../../../../config/phpwcms/conf.inc.php'); include_once('../../../../../inc_lib/default.inc.php'); } $IMConfig['base_url'] = '/'.$phpwcms["root"].'/content/images/';

Then you have access to the content/images folder - but this solution will bypass phpwcms file right system... so images set to private will be shown..
http://www.studmed.dk Portal for doctors and medical students in Denmark
Paal
Posts: 204
Joined: Wed 6. Oct 2004, 19:54
Location: Budapest, Hungary
Contact:

Post by Paal »

frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

http://www.studmed.dk Portal for doctors and medical students in Denmark
Post Reply