- This topic has 10 replies, 3 voices, and was last updated 4 years, 7 months ago by
Tom.
-
AuthorPosts
-
January 11, 2017 at 5:33 am #262911
Davide
Hi Tom, I have many row with this problem in my error log (in main directory wp):
[11-Jan-2017 12:17:26 UTC] GP_Resize.process() error: Image must be local: http://ucm.sododesign.it/wp-includes/images/media/default.png
How fix this?
Thank you very muchDavide
January 11, 2017 at 9:36 am #263007Tom
Lead DeveloperLead DeveloperThis means you’re trying to serve a file from a different URL through the image resizer (used in the Page Header and featured images).
Make sure you’re only using local files when the resizer is active.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 12, 2017 at 2:08 am #263279Davide
Sorry Tom, but i not understand how fix this problem π
January 12, 2017 at 12:08 pm #263472Tom
Lead DeveloperLead DeveloperWhen uploading your page header image (https://docs.generatepress.com/article/page-header-image/), make sure the image is located in your media library, not on an external site.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 12, 2017 at 5:17 pm #263562Davide
Sorry Tom, but I not use Page Header Image (is deactivated).
I not understand this error π
January 12, 2017 at 8:26 pm #263595Tom
Lead DeveloperLead DeveloperHmm, GP_Resize is used in two places:
1. Page Header
2. BlogIf you’re not using Page Header, have you set post image sizes for the blog images in Customize > Blog > Post Images?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 17, 2017 at 10:26 am #265052Davide
Hi Tom, yes I use resizing the page Blog, but this I did it online, on a live site …
How fix this problem? I have many rows whith this error in my root of WP.
Thank you very much,
DavideJanuary 17, 2017 at 10:27 am #265053Tom
Lead DeveloperLead DeveloperOnly way to fix it is to make sure the images you’re resizing exist inside your Media Library. They can’t be external URLs to another server.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 12, 2017 at 7:58 am #401995Enrico
Hi,
I have the same problem. I have a site running on wpml on multiple domains. In the blog grid view no images show and the log is filling up with this error message. I switched from subfolders like domain.com/lng to each language separate domain. I don’t want/can’t upload each and every image for all blog posts again. Is there a way to just disable this resize function or a filter or hook I can use to do it manually? Why does it have to be saved on the same domain to begin with?Thank you for your help. Love GPP
October 12, 2017 at 8:58 am #402029Enrico
Ok, so I had to manually define WP_HOME and WP_SITEURL in the wp-config according to the requested url. I think this is a problem that comes with wpml and is not directly related to GPP. It is working now for me.
October 12, 2017 at 9:11 am #402048Tom
Lead DeveloperLead DeveloperGlad you got it working – thanks for sharing your solution π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.