Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[textile] invalid img output
Hi, I’ve settled for raw <img>s for now,
but is it possible to add width and height attributes to !imageurl(alt)!
at all?
This invalidity really bothers the geek in me.
Offline
Re: [textile] invalid img output
This would require to re-calculate the attributes with every page view, even for external images, an attempt to grind your server to a screaming halt. If you wanted to have size attributes for your local images, try <txp:image />
or some of the image handling plugins like upm_img_popper.
To your inner geek: Neither height
nor width
are mandatory attributes per W3C.
Offline
Re: [textile] invalid img output
Thanks Robert, think I’ll take the <txp:image> path. Still not 100% comfortable about 777 folders (had bad experience) though…
Offline
Pages: 1