• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Linking a Jpeg to a webpage

Community Beginner ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

 

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

Views

688

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

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 & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

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...

IMG_1528 2.PNG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

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 & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 06, 2023 May 06, 2023

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines