Hello. I am new to CMS Made Simple and I have been asked to correct this problem on a site. I have looked through other posts here concerning this issue and nothing has worked. Any ideas?
URL to page in question: http://sweetwaterhailey.com/index.php/floorplan
CMS Made Simple version: 1.6
As you can see the it is displaying the image code instead of the actual image.
xJSBx
image displaying as text
Re: image displaying as text
That's because the html-code has been made inactive , probably by the WYSIWYG-editor.
Your sourcecode looks like <img style="border: 1px solid #752a09" ..etc..
Where it has to be something like this: <img style="border: 1px solid #752a09" ..etc..
You can go to menu: Extensions » TinyMCE WYSIWYG
and check the option "Show checkbox to turn wysiwyg on/off"
You can now turn off the editor while editing your content.
Your sourcecode looks like <img style="border: 1px solid #752a09" ..etc..
Where it has to be something like this: <img style="border: 1px solid #752a09" ..etc..
You can go to menu: Extensions » TinyMCE WYSIWYG
and check the option "Show checkbox to turn wysiwyg on/off"
You can now turn off the editor while editing your content.
Re: image displaying as text
I went to the above location and this checkbox was already checked and the editor has been turned off. Still no luck.Jos wrote:
You can go to menu: Extensions » TinyMCE WYSIWYG
and check the option "Show checkbox to turn wysiwyg on/off"
You can now turn off the editor while editing your content.
xJSBx
Re: image displaying as text
When I go into the code via the CMS I see this:Jos wrote: Well, you still have to edit the html-code manually![]()
{cms_selflink page='71' text=''}
When I look at the page source via a browser I see the above, but with HTML encoding.
<img style="border: 1px solid #752a09" title="Carriage House" src="uploads/images/carriagehse_thumb.jpg" border="0" alt="Carriage House" width="170" />
These particular images are being encoded. This apparently started happening after the latest upgrade to 1.6. I would also like to understand what changed and why this started.
I am assuming the {cms_selflink....} is pointing to the page that is linked to the image. Is this correct? I can replace the selflink with a href, but like to get some insight before going through the process.
xJSBx
Re: image displaying as text
It's a well known issue 
See here for (an unsupported) workaround to be re-applied after every upgrade.
regards
blast

See here for (an unsupported) workaround to be re-applied after every upgrade.
regards
blast
Re: image displaying as text
Try to use the image parameter:
See also the help section that belongs to the cms_selflink tag at Extentions > Tags
edit: and all the styling stuff should be in your CSS-stylesheet
Code: Select all
<p>{cms_selflink page='71' text='Carriage House' image='carriagehse_thumb.jpg' title='Carriage House' alt='Carriage House' imageonly=1}</p>
edit: and all the styling stuff should be in your CSS-stylesheet
Last edited by Jos on Wed Sep 09, 2009 9:46 pm, edited 1 time in total.
Re: image displaying as text
Thanks for the help everyone. I got it fixed. Here is how I did it.
This is what it was:
{cms_selflink page='71' text=''}
I changed it to:
xJSBx
This is what it was:
{cms_selflink page='71' text=''}
I changed it to:
xJSBx