Skip to main content
Participant
May 4, 2023
Question

Linking a Jpeg to a webpage

  • May 4, 2023
  • 2 replies
  • 982 views

 

Hi All...
Just after a little advice on something that is beyond my skill set.
I'm trying to design something which can be sent as an image VIA SMS, but when you view it/open it on a mobile device, it allows you to click on it and links to a webpage.
I know I can send a link of a webpage to someone but in doing this it doesn't have the specific image I want to send them... So basically, can you send a jpeg that links to a website?
Maybe I'm trying to do the impossoble or maybe it is something simple that I'm overlooking?
Or is there another way of doing this that I may just not seeing?
Help. Please
This topic has been closed for replies.

2 replies

NB, colourmanagement
Community Expert
Community Expert
May 6, 2023

Just a simple solution but if you can't download then send the image, then couldn't you simply make a screenshot and send that? 

 

I hope this helps
neil barstow, colourmanagement net - adobe forum volunteer - co-author: 'getting colour right'
google me "neil barstow colourmanagement" for lots of free articles on colour management

Nancy OShea
Community Expert
Community Expert
May 5, 2023

That's not possible with image files. Sorry.

You'll need HTML code to link an externally hosted image to a URL.  The image should be hosted on a server that's publicly accessible.

 

This code will do what you want. 

Replace example.com with your target site's URL

Replace yoursite.com with your web server's URL and path to the image file. 

Some email clients do not support images so be sure to add alt text

 

<a href="https://example.com"><img src="https://yoursite.com/image_name.jpg" alt="Linked image description"></a>

 

 

Nancy O'Shea— Product User & Community Expert
Participant
May 5, 2023

Thanks so much Nancy. Ok so my next question to this... and I may sound a little dumb here but... if I create a link to a page instead of sending the image... Is there a way of getting the little preview of the webpage to display with a paticular image and text of choice.... rather than the website in general preview. Not sure if this makes sense.. Kinda like this...

Nancy OShea
Community Expert
Community Expert
May 5, 2023

No, not easily. The preview is probably being fed by the open graphic code in the website's landing page.  The OG preview is displayed on social media sites and some mobile devices.  I don't think it matters that much what the preview looks like.  I certainly wouldn't reinvent the wheel for this.

 

 

 

 

Nancy O'Shea— Product User & Community Expert