图像分割数据集(图片拆分器)
图片集分割morepic字段内容:
?php$picr=爆炸(egetzy('rn'),$navinfor[morepic]);for($p=0;$pcount($picr);$p++){$spicr=爆炸(':',$picr [$p]);小图片地址:imgsrc='?=$spicr[0]?'/大图片地址:imgsrc='?=$spicr[1]?'/图片名称:=$spicr[2 ]?php}?输出代码:图片集合分割morepic字段内容:
imgsrc='/d/file/sell/2014-07-02/154f3b8dd3c1d6d569d886ad0c6f2800.jpg'/imgsrc='/d/file/sell/2014-07-02/5472a488663bf1af5802948b626dac46.jpg'/imgsrc='/d /文件/sell/2014-07-02/b61ea31ea9f1de3330a79d442b8b59b1.jpg'/imgsrc='/d/file/sell/2014-07-02/b29de812f7e01cb75fa0dfefa1bd3502.jpg'/从图片集中提取图片的第一帧
?php$str=$navinfor[morepic];$exp=explode(':',$str);imgsrc='?=$a=$exp[1];'alt='第一张图片'/? php?输出代码如下:提取第一帧图片
imgsrc='/d/file/sell/2014-07-02/154f3b8dd3c1d6d569d886ad0c6f2800.jpg'alt='第一个'/