乔姆拉!K2图像命名。。。
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了乔姆拉!K2图像命名。。。相关的知识,希望对你有一定的参考价值。
If you wanna use images stored by K2 in your custom scripts/classes you'll need to know how K2 generates the names... (took me quite a bit to find that, because they're not stored in the _k2_items table)
// for example: to get the path for a large image echo '<img src="'.$_SERVER["DOCUMENT_ROOT"].'/media/k2/items/src/'.md5("Image".$item["id"]).'_L.jpg'" alt="" />';
以上是关于乔姆拉!K2图像命名。。。的主要内容,如果未能解决你的问题,请参考以下文章