Closed timprint closed 12 years ago
Hi Tim
You can just use the href_only="yes"
param, then you can set the rest of the image's parameters as you need in the markup:
<img alt="My image" src="{exp:ed_imageresizer
image="{cf_my_image}"
maxWidth="1000"
maxHeight="1000"
href_only="yes"
}" />
Does that help?
Cheers Will, thanks for your time.
That was the first thing I tried. Works great.
But. It seems to stop the Assets meta data for the file being returned with an Assets fieldtype in a Matrix cell.
Will do some more experimenting.
Perhaps a combination of the two. Let me know how you get on, and good luck!
Having the height returned as a value in the img tag when you only set the width causes a bit of a problem with fluid images. The height stays fixed on resize and doesn't stay in proportion.
Any chance of only having the values being set returned in a future version?
Cheers