Welcome Guest, Not a member yet? Register   Sign In
Please describe how to achieve the best structure
#11

[eluser]mvdg27[/eluser]
Why not put the 'images' folder directly under public_html, and use the base_url()-function, provided by the URL helper? That's the way I use image references in my views:

Code:
<img src="&lt;?=base_url()?&gt;images/image1.jpg" width="240" height="9">

Hope that helps,

Cheers, Michiel


Messages In This Thread
Please describe how to achieve the best structure - by El Forum - 03-12-2009, 11:12 AM
Please describe how to achieve the best structure - by El Forum - 03-12-2009, 11:21 AM
Please describe how to achieve the best structure - by El Forum - 03-12-2009, 02:55 PM
Please describe how to achieve the best structure - by El Forum - 03-13-2009, 10:52 AM
Please describe how to achieve the best structure - by El Forum - 03-23-2009, 09:04 AM
Please describe how to achieve the best structure - by El Forum - 03-25-2009, 03:11 AM
Please describe how to achieve the best structure - by El Forum - 03-25-2009, 06:55 AM
Please describe how to achieve the best structure - by El Forum - 03-25-2009, 07:15 AM
Please describe how to achieve the best structure - by El Forum - 03-25-2009, 07:19 AM
Please describe how to achieve the best structure - by El Forum - 03-25-2009, 07:41 AM
Please describe how to achieve the best structure - by El Forum - 03-25-2009, 05:32 PM
Please describe how to achieve the best structure - by El Forum - 03-27-2009, 01:58 PM
Please describe how to achieve the best structure - by El Forum - 03-27-2009, 08:37 PM
Please describe how to achieve the best structure - by El Forum - 06-23-2009, 12:17 AM
Please describe how to achieve the best structure - by El Forum - 06-23-2009, 02:31 AM
Please describe how to achieve the best structure - by El Forum - 06-26-2009, 12:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB