Keyword

Where is the Image Path?

  • Phili Gran
  • Phili Gran's Avatar Topic Author
  • Offline
  • New Member
More
12 years 5 months ago #65745 by Phili Gran
Where is the Image Path? was created by Phili Gran
Hey,

im developing an Android App that gives me the content from K2 on my phone.
So i have access to the k2_categoires and k2_items table and im displaying the data.
That wokrs fine.
In K2 I can set an image to each item but this image has no path in the k2_items table.
My question is: Where is that path so I can work with?
I have the title, the introtext and the fulltext from k2_items but no image path.

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

More
12 years 5 months ago #65746 by Aimery Marsily
Replied by Aimery Marsily on topic Re: Where is the Image Path?
Hi, that's normal they use MD5 on the text "Image" + ID of the items so to get the image path :
Log in  or Create an account to join the conversation.

  • Phili Gran
  • Phili Gran's Avatar Topic Author
  • Offline
  • New Member
More
12 years 5 months ago #65747 by Phili Gran
Replied by Phili Gran on topic Re: Where is the Image Path?
hey

thanks for the reply but i cant handle this.

i connect to my database in a seperate php-file.
this has nothing to do with joomla so far.
and i dont know how to get the path with your echo in my script?!
can you help me out?

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

More
12 years 5 months ago #65748 by Aimery Marsily
Replied by Aimery Marsily on topic Re: Where is the Image Path?
The code I gave you have nothing to do with joomla except the JURI part, so instead of :
Log in  or Create an account to join the conversation.

  • Phili Gran
  • Phili Gran's Avatar Topic Author
  • Offline
  • New Member
More
12 years 5 months ago #65749 by Phili Gran
Replied by Phili Gran on topic Re: Where is the Image Path?
thank you very much!

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