Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Channel Images are not showing image

Status Resolved
Add-on / Version Publisher 1.4.2
Severity Critical
EE Version 2.9

Ahmet Cetin

Aug 22, 2014

Entry page is not showing the image in Channel Images field when I view the draft. When I click on Published button to view, image is there. In addition, even more seriously, I selected Users channel to be ignored in the Publisher’s settings, but it doesn’t show image at all. I upload the image, save the entry, and then edit the same entry again, the image that is uploaded no longer shown in Channel Images field. On the other hand when I check the front end page showing that entry, I can show the image.  You can check it using Users or Malls or News channels. In Users channel (which is marked to be ignored in settings), you can check the user Ahmet Cetin. There is no image shown in Picture field. I also attached the screenshot of the profile page of that entry, which shows the picture saved in Picture field.

Simply put, there is a problem in the control panel edit entry page. There is no any javascript error so I’m stuck.

#1

BoldMinded (Brian)

Ahmet, you’ll have to take this to DevDemon since they are responsible for adding Publisher support to their add-ons. I thought they took care of this, but maybe there is a bug with their code?

#2

BoldMinded (Brian)

Closing as this is an issue with Channel Images not supporting the ignored channels option. I have provided instructions to the DevDemon team to fix this.

#3

Ahmet Cetin

Hi Brian, The developer from devdemon who is responsible for integrating Publisher was asking you a question about it. I don’t know if you have received. Here I’m pasting it. Can you pls reply him? (support+s8bfcmsqhkrlrqj0@devdemon.besnappy.com)

Hi,

I am the developer of Channel Images responsible for the Publisher integration.

Brad asked me to do some digging and find out whats happening.

Lets start with why no images are being displayed on existing entries. The reason is simple, the entry is being viewed in draft_mode but all the images are saved in “live_mode”. In the channel_images table we have a is_draft column which is either 0 or 1. In your case they are all 0 meaning, all the images are in “live mode”.

With Better Workflow if the entry is being opened in draft for the first time, it would trigger a “draft_create” event which Channel Images hooks into and copies all images from live to draft.

With Publisher we only get the chance to do this when the entry is submitted. See: http://par.sc/SwaU/3yIMcpA4 So the question to Brian is: When publisher opens an existing entry, it always does that in draft mode right? Any tips on how we can properly detect this to quickly copy all the images in draft mode? I could in the display_field() method do some checking and make it happen, is this the way to go?

#4

BoldMinded (Brian)

Sent the info he should need.

#5

BoldMinded (Brian)

Closing as this has moved to email and DevDemon should have the info they need.

Login to reply