Hi Their. love the module, a massive improvement over imagefield. This feels like a much more modern approach.

I'm using <?php print $node->field_mainimage[0]['filepath'] ?> to call my images filepath, under my img's src attribute and it's working great.

I'd like to be able to use something like <?php print $node->field_mainimage[0]['width'] ?> to call my image's width value (and height as well). I had a look at your code, and I saw there was a way of calculating the width etc, but I don't know enough about module creation (or php) to get in there and change anything.

Cheers

Comments

jpetso’s picture

Status: Active » Closed (won't fix)

This module is now phased out in favor of FileField/ImageField 6.x-3.0. All issues are "won't fix" because the module is essentially dead. Please have a look at the project page for some explanations.