M
M
Maxim2016-07-05 09:06:38
ruby
Maxim, 2016-07-05 09:06:38

Split image into parts(px)?

There is a large image on which there will be icons, I want to make it so that:
1. Clicked on the image
2. A large image opened
3. Selected an icon on this image
4. Got (I don’t know what to call it correctly here) the background-position of this icon on the image
5 .Added this value to php variable.
Tell me, please, what libraries are there or give me an idea.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Adamos, 2015-12-28
@Adamos

Do you have to reinvent the wheel?
Or you can use the good old ?

A
Alexander Bulgakov, 2016-07-05
@alebul

htmlbook.ru/html/area

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question