Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Aron 12 posts 43 karma points
    Feb 17, 2014 @ 11:39
    Aron
    0

    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

     

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Feb 18, 2014 @ 10:49
    Hendy Racher
    100

    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

  • Aron 12 posts 43 karma points
    Feb 18, 2014 @ 11:09
    Aron
    1

    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

     

Please Sign in or register to post replies

Write your reply to:

Draft