Return to Snippet

Revision: 49404
at July 21, 2011 09:19 by iroybot

Initial Code
// 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="" />';

Initial URL

Initial Description
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)

Initial Title
Joomla! K2 image naming...

Initial Tags

Initial Language