gd - Php, rotate and paste thumbnails in circle -


i'm trying create image in server, composed of 12 different images distributed in circle (like numbers in clock: image corresponding number 6 should vertically flipped. every new image rotates 30ยบ), can't find proper way so. have tried composition client-side (with aim upload it) css , using html2canvas create new image in base64, doesn't support 'rotate', , 'translate' properties yet. experiments i've done in server, far, result in bunch of black squares contain portion of rotated image... images png , have no alpha. advice on this?

try below code js fiddle

    <img src="http://lorempixel.com/output/nature-q-c-100-100-9.jpg"/> img{     border-radius:50%;         -webkit-transition: -webkit-transform .8s ease-in-out;     -ms-transition: -ms-transform .8s ease-in-out;     transition: transform .8s ease-in-out;   } img:hover{     transform:rotate(360deg);     -ms-transform:rotate(360deg);     -webkit-transform:rotate(360deg); } 

code courtesy : https://stackoverflow.com/users/1811992/web-tiki


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -