Assigning a URL to an image in Photoshop

  chesterfield 12:15 30 Sep 2005

Followed all the instructions regarding assigning a URL to an image in Photoshop but it just doesnt seem to work.

Ive had the Slice options dialogue box open and entered the full URL in the appropriate box - Saved the image and dropped it into my webpage but it just doesnt work.

Where am I going wrong???


  De Marcus™ 13:15 30 Sep 2005

I not sure I follow, are you wanting to assign a url so that when a user clicks on the picture they are taken to that url?

  Taran 13:38 30 Sep 2005

It's no good just saving the image on its own. All you end up with is a picture.


File >> Save for web

This prompts you where to save the image(s) and where to put the html file Phohotshop will produce with the hyperlink information in relation to the images.

You can either save your slices and manually edit them in the web editor of your choice or let Photoshop make the web page with all slices and links in place, then edit that page further in the web editor of your chioce.


  chesterfield 00:09 02 Oct 2005

Thanks for the advice guys but Ive done exactly as you describe and still no result - and yes, I am trying to make the image into a hyperlink to another site.

Any other ideas where im going wrong here?

  powerless 16:53 02 Oct 2005

The Image itself cannot retain a hyperlink. You can have Photoshop assign a hyperlink, but that hyperlink is contained with the HTML when you save for web.

You should have a HTML file and an images folder.

Copy the image to your sites folder on your computer. Then with your web editor insert this image and assign it a hyperlink within the webpage.

What do you use to create, edit your website?

  chesterfield 18:07 02 Oct 2005

Hi Powerless

Unless Im mistaken I dont think you're correct.

The hyperlink is contained within the data that makes up the image and isnt held in the HTML which you have the option of saving with the slices if you want to.

Im using Dreamweaver for my web editing by the way and Im familiar with setting hyperlinks from images using that.

The reason I wanted to do this in the first place was because I'd set up a discusion board on one of my sites and this needed a link adding to its front page which would allow users to go back to the main site.

The discussion board code provides the administrator with a panel from where you can edit the look of the board. I thought that by uploading a new title image I could also use this as a 'return to main site' link, hence the need to have a hyperlink embeded in the image.

I could have found the relevent HTML page in the mass of code that makes up the discussion board (this was all provided by a third party)but I though (initially anyway) that I could avoid this if I had an embeded hypelinked image.

Somebody let me know if Ive got this wrong!

  powerless 18:12 02 Oct 2005

What discusion board you using?

  chesterfield 18:21 02 Oct 2005

Discus' free version

  chesterfield 18:21 02 Oct 2005

is that relevant?

  Taran 19:39 02 Oct 2005

Photoshoip creates an HTML file and the image slices.

It assigns the hyperlink to one of the slices (whichever you selected for the purpose) then it exports the whole lot to a destination folder you choose and creates an HTML file which, in turn, holds the hyperlink web code.

Make a folder on your desktop and call it test.

Choose it when using the File >> Save for web option in Photoshop.

Open the 'Test' folder on your desktop.

You will find your slices in an images folder and an HTML file with the hyperlink code.

Copy the images to where they need to be in your web root and copy the hyperlink and image position code from the HTML file into whichever page you want them to appear.

  chesterfield 22:05 02 Oct 2005

So I was wrong, and the hyperlink cannot be somehow embedded in the image itself!

Im presuming that this is what you're confirming Taran, so thanks for putting me straight.

Cheers guys

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5T review: Hands-on

See the Best Button Badge Designs of 2017

iPhone X review

Black Friday 2017 : date, sites participants & bonnes affaires