clickable images on mobile - image

On a desktop, if I make an image a link, I can make the mouse change to a pointer to indicate that the image is clickable. How do people normally indicate a clickable image on mobile since there is no mouse?

Related

Safari favorites icons are displayed as transparent images even though they're not

I was trying to change a Safari favorites icon that gets displayed when opening a new tab. I changed some icons by changing the default images in the "/Users/MyUsername/Library/Safari/Touch Icons Cache/" Images folder. Most of the replaced icons are displayed perfectly but some appeared (I think) to be identified by Safari as a transparent background icon and proceeds to display it as one—even though it's not.
This is the icon that Safari displayed correctly
This is the icon that Safari displayed incorrectly
Any idea how I can get Safari to display it as it should?
I've followed the criteria of the icons such as having a .png extension and being 144x144.
This is the info for the image used for the CNN icon
This is the info for the image used for the Triplebyte icon
What I've tried:
Reducing the size of the image
Changing the color profile
Is this issue actually related to the website I'm trying to get my icon for or an issue with the image file?
I tried using another image that was used as an icon by another site. Safari also displayed it as a transparent background image. It turned out that the image file wasn't the issue.
The solution to this is to just use an image that actually has a transparent background.

how to hide drag image in html website

I'm implementing some drag/drop functionality from a button onto a canvas on my html5 site. When the drag operation is over the canvas, I start drawing custom shapes under the cursor. However, by default the button's image is included in the drag process thereby overlaying my canvas drawings. Is there any way to hide the default drag image? It seems that one can call setDragImage but that's not supported in IE9 and calling setDragImage(null, 0, 0) doesn't work in Chrome either. What are my options?
edit: to be clear, I'd like to hide the ghost image that is created with native drag/drop

Custom display of images in my website

When you right-click on an image in firefox, and click on Display image, it displays it. And around it, there is a black background.
Can I put my own background image instead of the black background?
No - you're entering browser-level functionality that is beyond your control.
You wouldn't really want a user to have to resort to this anyway. Are you trying to display the image in isolation? In which case create your own 'image view' page or show it in a lightbox or something.

make a background image clickable without making contents clickable

I desperately need to make the background image of a site clickable, but I don't want everything (i.e. the contents of the site) to be clickable. how do I make it so that just the background image clicks to a website with making the contents click to that website as well.

Why doesn't my image color match background color in FireFox?

I think I could be doing something wrong in photoshop. I'm trying to create a banner for my website.
I created a new image in photoshop, then filled the background with a color I picked #E06205
I then saved the image as a jpeg.
On my webpage, I created a div and gave it a background color
background-color:#E05206;
When I open the page in Safari and Chrome it's beautiful. Matches perfectly.
However, when I open the page in FireFox, the colors don't match. I can't figure out why that is.
By the way, this is definitely a problem with the image I created. When I compare the same image side by side, Firefox gives me the 'wrong' color
Your issue is in the color profile you are using for the image. Make sure when you save the image you use Save for Web & Devices…
To read more if you want you could travel to this website:
http://css-tricks.com/color-rendering-difference-firefox-vs-safari/
You should save your images with "Save for Web & Devices" option of "File" menu in Photoshop. You can get many options and image types in this option as per your requirement.

Resources