How to insert image into strapi article? - strapi

I'm beginner of strapi, nodejs headless cms framework.
I've followed quick start guide of official document. I've created gatsby-blog and it works.
After setup, I've created new article with uploaded image, in the middle of article. (Not the image field in the Slug section) In the strapi admin page, I can find my new image in the media library list.
But when I open my strapi client in browser, the image is not shown. The source of image seems to the file path of backend server. I can find the image file on the backend/public/uploads folder. But it returns 404 error.
So, What am I missing of strapi setting? I've searched a lot but I can't find similar issue.

Make sure that the field is public in your Strapi admin dashboard.
Beyond that, it seems like the src tag in your screenshot has a relative url - if you are not hosting the backend on the same path as the frontend, I would suspect you have to prepend the backend base path :-)

Related

laravel file manager not showing uploaded image

I am new to laravel file manager and I'm developing a blog using tinymce5 and this package.
Everything works just fine. But...
The problem:
The problem is that none of the uploaded images are being shown. neither in file manager "when it's uploaded" nor in the blog.
image is not shown in file manager :
What I have done:
Well the problem is caused by the image url. The url is the url below:
http://localhost/storage/photos/maxresdefault.jpg
When I changed it to:
http://127.0.0.1:8000/storage/photos/maxresdefault.jpg
everything worked fine.
The Question is:
Is there any way to force laravel file manager to save image urls using "127.0.0.1:8000" instead of "localhost"?
Or is there any way to load images using a more efficient method?

Hosting a Website using 1&1 Service

I'm currently trying to upload a html+css page to my hosting service (1&1 internet).
Unfortunately, I have very little experience in that; and would like to ask this question:
How is it possible to update the existing homepage on a site that already has been uploaded to the web?
I'm using WebspaceExplorer. Now, when I enter it, (Hosting section) there are a lot of folders and files with a few options like download, delete and so on.
I can't seem to find out how to make the program understand which one should be the homepage. This is because I see that the page I uploaded is online and accessible, but is not the first page the user sees! How can I change it?
It may be confusing because of the poor description so here is the url of both:
velten-berlin.org (current Homepage)
velten-berlin.org/Upload (desired homepage)

Magento – Images Not Appearing on Frontend as well as Backend

my product images are displaying as it should both in admin backend and on frontend of website. When i tried visiting the image path e.g.,http://yourdomain.com/magento/media/images/product1.jpg it returned a 404 Not Found Error for all product images although the images are on the correct location and provided correct path.
I surfed many help sites with many of the suggestions and tried everything but that was not working for me. kindly help me

Image upload error using HTmlExtendEditor

I am using Ajax htmleditorextender to upload a image.
In local solution, able to upload the image successfully.
Once I published into IIS, Image upload is not happening.
Please Find the attached Screenshot for the same.
enter image description here
It seems you set up AjaxFileUploadHandler.axd incorrectly.
Please make sure it is located at the root path of the web site or adjust AjaxFileUploadHandler path in Web.config accordingly.
Here is the relevant issue: https://github.com/DevExpress/AjaxControlToolkit/issues/43#issuecomment-203889967

Where in the wordpress database are the relationships between images and posts?

I am trying to migrate a wordpress site from wordpress.com to a self-hosted site.
I export the data from wordpress.com to the xml file as one might expect. I then try to import the data into my wordpress installation on the self-hosted site. I check off import media when importing and everything seems to work after a couple of tries.( there are a LOT of images, so Varnish seems to gak somewhere in the middle, but it eventually all comes over). All the images are in the new database, but if I look at the Media tab in the Dashboard, there are no relationships between the images and any of the posts. Consequently none of the galleries defined in the original posts show up, although the directly linked image files in the posts show up fine.
So, I think the relationships between the images and the posts are getting dropped somewhere during the import. I've looked thru the XML file and can't seem to find where exactly these relationships between images (media) and posts are. I've also looked thru the database using phpmyadmin and can't seem to find where they're related either.
I'm hoping that if I can find where these relationships are stored in the XML file, I might be able to find a way to get them imported into the new database.
Would appreciate any help with this.
What are the URLs of the galleries that are missing on the new self-hosted site? Are they still "yoursite.wordpress.com/wp-content/..."?
You need to find/replace in the database using phpmyadmin to change URLs that are still pointing to yoursite.wordpress.com. See How to Move WordPress Blog to New Domain or Location » My Digital Life and/or use Search RegEx, a good plugin that allows searching and replacing with Grep through all posts and pages.

Resources