I want to display an image on my website.
My website is located in
/var/www/html/mywebsite
The image is located in
/home/user/directory/image.png
I am using codeIgniter and Image src I am passing is same as above.
File/directory permissions are proper but still I am unable to display an image.
Related
Domain in image URL and problems with uploading some images,
I need to have all the images I upload be referenced through their full web URL (ie: http://www.mywebsite.com/images/image/myimage.jpg). By default, CKEditor only goes for /images/image/myimage.jpg. I found a way to work around this by putting the domain name in the upload file path, however, I think this is causing some files not to be uploaded.
What is the best way to get the domain name in all uploaded image paths and still be able to upload all files?
enter image description here
when i uploaded new image in storage directory then every time this image not showing in website even path are same and other images are showing properly. And when i fully project upload again in live then working.
enter image description here
enter image description here
My application is displaying images perfectly as I am displaying them on the other pages.
I need to apply a watermark on all of those images.
Whenever I try to get the image dynamically to manipulate it gives me the error 404 not found.
However, the link is similar to all other images displaying on the website.
I have tried Image intervention It works fine for the images in public/img folder
but id does not work for the images in the storage/app/products folder.
link:http://usm.gondalgroup.com/refurbished_tetra_pak_machines_supplier_home
working link obtained by inspecting image:http://usm.gondalgroup.com/storage/app/products/pRComIu5U3TkCSppb2PsjxtkcmgpFk4ZGbq4mbRt.jpeg
The link I made using controller and loop: http://usm.gondalgroup.com/storage/app/products/B6ITcW8iA4gyVKbqylw3qweGsqTLMjslIyyvIjes.jpeg
Django 1.11.2
Wagtail 1.10.1
Apache2.4
I uploaded an image from my computer via the wagtail dashboard. Wagtail shows the image and I clicked "update".
Then I went back to images. There is no new image but a new card with the name of the new file. There is also a picture symbol with the file name of the picture. If I click this field I get the template to edit the image. But the image is not shown (Bildschirmfoto_2018_03_18_17_23_06.png).
Why is the image not shown?
You need to configure Apache to serve files from /media/images/ (or whatever you've set as MEDIA_ROOT in your settings file). See https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/modwsgi/#serving-files
In Bassi Banner Slider, I'm going to upload an image in a slide. The image path has been stored to database, but the image is not uploading to site.
So image is not showing in front end, Only the path is shown.
What's the solution for this ?
Solved....
All the images are coming from the amazon server and i was uploading it to testing server.
On live site, it works well.