buddypress heroku profile and cover image not saving
-
Hi everyone ????
I´m having this issue, only with the profile and cover images. The rest of the images are uploading fine (PHP its running GD already). The thing is that my site is running WordPress with BuddyPress on Heroku. All the uploaded images go to the s3 amazon bucket, except for the profile image and cover image, which, once they are uploaded, go to the Heroku ephemeral file system, so after a little while they disappear (as this is their policy on free accounts, they restart the “dyno” as they call it, which means the server, and no content uploaded is saved). The difference you can tell on the permalink generated for every image, for instance, If I upload an image normally from the media library or even from a plugin which let me upload images and media from my BuddyPress profile, they get this kind of permalink: “http://s3-sa-east-1.amazonaws.com/artlikeall1/content/uploads/2018/03/07212557/my-image.jpg, now when I try to change my cover and profile image from my BuddyPress profile view, the images get uploaded with this kind of permalink: “http://mysite.herokuapp.com/content/uploads/avatars/61/myprofilepic.jpg”, and after a while they disappear.So please anyone could shed some light on this? it seems that there is no info about running BuddyPress with Heroku on the forum. Thanks!!
- You must be logged in to reply to this topic.