You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#101600 k2 images inserted via jce not shown

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Thursday, 07 November 2019 12:49 GMT

nazcas
Im using latest jce pro 2.6.38 and K2 v2.9.0
im trying to insert images via jce img extended but the problem is that images will not be shown on the category view of k2.
is there a way to make k2 see images inserted via jce as the article image?
this question has been asked several times but cant fins a clear answer?

Ryan
I'm not sure I understand the question here, but this sounds like a K2 issue to me.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

nazcas
the problem is that now any images inserted via jce in k2 article section is not seen as an article image by k2. so any image operations will not be applied.

Ryan
This is working in my tests, although I'm not that familiar with K2.

Please post a link to an example article / category view.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

nazcas
ok here is the code in php that is forcing to show images inserted via k2 but not showing any image inserted via jce
this should give some idea on the reason

nazcas

 echo $this->item->image; ?>"
what can I substitute to show images inserted via jce

nazcas
anyone there?

Ryan
Please post a link to an example article / category view on your site where you are seeing an issue.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
Images inserted with JCE into a K2 Item or Category are only even done so into the editor in the Content tab, using and html tag, eg:

<img src="https://www.joomlacontenteditor.net/tree.jpg" alt="" />
How K2 displays these images in the front-end added via JCE is not under the control of JCE. I am not able to comment or suggest a way that this could be changed via a code change in K2.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.