Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Yes, Apache. This is exactly what I was looking for! Thanks!
4,251 Views
24 Replies
07-18-2023, 05:33 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Thanks. But how can I load images and CSS this way?
4,251 Views
24 Replies
07-15-2023, 04:59 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Did not help either(
4,251 Views
24 Replies
07-14-2023, 09:10 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

public string $baseURL = 'http://localhost:8080/project-root';
4,251 Views
24 Replies
07-14-2023, 02:19 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Yes, that's right
4,251 Views
24 Replies
07-13-2023, 05:48 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

No. It does not work either. This is just crazy) External links work just fine though. The problem is in internal routing. I just do not know what exactly the problem is.
4,251 Views
24 Replies
07-13-2023, 05:22 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

I know the difference between baseUrl and filesystem. What I meant was - I manually set baseUrl to project-root
4,251 Views
24 Replies
07-13-2023, 04:13 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Yes I did that exactly - otherwise path would be wrong. But it did not work out. Maybe I should create separate route for the picture? I am a little bit new to CodeIgniter. Excuses in advance
4,251 Views
24 Replies
07-13-2023, 03:47 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

I am getting "Can't find a route for 'get: project-root/public/assets/images/profile.jpg'". Folder structure is the following: I have project-root folder, which is the baseUrl. Directly inside that fo...
4,251 Views
24 Replies
07-13-2023, 03:35 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Tried that. They are identical. http://localhost:8080/project-root/assets/images/profile.jpg
4,251 Views
24 Replies
07-13-2023, 03:07 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: RE: Cannot display images in CodeIgniter

Unfortunately it does not work either
4,251 Views
24 Replies
07-13-2023, 02:43 AM
ilkin
    Thread: Cannot display images in CodeIgniter
Post: Cannot display images in CodeIgniter

Hi. I just cannot display an image in CodeIgniter. I am constantly getting 404 response from the server and the image is not displayed:  Code: --                         Navbar       ...
4,251 Views
24 Replies
07-12-2023, 06:05 AM
ilkin

Theme © iAndrew 2016 - Forum software by © MyBB