1
hervet
TinyEditor, how to remove pictures dimensions
  • 2007/10/27 9:49

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

When an image is inserted via TinyEditor in the text (with the stamp button) the editor also includes its dimensions (attributes "width" and "height")

Is there a way to insert pictures without dimensions ?

Bye,
Hervé

2
nachenko
Re: TinyEditor, how to remove pictures dimensions
  • 2007/10/27 12:19

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


I think CSS overrides these HTML parameters. What if you insert a style like this?

width: auto; height: auto;

3
hervet
Re: TinyEditor, how to remove pictures dimensions
  • 2007/10/27 12:36

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Yes that's an idea but I'm not sure that it will run with all browsers.

The problem is that sometimes you can change the picture with another on and with different dimensions and if the pictures dimensions are stored with the article, then you see the picture with the dimensions of the "old" picture.

4
frankblack
Re: TinyEditor, how to remove pictures dimensions
  • 2007/10/27 14:56

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


When you are in Toolsets, you can set up valid elements for the code that is allowed in a text. Select the standard commandset for valid elements from the dropdown and remove width and height from the img-element.

This might help?

This might help too

5
hervet
Re: TinyEditor, how to remove pictures dimensions
  • 2007/10/27 17:58

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Thanks Frank !

TinyEditor is full of surprises and really customizable.

Login

Who's Online

241 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 241


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits