Can't upload images after moving the site from localhost to my online host.
-
Hey Armin,
I did a transfer from localhost to my domain name. Site works perfect and browses great. I wanted to add another image, but I keep getting a HTTP error. (That's what appears on the screen after I used the "media - add new". When I just drop my image files in the main media screen they just appear with a grey-paper-icon, but can't be opened or seen.
If I click on that icon I get this "attachment detail" page. On there, if I click on "view attachment page" below in the right column it does open the image.
But I can't add it to pages or anything…
The permissions of the Upload folder on wordpress are set to 755
I tried it on mozilla and on Safari. I work on a mac system. And I have tried it with JPG / png / … different image files. (You can find the site here: www.wardheirwegh.com)
Could you advise me how to solve this?
Best,
W. -
Hey wardh, can you please ask your webhost about this? Not sure, maybe your webspace is full.
cool website btw :)
-
@wardh said:
HTTP error
Thanks, Armin!
I found a solution. I added this to the functions.php of lay theme.add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );
function change_graphic_lib($array) {
return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ );
} -
hm whenever you update lay theme this will be overwritten :/
maybe theres a plugin that does the same, would be a better solution. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login