Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-05-22 07:37:40
- wii
- Member
- Registered: 2005-05-08
- Posts: 77
Can I add width and height to images using textile ?
I´m using the exclamation marks to insert pictures, but can I also add width and heigth using textile ?
Thanks
Offline
Re: Can I add width and height to images using textile ?
It seems that Textile cannot add atribute height\width. But you can do like this:
!{height:50px;width:30px}http://clip2net.com/clip/m2737/1211444208-clip-1kb.png!
↓
<img src="http://clip2net.com/clip/m2737/1211444208-clip-1kb.png" style="height:50px;width:30px;" alt="" />
{Rectified spammy link. Thanks for reporting, gaekwad. – Uli}
Last edited by uli (2013-04-03 15:26:16)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#3 2008-05-22 08:38:55
- wii
- Member
- Registered: 2005-05-08
- Posts: 77
Re: Can I add width and height to images using textile ?
Cool, thanks
Offline
Re: Can I add width and height to images using textile ?
I prefer using the textpattern tag (<txp:image id="##" />
)as I do not need to do any changes either to the articles or templates should I decide to change the image.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline