Image not showing in codeigniter 4 |
(11-06-2019, 09:54 PM)durairaj Wrote:(11-06-2019, 06:40 PM)John_Betong Wrote: I would hard a guess and think the image is being called from the public folder... If so and you really want to use the WRITEPATH folder then try using s relative path which should be converted to an URL: It sort of works for me because I store an SVG image in the writable folder and echo the SVG file contents. The IMG requires a valid URL and WRITEPATH is above the root and not accessible. Use "Plan B" - store all images in /public_html/assets/imgs/ folder. |
Welcome Guest, Not a member yet? Register Sign In |