Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 26, 2009, 07:38 PM   #1
jhkaplan
macrumors regular
 
Join Date: Jan 2008
Insert Image from URL in Dreamweaver CS4?

I am trying to insert an image that I have uploaded on my server in Dreamweaver CS4 on my MBP. The problem is, when I try to insert the image, there is nowhere to paste the URL, it only asks for the URl relative to: Document or Site Root. On my work PC, I know there is an area to insert the web URL, but I do not see it here. Can anyone help? I'd rather not have to type in the ahref code if I don't have to.

Thanks,

Josh
jhkaplan is offline   0 Reply With Quote
Old Jun 29, 2009, 12:56 PM   #2
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
see vendor information in user profile
If you uploaded it to your server (as you said), you don't use the URL (i.e. http://www.yourdomain.com/imagename.ext) - you should save it in any folder within or at your document root and insert it as instructed here.

If you meant an image from a remote server, that's the ONLY situation you need the URL, and if true:

Through the GUI insert->image I don't recall there is a way. I am pretty sure you'll need to insert any image from your hard disk then in design view click on the image (assuming "Commands -> Display External Files is checked) and then in the properties panel at the bottom in the SRC box delete the value there and replace it with the full URL. Do not paste it, type it in manually.

BTW...

What you're doing is called hotlinking and it is frowned upon greatly in the development world. You're using someone else's bandwidth to display the image, not to mention they can block you from hotlinking and/or if they change the image you have no control over it.

So what you should be doing is, assuming the image is not copyright or you have permission from the remote site, right click/save as and save the image to your disk's document root or maybe in an images folder inside that then insert via the GUI. In production, it'll load much faster plus you have full control over the image.

No need to reply with "They said it's ok for me to use the image" - this is informational only, not a law or something!

-jim
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com

Last edited by SrWebDeveloper; Jun 29, 2009 at 01:02 PM. Reason: added help link
SrWebDeveloper is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Creating Image Gallery in Dreamweaver CS4 wvuwhat Design and Graphics 2 Jan 30, 2013 07:49 PM
insert image from ipad application in remote database through webservice using SOAP sheetal.patil14 iPhone/iPad Programming 2 Jun 24, 2011 06:28 AM
Dreamweaver CS4 Scrolling text area in page Cub Web Design and Development 4 Apr 1, 2011 12:09 AM
Password protected folder in Dreamweaver cs4 (or cs3) gonnabuyamac Web Design and Development 4 Oct 23, 2008 03:53 PM
Display Images From Url in Mysql database ldenman Web Design and Development 6 May 9, 2006 10:25 PM


All times are GMT -5. The time now is 01:58 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC