scan image, create links from content (php hopefully)

不想你离开。 提交于 2019-12-11 01:21:40

问题


I'm not sure if this could work, but I've got pictures of maps with #'s inside a little box on top of the map to show locations. See my image example:

I'm hoping to find a script to 'scan' the image and create links from the number locations (and overlay those links where the boxes are)

In the image example, all the boxes have a 3 in them, but on the other maps they may go from 1 to 400. So I'm hoping to be able to get a link overlay on the boxes sending to another image. Ie, map box #3 would create a link such as http://www.example.com/images/image3.jpg when hovered over. (as long as I can take the # in the box and stuff it in a link over the box.

来源:https://stackoverflow.com/questions/12890512/scan-image-create-links-from-content-php-hopefully

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!