Welcome Guest, Not a member yet? Register   Sign In
Relative URLs, or Absolute URLs?
#2

[eluser]Michael Wales[/eluser]
I would make a helper function that echos a relative (from root) URL to the image. Then when you go from development to production you only have to change that one function (rather than every image throughout the entire site).


Messages In This Thread
Relative URLs, or Absolute URLs? - by El Forum - 01-16-2008, 06:35 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-16-2008, 06:43 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-16-2008, 06:46 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-16-2008, 09:19 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-18-2008, 04:18 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-18-2008, 04:29 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-18-2008, 05:31 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-18-2008, 08:46 PM
Relative URLs, or Absolute URLs? - by El Forum - 01-19-2008, 07:49 AM
Relative URLs, or Absolute URLs? - by El Forum - 01-19-2008, 09:31 AM
Relative URLs, or Absolute URLs? - by El Forum - 01-19-2008, 12:05 PM
Relative URLs, or Absolute URLs? - by El Forum - 02-08-2010, 06:45 AM
Relative URLs, or Absolute URLs? - by El Forum - 02-08-2010, 06:49 AM
Relative URLs, or Absolute URLs? - by El Forum - 02-08-2010, 06:54 AM
Relative URLs, or Absolute URLs? - by El Forum - 02-08-2010, 06:59 AM
Relative URLs, or Absolute URLs? - by El Forum - 02-09-2010, 12:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB