Does It Really Matter?

Nate_Weller

New Member
Just a thought, does it really matter if I source images such as

Code:
<img src="http://www.domain.com/image-folder/image.jpg">

as opposed to

Code:
<img src="image-folder/image.jpg">

?

I usually just use "folder/image" but now that I am using CushyCMS to allow my clients to add content, it seems the image only appears in the WYSIWYG editor if it is a full link in the source.

Just wanted to know if this really matters in terms of standards, load time, SEO... if it affects anything.
 

Fireproofgfx

New Member
<img src="images/image.jpg"> is the proper way. It's just a shorter version of the full address. Same thing with linking <a href="home.html"> Your WYSIWYG probably doesn't show the images without the full address because its not synced with the appropriate folders so it doesn't know what you are referencing to images/image.jpg until the file is in the Root folder that is synced with the Image folder.
 

danielsdesigns

New Member
Just a thought, does it really matter if I source images such as

Code:
<img src="http://www.domain.com/image-folder/image.jpg">

as opposed to

Code:
<img src="image-folder/image.jpg">

?

I usually just use "folder/image" but now that I am using CushyCMS to allow my clients to add content, it seems the image only appears in the WYSIWYG editor if it is a full link in the source.

Just wanted to know if this really matters in terms of standards, load time, SEO... if it affects anything.

if your contents are sitting on the main directory of your website then the short version is fine. but if you are using a CMS with SEO urls enabled for blog post or pages then you need to use the long version which includes the domain name.
 

abd_webdesign

New Member
Just a thought, does it really matter if I source images such as

Code:
<img src="http://www.domain.com/image-folder/image.jpg">

as opposed to

Code:
<img src="image-folder/image.jpg">

?

I usually just use "folder/image" but now that I am using CushyCMS to allow my clients to add content, it seems the image only appears in the WYSIWYG editor if it is a full link in the source.

Just wanted to know if this really matters in terms of standards, load time, SEO... if it affects anything.

Thanks for this question & answer, fireproof! I have always been curious about this. I normally use the long urls for seo purposes. When I look at any analytics or stats for my site, most of my traffic comes from optimized images rather than links. Things that make you go hmmmmm....
 

Phreaddee

Super Moderator
Staff member
both relative and absolute links are valid.

their is some discussion about it being beneficial for SEO, but I personally find absolute links ugly, and unnecessary a lot of the time.
 

Fireproofgfx

New Member
Yeah like PHreadee says I think it is just unnecessary and a waste of time and there is more of a chance to misspell the whole address lol.. than a short address. For SEO just add a alt"my product" and that should be suffice.
 
Top