Re: [pod9] Image sizes in WYSIWYG
Hi,
It appears that Tinymce (which is the wysiwyg editor) doesn't support multiple images sizes like that.
Here is a work around that might work for you.
If you go into cmsAdmin/lib/wysiwyg.php (or wysiwyg_custom.php if you're using that) you can add an advanced image plugin.
Find the function that looks like this:
tinyMCE.init({
mode : "exact",
theme : "advanced",
....
Add the sections highlighted in red:
extended_valid_elements :"script[language|type] a[name|href|target|title|onclick]",
......
plugins: "inlinepopups,contextmenu,table,fullscreen,paste,media,spellchecker,advimage",
If you go to your wysiwyg editor now (you may have to clear your cache) and click on the image button, you'll have a different window.
Select the large image for the best results. If you go to the "Appearance" tab, you'll see a spot where you can change the dimensions of the image. Underneath will be a check box called "Constrain proportions". This will keep the ratio of height to width the same automatically.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/