I'm facing this problem with my friendly URL, even putting the absolute path does not show the images.
However the images that are in a folder in the same location as .htacess
usually appear, the ones that do not appear are the ones in the admin/imgsupload
directory.
I have also tried to use another configuration in the htacess and the base tag, but without success, remembering that it is only giving this problem in the images that are in the admin/imgsupload
directory, which is in the same folder as .htacess
.
Here are the codes of my htacess and how I am putting the images:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /projetolcj/
RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|jpeg|png|js|css|swf|ico|txt|pdf|xml|woff)$
RewriteRule ^ - [L]
RewriteRule ^(.*) url.php
</IfModule>
Img:
<img src="/projetolcj/admin/<?php echo $linha["imagem"]; ?>" alt="parceiro" class=" thumbnail img-responsive">