Keyword

[SOLVED] K2 Image To Article Place

  • Massoud
  • Massoud's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 4 weeks ago - 10 years 4 weeks ago #131568 by Massoud
[SOLVED] K2 Image To Article Place was created by Massoud
Hi

I'm want to know where the images assign to articles in K2, I tried to find it in database but couldn't find the image url in tables.

K2 stores images in /media/k2/items/cache but I cannot find where these pictures would assign in Items. would please help me to find it?

Please Log in or Create an account to join the conversation.

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
10 years 4 weeks ago #131569 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: K2 Image To Article Place
Image file names are constructed on saving/modifying items, the constructed name contains the item id encrypted using md5 concatenated with the word "Image" the timestamp of the modification date.

To know how the name is constructed, look at the file /administrator/components/com_k2/views/item/view.html.php, starting from line ~416, this is the starting line:
$date = JFactory::getDate($item->modified);

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum