EE4 compatibility updates:

  • Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field (it's in the works).
  • Reel is EE4 and EE5 compatible, but it does not currently support the Fluid field.

Ticket: Assets in bloq not showing in live preview

Status Resolved
Add-on / Version Bloqs 4.0.18
Severity
EE Version 4.3.7

Andrew Studios

Jan 16, 2019

Having a similar issue to https://boldminded.com/support/ticket/1747 ... where Asset bloqs (in my case it’s a single asset field that allows multiple images to be selected for a gallery) don’t show the images in live preview. They do show up fine in the live site, etc. I do not have Publisher installed.

I’m assuming that the issue was resolved in the above support ticket ... but the last comment is private, so I can’t see what the solution was.

Any help is much appreciated.

Cheers.

#1

BoldMinded (Brian)

Jan 17, 2019

I’m 99% certain this is an Assets issue, not Bloqs, and a general issue with Assets and Live Preview. Since Assets stores images on a remote server, it can’t render temporary files. This is an issue for EEHarbor to figure out since Assets is the field that is actually fetching the image data. Bloqs doesn’t make any queries to 3rd party add-on tables in general.

#2

Andrew Studios

Jan 17, 2019

Thanks Brian,

I wasn’t sure, as the images outside of Bloqs were showing in Preview, so I figured that this was the right place to start. Happy to contact eeHarbor about the issue.

Cheers!

#3

BoldMinded (Brian)

Jan 17, 2019

Even newly added images are showing in the preview before you save the entry?

#4

Andrew Studios

Jan 17, 2019

I hadn’t checked that ... but no, Asset images don’t update in the preview if you open an entry, open preview, replace the image ... the preview does not change. The entry must be saved, then opening the preview it shows. This is all *outside* of Bloqs.

Any image in an Asset field in Bloqs does not show in preview no matter what I do. I tried to just output the {image:server_path} and nothing shows up (in preview) whether it’s saved or not.

I’m going to send this thread to eeHarbor to loop them in.

#5

BoldMinded (Brian)

Jan 18, 2019

I’m interested to hear what they’ll say. As far as a fieldtype goes, Bloqs is basically a glorified Grid field. If a fieldtype works in Grid, it should work in Bloqs. Bloqs doesn’t make any extra database queries, or any conditional parsing or method calls on a fieldtype. It just straight up calls the fieldtype’s replace, display, save etc methods just as if it were inside of Grid. So, with that said, I’d be interested to see if Assets fields preview correctly inside of Grid.

#6

BoldMinded (Brian)

Jan 24, 2019

I did some debugging and I’m about 99% sure its an issue on Assets’ side, specifically with it’s pre_process function in the ft file. I’ve passed this info along to Jace. For now, I’m going to close this ticket. If for whatever reason you need to re-open it you can.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.