JS实现鼠标悬停显示图片 https://help.fanruan.com/finereport/doc-view-2478.html
JS实现悬停放大图片 https://bbs.fanruan.com/thread-133897-1-1.html
图片灯箱插件 https://help.fanruan.com/finereport/doc-view-2661.html
你是直接图片存入数据库,以二进制数据保存
点击放大,一个方案,获取数据,弹出新的窗口,引用一个cpt模板,单独展示这个图片就可以
不需要插件