Skip to main content
Participating Frequently
Feb 12, 2024 3:34 AM UTC
Question

Why is the slice to embed a single link making the selection white and obscuring the image?

Using the slice tool in photoshop to create a link in an image file does not work!!  It creates a white box over the part you want to embed a link and obscures the image.  The link works but the image does not display whereever the slice has captured.  

I have 1 image with 1 link to embed.  Straightforward.  So why do I end up with no image and a link? In the screenshot I uploaded I have just created a slice over the button in the image but I want the whole image to be the link, not just the tell me more button (which you can't see - because it's WHITE!) This is what it creates in the HTML file and what I see when I open it in Google browser.  Because I actually want to link the entire image, all I end up with is a white image with a bit of the border around from what wasn't captured in the slice!  

This 10min job is into it's second hour because I cannot figure out what/how to fix this. Help please.


This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

DoxeeAuthor
Participating Frequently
Feb 12, 2024 9:34 AM UTC

All files are together in same place, while I have no idea how to find the image path code generated by Photoshop, as they are on a server that to me works in mysterious ways, you gave me an idea - tried it off my local drive and it worked as it should have.  Copied it back to server and it still worked as it should have.  Clearly the disconnect is system related.

Many thanks!

Translate
Stephen Marsh
Community Expert
Community Expert
Feb 12, 2024 6:49 AM UTC

The white box and icon indicate a broken image, the image path can't be resolved.

 

What is the image path in the code generated by Photoshop?

 

What is the image path in the file viewed online?

 

There is usually an "images" (case-sensitive) folder created to hold the sliced images, with the path being relative to the HTML file:

 

<img src="images/

 

Translate