Dear support,
I integrated FCKEditor on my website, and everything is working perfectly. Except: when I upload an image through the default image uploader, the following occurs:
1. I select 'upload image'
2. I choose 'browse on server' (bladeren op server in dutch)
3. I select a file and choose 'upload'
4. I select my uploaded file and get to the prior Image Popup Window
5. Here the dimensions of my image are 0 x 0 pixels!
6. I reselect 'browse on server'
7. I reselect my uploaded file
8. Now the dimensions are OK
I figured out this 'work around', but my clients aren't. What is going wrong here?
I integrated FCKEditor on my website, and everything is working perfectly. Except: when I upload an image through the default image uploader, the following occurs:
1. I select 'upload image'
2. I choose 'browse on server' (bladeren op server in dutch)
3. I select a file and choose 'upload'
4. I select my uploaded file and get to the prior Image Popup Window
5. Here the dimensions of my image are 0 x 0 pixels!
6. I reselect 'browse on server'
7. I reselect my uploaded file
8. Now the dimensions are OK
I figured out this 'work around', but my clients aren't. What is going wrong here?
Re: image upload 0 pixels
Am I understanding your image width and height fields are 0 and 0 ?
Is the image visible, or is it also 0 and 0?
Is the image displaying in the preveiw area while teh fields are 0 and 0, or do you see an image placeholder (with the X in it).
FCKConfig.BaseHref = 'http://www.yourdomain.com/' ;
If this is off, even not having a slash at teh end, your image paths will not have the slash after your domain name either. The funny thing is that checking for files again has (for me) over come this to, just like with you.
Having no slash at the end of the domain name will make the followin path to your images:
http://www.yourdomain.comimages/image.img
notice .comimages/
Ensure you also have the Browser paths correct. A sign that one is wrong is when files from one folder work but not another.
Make sure you check this for every Browser function you use.
Example:
FCKConfig.ImageBrowser = true ; //enable the browser for the image files
FCKConfig.ImageBrowserURL = 'relative path to/browse.php?type=images'; //Ensure the Browser is set to th erelative path of teh images folder.
Don't forget to verify the:
FCKConfig.ImageUpload = true ; //same here
FCKConfig.ImageUploadURL = 'relative path to/upload.php?type=images'; //same here
Most of these issues are the paths having typ-"o"s
Another last item is to verify you have GD running on your server - Check this using phpinfo().
Good Luck,
dennishall