Image Linking in WYSIWYG incorrect

5 posts by 3 authors in: Forums > CMS Builder
Last Post: January 21, 2010   (RSS)

By misery217 - January 19, 2010

When I first installed CMSB, I had the address set to http://174.143.92.42/waxahachiechamber.com in General Settings in order to work on it before it went live. Now, after going live, everywhere it should in the admin panel, it reads http://waxahachiechamber.com as it should....

However...

When adding an image in the WYSIWYG editor for ANY page, it lists the image URL as http://174.143.92.42/emediacms/uploads/Website_File.jpg when it is SUPPOSED to read http://waxahachiechamber.com/emediacms/uploads/Website_File.jpg. (Website_File.jpg is of course being used for any image....)

I can find absolutely no way to fix this aside from manually changing it every time I post a new image, which is unacceptable to our end-user.

Re: [misery217] Image Linking in WYSIWYG incorrect

By Dave - January 20, 2010

Hi misery217,

So is it just previously uploaded images that don't work or do images uploaded on the new server not work either?

Here's some suggestions. First, check that this option is unchecked under: Admin > General:
WYSIWYG Options [ ] Save full URL for local links and images (for viewers on other domains)

Next, uploaded image store their url (without the domain), so if the url on the development server was different you'll need to update the uploads in the database.

The easiest way to do that is to:
- Make sure you're running a recent version with Backup/Restore functions
- Go to: Admin > General > Database Backup
- Create a backup and download it.
- Create a backup of your backup.
- Open the backup file and search and replace http://174.143.92.42/waxahachiechamber.com/ with /
- Search for any other instances of 174.143.92.42
- Upload your backup file and restore it.

Let me know if that works for you. If it doesn't we can take a closer look at the server and see what the issue might be.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [misery217] Image Linking in WYSIWYG incorrect

By Chris - January 20, 2010

Hi misery217,

It's possible that the editor you used to do your search-and-replace somehow mangled the file. I'd try it again from a fresh file, and if that doesn't work, please send me the file as an attachment in a private message.

Note: Don't post it here! It'll include your accounts table with your CMS Builder login info!
All the best,
Chris

Re: [chris] Image Linking in WYSIWYG incorrect

By misery217 - January 21, 2010

Thanks Chris,

yeah, I tried that to the no avail as well... I'm sending it along to you...