displaying images using anchor_popup |
[eluser]amipaxs[/eluser]
Hello, I'm working on a system that uses index.php on the url. the problem is when i use anchor_popup on this way, Code: echo "<td>" .anchor_popup($list['route_from_db'], $list['name'], array())."</td>"; I get embedded index.php on the URL on this way-> http://www.website.com/index.php/media/logos/logo.gif not being able to display the image on the popup.. Is there a way to fix this without using .htaccess on the root ?
[eluser]Mackstar[/eluser]
Anchor pop up is not meant to be used for images, just html content, try housing your image in a html frame which you create with CI and it should work. Cheers Richard
[eluser]Mackstar[/eluser]
Sorry just forgot that you can use the str_replace php tag to rid yourself of index.php, but I still don't see many people opening images this way... |
Welcome Guest, Not a member yet? Register Sign In |