Hello!

Edit: Title error, I ment, of course, Text line break after X words, or pixels.

Please help me out with a hude problem with ImageMagick.

I have a text action that goes like this:

foreach ($image_context['referring_entities']['field_wordimagepick']['node'] as $nid => $node) {
  $bodyvar = $node->body['und'][0]['value'];
}
return $bodyvar ;

The problem is that if the body field is bigger then my image, the text goes outside the screen.

How can I hack the module to fix this?

Can it be done in a neat way in the PHP-field?

Comments

MxRhd’s picture

Since doing with Pixels seems so hard, I'm going to have to go with just shortening the string per Word with PHP, but bounding boxes would be so awesome for ImageCache Actions...

fietserwin’s picture

Status: Active » Closed (duplicate)
fietserwin’s picture

Issue summary: View changes

title error