IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

How do you link the image to the article?

  • Lalo Putelli
  • Lalo Putelli's Avatar Topic Author
  • Offline
  • Junior Member
More
2 weeks 4 days ago #179471 by Lalo Putelli
How do you link the image to the article? was created by Lalo Putelli
I have to pass all the info of a site that I created many years ago and that is still current with joomla and k2, but I see in the db that it does not have an image field, where it saves the name and nothing. Check the name of an image that corresponds to the last article, to see if before or after the file name was the id number, and you know what? any.
My question is how do you link the image to the article?
Thanks!

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

More
2 weeks 13 hours ago #179484 by Fotis
Replied by Fotis on topic How do you link the image to the article?
The K2 item image filename is a hash containing the ID of the item.

See how it's built here: github.com/getk2/k2/blob/master/components/com_k2/models/item.php#L111

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum