The valign bottom places the 'A' at the bottom of the image and middle places the 'A' at the top of the image. I would like it to be placed in the middle both vertically and horizontally.
Nice bug catch! I'll put it on the list for fixes.
In the meantime, I believe the workaround is to omit the &valign= parameter as center/middle is the default setting unless you tell ImageGen otherwise.
No, no workaround. Sorry. Please contact me through my website and I'll email you a custom dll that fixes the valign bug to get you going. I'll incorporate the fix into the next release.
text will not valign
The following link will not show the text in the center of my image:
/umbraco/ImageGen.ashx?image=/media/circle_green.png&text=A&fontsize=20&fontcolor=white&align=center&valign=bottom
The valign bottom places the 'A' at the bottom of the image and middle places the 'A' at the top of the image. I would like it to be placed in the middle both vertically and horizontally.
Can you help.
Thanks
Gary Prothero
Nice bug catch! I'll put it on the list for fixes.
In the meantime, I believe the workaround is to omit the &valign= parameter as center/middle is the default setting unless you tell ImageGen otherwise.
cheers,
doug.
doug,
Removing the valign attribute put the text at the top of the underlying image:
/umbraco/ImageGen.ashx?image=/media/circle_green.png&text=A&fontsize=20&fontcolor=white&align=center
Any other suggestions to get the A character in the center of the green.png?
Gary Prothero
No, no workaround. Sorry. Please contact me through my website and I'll email you a custom dll that fixes the valign bug to get you going. I'll incorporate the fix into the next release.
cheers,
doug.
I realize this is an old bug report but wanted to mention that ImageGen 2.5 (now released) resolves the valign bug.
cheers,
doug.
is working on a reply...