I understand how it works but can't see an example of how the image points and the associated data can be used practically in an image map or similiar.
Can you point to an example of the type of functionality you'd like to implement ?
For an image map, would single points of a given size suffice ? if so then you could just loop though the data rendering out <area shape="circle" coords="x, y, size" ... />
You could also use this datatype to describe shapes, where looping though the data could render out <area shape="poly" coords="x1, y1, x2, y2 ..." />
Thanks for the reply, the client wants to have a homepage image and then be able to choose and regularly change 'hot spot' points on it so the end users can click on or hover over them. I'll get the client to create the points and generate the areas based on a set size/shape. The ImagePoint datatype will be perfect for this and works really well.
uComponents Image Point Datatype
Does anyone have a working practical example of where they have used the uComponents Image Point datatype?
http://blog.hendyracher.co.uk/image-hot-spots-in-umbraco/
I understand how it works but can't see an example of how the image points and the associated data can be used practically in an image map or similiar.
Any help would be great,
Cheers,
Aron
Hi Aron,
Can you point to an example of the type of functionality you'd like to implement ?
For an image map, would single points of a given size suffice ? if so then you could just loop though the data rendering out <area shape="circle" coords="x, y, size" ... />
You could also use this datatype to describe shapes, where looping though the data could render out <area shape="poly" coords="x1, y1, x2, y2 ..." />
Cheers,
Hendy
Hendy
Thanks for the reply, the client wants to have a homepage image and then be able to choose and regularly change 'hot spot' points on it so the end users can click on or hover over them. I'll get the client to create the points and generate the areas based on a set size/shape. The ImagePoint datatype will be perfect for this and works really well.
Thanks again,
Aron
is working on a reply...