Jump to content

handling images?


arielmedel

Recommended Posts

How handle images in a way like CSS?

For example with CSS you just specify on top the URL where the CSS file is, and now you only have to assign a class to the divs, tables, etc. without having to write the all the path.

How can I put some kind of code that specifies the URL where the images are, so I just have to change that if I move the image sto another folder instead of having to change the link of each image?
Link to comment
Share on other sites

This isn't a php question, it's an HTML question, but I believe you can use the [color=green]<base>[/color] tag.

[code]<base href="http://www.mydomain.com/images">[/code]

Here's a [url=http://www.wdvl.com/Authoring/HTML/Head/base.html]further reference[/url] to it.

Regards
Huggie
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.