ImageProcessor ERROR with existing content uploaded to Azure Blob Storage - azure-blob-storage

I came here to see if this issue can be fixed. I had all my images stored in my /media/ folder but I put it on an Azure Blob Storage and it works fine.
Actually when I try to delete one of my old custom media content with images I get this error and I can't delete any of the medias uploaded before change it to Azure Blob Storage:
ERROR ImageProcessor.Web.HttpModules.ImageProcessingModule -
ImageProcessor.Common.Exceptions.ImageProcessingException: ProcessImageAsync 597 : No image exists at D:\home\site\wwwroot\media\1034\case-659x420.jpg
Can somebody tell me what 's happening?
Thank you
EDIT1
This is the image on my blob.
Umbraco Stores the image full path somewhere?
EDIT 2
This is the error on BO.

Actually when I try to delete one of my old custom media content with images I get this error and I can't delete any of the medias uploaded before change it to Azure Blob Storage:
According to your description and error message, I guess the causing of the exception is you don't change the app settings in the web config.
I suggest you could try to add below codes in the web config's appsetting and try again.
<add key="AzureBlobFileSystem.DisableVirtualPathProvider" value="true" />
I think this will work well.

Related

Unable to init from given url while reading S3 image through Cloudfront

I have Laravel backend with Intervention package to handle images.
All images are stored in S3 bucket and are accessed through CDN - Cloudfront distribution.
When user requests image from my app I use something like this line to fetch image and return it to user.
return Image::make("https://*********.cloudfront.net/S3_image_path_and_filename.jpg")->response()->header('Cache-Control', 'max_age=3600');
This code worked without any troubles for more than a year without any changes but recently I started to see that some images on client side are empty and there are errors saying
Intervention\Image\Exception\NotReadableException Unable to init from given url
I looked up for issues with missing images but they exist in S3 bucket and are accessible through Cloudfront. I even see them on client side after clearing cache or waiting for some time - so this issue is flacky, can't reproduce it. I even don't see any error associated with images in Cloudfront distribution.
My questions are
what could be the reasons behind this issue?
how I can debug it?
maybe I need to handle the exception above but I am not sure what should be returned to user in that case?

Strapi endpoint for all media uploads

Does anyone know the endpoint for getting all of the iamges you uploaded to the media libray in one request?
Im using next js with strapi and need a way to grab all of the images from the media library but there doesnt seem to be any documentation on this
/api/upload
GET /api/upload/files Get a list of files
GET /api/upload/files/:id Get a specific file
POST /api/upload Upload files
DELETE /api/upload/files/:id Delete a file
Reference
https://docs.strapi.io/developer-docs/latest/plugins/upload.html#configuration
GET /upload/files
You can read more on the docs

Laravel 4 - can't access images in public folder

I have a strange behaviour from Laravel. I just copied the website to a new hoster. Everything is working quite fine but one thing: I can't access the images in my public folder. If I try to open an image on my own with "domain.com/img/Ausfahrten/42.png i get the following error:
error image loading
The folder structure on my server looks like this:
enter image description here
What method can't laravel find and how can I resolve this? I've already checked file permissions on the server, everything's fine there.
Laravel throw that error when it cannot find the file. Try to access to another directory without Uppercase letter in its path name.

Uploading file using Web API and Azure server

I'm currently trying to upload image using ASP web API and save it in my Azure server using this tutorial
Then I took the request stream using Request.Content.ReadAsStreamAsync().Result and send it to Azure using blob.UploadFromStream(stream);
The file got uploaded and when I fetch the URL it returns something like
http://testing.cloudapp.net:10000/devstoreaccount1/saveFiles/File_2_2.zip
I tried the link but it just returns a blank page.
Any idea why I can't download my uploaded file back?
It turns out I should just use blob.UploadFile(fullLocalPathFileName) instead of blob.UploadFromStream(stream). You can get the full local path of your file from the MultipartFormDataStreamProvider and just send it easily to the blob.

Ck editor file uploading - getting internal server error 500

We have a web site with domain http://209.59.154.150/~phnxaudi/,.
To develop this website we have used Joomla framework, and we have used Ckeditor in it, for uploading files(pdf, images etc ).
Also we have installed Ckeditor in the server.
But for some reason we are getting an internal 500 server error.
Could anyone please help us to solve this issue?
I have gotten 500 errors from ckFinder. It almost always is permissions. Ensure that the internet user has read/directory browse/write permissions to the configured "user files" folder.
Try to remove the ".htaccess" file in the ckeditor root directory. This caused the error at our server.
if that's dont work, try to gave 0755 permission to the connector file in core....
when you put your files in the server automatically give 0777 permissions, and I can't execute php file, ...
try with a "hello world" en ckfinder folder and you can see the problem of permission.
sorry for my bad english.
enjoy!
Try to remove the ".htaccess" file in the ckeditor root directory. This caused the error at our server. by Wim Van Loon < this solves the problem
Does the filename contain non-standard characters? Does it have no extension? I've found that if either of those are true, the image will not upload, the logs show nothing, and the CKEditor image upload interface shows a 500 error.
I faced the same issue with my ck_editor app, I was getting a similar type of error.
I tried copying demo application from django-ckeditor repository ck-editor demo application
with all the settings.
I faced two types of errors:-
Not mentioning upload path in the root urls
path('upload/', ImageUploadView.as_view(), name="upload")
import ImageUploadView from the ckeditor_uploader.views
I selected ckeditor_uploader's pillowbackend
This forum was quite useful to solve this problem.
which should have been something like
Hope it solves your problem.
i get this error
after install ckeditor and add the ckuploader '
Note: don't forget before you do the upload to run this commend:
python manage.py collectstatic
you need to get this folder in your project and on it you find this ckeditor folder:
enter image description here
I do this settings and it worked for me:
enter image description here
if you don't work with you just search on youtube
how to upload images in django - ckeditor

Resources