Can't resize image

About the template and stylesheet - and changing the menu
Post Reply
maeg
Posts: 525
Joined: Fri Feb 20, 2009 2:27 pm
Location: Agerbæk, Denmark
Contact:

Can't resize image

Post by maeg » Sun Aug 17, 2014 7:54 am

Hi

I'm working on a new website for my self.

I have a strange problem. When i'm in "edit mode" and try to resize a image, it jumps back to the main size, but when i switch to "se mode" the size looks ok.

I'm think it is a error in my template, but i can't find the bug

Url: jmnet.dk/nysite

I hope someone have the magic words ;)

Have a nice day

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Can't resize image

Post by cmb » Sun Aug 17, 2014 11:47 am

maeg wrote:When i'm in "edit mode" and try to resize a image, it jumps back to the main size, but when i switch to "se mode" the size looks ok.
That might be related to the resonsive design. When you are in view-mode the "screen" size is the size of the browser window; when you are in edit-mode the "screen" size is the size of the editor window (which is usually much smaller). So different @media rules may apply.

Something to take into account here: when an image is resized with TinyMCE, its width and height HTML attributes are set. However, these attributes are overridden by the CSS properties width and height.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply