How to make Image Style like this?
This, and this? i was copy the template code but it was failed
You should clarify what do you mean. Where exactly did you take the code from (link), where did you put the code (link), what's exactly the style you want and what failed.