error using <?php printImageData

hi gang

I have a little problem getting a print image data tag to work.

`

<?php printImageData(location, Location)?>

<?php printImageData(state, State)?>

<?php printImageData(city, City)?>

<?php printImageData(country, Country)?>

`

I have gotten all of them to work except the country one.

I get an error

`

Fatal error: Call to undefined method Image::getContry() in /home/olihar/public_html/album/zp-core/template-functions.php on line 1365

`

Any ideas what is wrong?

`

Edit:

and is there a good way to display someting like.

Location, State, City, Country

one line with the commas

`
Edit 2:
I have gotten the one line with commas to work "fine" now. still trying to figure out what is wrong with the country tag.

Comments

  • Semes there is a typographical error in line 1365. the function should be `getCountry` with a 'u'. You can make that change. We will apply this fix in the nightly build.
  • Excellent I didn't even notice the spelling error when I had a read through. Thanks a lot mister.
Sign In or Register to comment.