timmyomahony / craft-matrix-field-preview

Configure a screenshot preview for all your matrix field blocks, giving your clients a better publishing experience.
https://plugins.craftcms.com/matrix-field-preview
Other
16 stars 4 forks source link

Preview image stored in local asset folder not showing up in modal #99

Open evenromo opened 2 years ago

evenromo commented 2 years ago

Hi

Having this weird issue where when i upload a preview image for one of my blocks it shows up in Settings section of Matrix Preview but when i open the Matrix Preview Modal when editing an entry it indicate that i havent uploaded a image yet. I changed the preview location from a S3 bucket to a local folder within the project.

What could cause this?

Craft: 3.7.55.2 Matrix Field Preview: 3.0.2 PHP: 7.4

image image
timmyomahony commented 2 years ago

@evenromo that's strange. Is the image loading correctly on the inline preview for that field? In other words this one:

screenshot-6

timmyomahony commented 2 years ago

Also, are there any obvious errors or 404s being shown in the console for that image?

evenromo commented 2 years ago

@timmyomahony No 404 errors and the image does not show up in the thumbnail either. I was switching back and forth between different Asset sources, local and s3. And trying to upload to the both of them. Could it be that thats what causing it? That the DB struggles to keep up? idk 🤷

timmyomahony commented 2 years ago

I think this is a bug with the Craft 3 version. Just tried it out myself and it seems to be doing the same for me. I'll investigate a bit more

evenromo commented 2 years ago

Ok cool. Thanks for the quick reply 🥇