a wee weblog, since 2006

Pointee Fieldtype

27Sep
2011

Pointee is an EE2 fieldtype which stores the x & y coordinates of a users click on an image. (Think maps, or image tagging)

Pointee
Pointee

The image can be pre-defined per field, or alternatively your publishers can upload/select an image per entry using the EE filemanager.

Documentation

If your pointee field has the shortname of my_field, you can access the various attributes using the following tags/methods:

{my_field:img} 	/ returns the image url
{my_field:x} 	/ returns the x coordinate
{my_field:y} 	/ returns the y coordinate

You can offset the x/y coordinates using an offset parameter, for example:

{my_field:x offset="+8"}
{my_field:y offset="-22"}

Example

As captured 9 May 2021 · The archived original