Jump to content

Best Practice ../file_name/img_name


Mouse

Recommended Posts

../file_name/img_name

hello,

I think it is fair to say we know what we know, and have no clue what we don’t know, so here’s another thing I discovered that I don’t yet know.

This whole [../file_name/img_name] thing, especially the …/ bit, WHAT??? Like most of us I come from an HTML background where you gave the file path and that was it, images/img_1.jpg etc.

Now I here in the pub last night that something along the lines of server_root/images/img_1.jpg is more correct… again WHAT???

Ok, so which is the best, most bullet proof way of getting the image to the screen, the one which I don’t need to change the number of dots or slashes if I move a file??? The one that Mr. Explorer doesn’t look at and think that a little drop shadow box with a red cross is a better option to…(/)?

End of rant/question

Mouse
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.