John Jackson
John Jackson

Reputation: 25

is there a way to put images on top of each other?

I want to know if there is a way in PHP which I could place transparent images on top of each other. The concept goes like this:

I don't have a single idea on how to do this since I am still new to PHP.

I have a little preview of what I want: https://sanderc.net/avatar/create.php

edit: Changed the preview link.

Upvotes: 2

Views: 82

Answers (1)

SM Imtiaz Hussain
SM Imtiaz Hussain

Reputation: 447

If you want to do something like in the demo. then you need css as well. some links given below. hope it will be of some help to you.

https://www.google.com/search?ei=zSv-XICHJ_WZmgfl_5CQCQ&q=image+on+top+of+another+image+css&oq=image+on+top+of+another+&gs_l=psy-ab.3.1.0l2j0i22i30l8.227906.227906..230842...0.0..0.170.170.0j1......0....1..gws-wiz.......0i71.X4ZIg9BRrzg#kpvalbx=1
http://www.corelangs.com/css/box/ontop.html
http://jsfiddle.net/danield770/nFvUu/3/
http://www.corelangs.com/css/box/ontop.html

Upvotes: 2

Related Questions