veda-consulting-company / uk.co.vedaconsulting.mosaico

Other
39 stars 75 forks source link

Uploaded images are blank #545

Closed LuckyfishSoftware closed 2 years ago

LuckyfishSoftware commented 2 years ago

This is a re-issue of this thread, which was closed a posted solution.

When I create a new mailing using the versafix-1, add a section block, then upload a photo... Screenshot 2022-11-09 170232

...the photo uploads and a thumbnail of the photo is shown temporarily... Screenshot 2022-11-09 170649

...then photo then disappears Screenshot 2022-11-09 170518

I've tried this with photos that have worked in the past. This feature used to work for me as of July.

I am running CiviCRM 5.55.1 with the most recent Mosaico extension (2.10.1665574809) on Wordpress using PHP 7.4. I tried the prior release of the Mosaico extension and got the same results. This makes me think the problem is related to an incompatibility with a CiviCRM update.

LuckyfishSoftware commented 2 years ago

I believe I had resolved this issue. It appears to be related to the Wordpress permalinks cache.

CiviCRM just gave a warning and asked that I clear this cache by going to Settings->Permalinks and clicking Save Changes. After doing that, the photos displayed correctly in the versafix template.