question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

not full path to uploaded media

See original GitHub issue

I use default configuration of django-summernote I am using it with rest DRF.

{
  "id": 1,
  "title": "ABC",
  "section": "abc",
  "urlKey": "url_key",
  "content": "<p>Coś o poradniku zawodowym :)!</p><p><img src=\"/media/django-summernote/2019-03-20/70447090-363a-484c-8f4c-b691a821e3cb.jpg\" style=\"width: 50%; float: right;\" class=\"note-float-right\"></p>"
}

It doesnt return full location to resource on server.

How to make library to return full url like this: http://127.0.0.1:8000/media/django-summernote/2019-03-20/70447090-363a-484c-8f4c-b691a821e3cb.jpg

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
lqezcommented, Mar 26, 2019

Fixed by #352. Thanks for your suggestion.

0reactions
Przemek625commented, Mar 27, 2019

@lqez Yup, I can add this to readme! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Change the Default Media Upload Location in ...
First, make sure you backup your existing upload directory before changing the default media upload location in WordPress. You can leave your old...
Read more >
Moving existing media items to new upload path structure not ...
Go to your dashboard settings > media wp-admin/options-media.php under the file uploads heading place your new path in the associated field.
Read more >
Upload File path not shown in field using wp media uploader
So we need a simple way to automatically put the file url value in the Link URL. I don't know about it whether...
Read more >
Image Upload Full Path or Absolute Path - Missing Domain
Ive found a simple fix. In the laravel filesystems config file. I changed the below: 'public' => [ 'driver' => 'local' ...
Read more >
Troubleshoot a media upload error in WordPress - GoDaddy
Learn how to troubleshoot and fix media upload errors, such a HTTP and permission errors, in WordPress.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found