-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placeholder Images Broken After Upgrade to 3.0 #596
Comments
Hi, We are getting a similar error: "Internal GD font () not available. Use only 1-5.". Uploaded images are not showing in the template. |
Fixed in 3.1 |
Hi @mattwire , |
@bannyachanda the placeholder images are the "drop an image here 300 x 200" images which look like are working in your screenshot. |
@mattwire |
@bannyachanda - I upgraded and do not have the same issues as you do. 3.1 fixed the issue for me. I suggest doing the following wordpress/civicrm troubleshooting. clear civicrm cache, reload wordpress permalinks, clear civicrm cache again to be safe, create a new template. |
Hi, @themak1985, Thanks for your suggestions. |
Hi @mattwire, I have figured out the problem. The image is loading from this in my Mosaico template https://mysite.com/mosaico/img/?src=.... but it should be loaded from https://mysite.com/civicrm/mosaico/img/?src=.... Can you please suggest to me how can I solve the problem? |
@bannyachanda are your resource URLs properly set? |
@themak1985 Yes I think so. Here it is: |
@bannyachanda For some reason your urls gone wrong. You could try replaceurl api to correct them. E.g:
Or
|
Hi @deepak-srivastava, I did it. But it didn't resolve the problem. After doing it, I have got this output: |
Upgraded to 3.0 and plagued with image issues - on latest wordpress civi 5.61.3 - no image placeholder will show up.
Cleared cache, reloaded permalinks,
I get this error in console.
Unable to preventDefault inside passive event listener invocation.
I have disabled and enabled it again, but no luck.
This is the path found for an image using devtools.
https://example.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fmosaico%2Fimg%2Fplaceholder&method=placeholder¶ms=534%2C150&text=w534
I get the following error: "Internal GD font () not available. Use only 1-5."
The text was updated successfully, but these errors were encountered: