Email link using an image...

Get help developing custom BBCodes or request one.
Post Reply
S.A.C
Registered User
Posts: 88
Joined: Thu Mar 01, 2012 3:17 pm

Email link using an image...

Post by S.A.C »

Hi all!

Tried to find an answer using the search function, but to no avail so I figured I should simply make a new topic for my question... :)

Does anyone know how to add an e-mail link to a post using an image for people to click on - rather then a text link?
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70218
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Email link using an image...

Post by KevC »

Wrap the image in URL tags.

Code: Select all

[url=mailto:whatever@whaatever][img]http://www.theimagelink.com/image.jpg[/img][/url]
mm scratch that, it doesn't work.

In that case I think you'd need to request an email BBcode to use instead of [url]
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
S.A.C
Registered User
Posts: 88
Joined: Thu Mar 01, 2012 3:17 pm

Re: Email link using an image...

Post by S.A.C »

...which I've been trying to do all the time, but the result always ends up like this;

http://www.simuscape.net/simutalk/viewt ... p=615#p615 (see the bottom part of the post)

Do I need to add an mail BBcode for this to work?


:mrgreen: Oh, didn't notice you updated your post as well...


Okey, so now that this topic has been moved to a new more proper place due to its outcome, does anyone know how to add a BBCode for this to work? If not, may anyone be up for a request to fix one? :)

Thanks in advance...
Last edited by Oyabun1 on Sun Jun 23, 2013 12:45 pm, edited 1 time in total.
Reason: Moved from Support
User avatar
Lumpy Burgertushie
Registered User
Posts: 68169
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Email link using an image...

Post by Lumpy Burgertushie »

email bbcode is already there, just no button for it. example:

Code: Select all

[email=you@yourdomain.com][img]https://www.phpbb.com/community/images/smilies/icon_eek.gif[/img][/email]
which produces this:
Image
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
S.A.C
Registered User
Posts: 88
Joined: Thu Mar 01, 2012 3:17 pm

Re: Email link using an image...

Post by S.A.C »

Thank you very much! That worked! :mrgreen:
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70218
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Email link using an image...

Post by KevC »

Ah useful to know :)
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
Post Reply

Return to “Custom BBCode Development and Requests”