Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-03-01 00:14:16
- hilife
- Member
- Registered: 2007-08-21
- Posts: 11
custom article image size
Hello guys is there a plugin or a way i can resize an article image , i thought this would work..
<txp:article_image custom_width=“integer” />
Offline
Re: custom article image size
custom_width
is not an attribute <txp:article_image />
will recognize. The tag does always output width and height attributes, which is not helpful when you want article images that scale.
There are scads of image plugins, and it’s likely that some give you the image sans width and height. Then you can size the image using CSS. Actually I made my own for this very reason, although I haven’t released it publicly, figuring there are already enough custom image tags out there.
Code is topiary
Offline
Re: custom article image size
i guess what you’re looking for is lam_dynamic_image which resizes images on the fly in whatever dimensions you specify in the tag.
Offline
Re: custom article image size
There is also glx_admin_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
Re: custom article image size
resizes images on the fly in whatever dimensions you specify in the tag.
If the memory limit allows ;) Shared hosts can be tricky when using on the fly resizing, as GD requires a lot of memory when it resizes something. What bigger is the original image, the more it needs memory.
Offline
Pages: 1