Hi, if found this module worked far better than alternatives, so thank you.
I'm just having trouble aligning text.
I want to generate a block of text with the words aligned to the right, I had set what a presumed are the correct settings but the preview still aligns to the left, I have attached a screen grab of my text-image settings page, pls help, thanks.
drupal 6x textimage 2.x-dev

CommentFileSizeAuthor
#3 textimage_screen.jpg154.77 KBsittard
TI_AR.png197.81 KB8bitplateau

Comments

deciphered’s picture

Title: Align Right » Proper text alingment.
Category: bug » feature
Status: Active » Postponed

Hi,

Unfortunately the module is working as expected, it is aligning the generated text box inside the bounding box and as the bounding box is the same size as the text box by default you would see no difference. If you where to assign a maximum width larger than the generated text box while using the fixed width option then you would notice a difference.
The only true benefit of this functionality is for lesser amounts of text, preferably one line.

I will mark this as a feature request. It is something that I definitely intend to implement but it is likely to be a complex change and not likely to be introduced too soon due to other obligations.

Cheers,
Deciphered.

8bitplateau’s picture

ok thanks for the explanation, would love to see it implemented in the future ;)

sittard’s picture

StatusFileSize
new154.77 KB

I also need the text-align right feature. I've entered a maximum width (350px) which is larger than the generated text box and have selected the option 'fixed width' as suggested above (see attached screen grab).

The output is ALWAYS aligned left even with only one line of text as suggested above.

Any ideas.

sittard’s picture

This issue seems to revolve around line 764 (textimage.module').

      $x = 0; //init $x pos to zero for each new line.

Setting the $x pos to zero effectively left aligns every single line.

sittard’s picture

Category: feature » bug
Status: Postponed » Active
mondrake’s picture

Category: bug » feature
Status: Active » Fixed

Fixed in 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.