Jump to content

Need Help with adding images to strings


maburker

Recommended Posts

Hello,

      I am new here and I have been racking my brain to figure out something simple. At least I think it should be simple. I need to add an image to a php string. The string is listed below.

 

$string[facebook] = 'Facebook';

 

Now the mentioned string appears on a users profile as

 

Facebook : Become A Fan

 

Our finished project should use facebooks icon and then have the link as mentioned above. I don't want to create an image because we already have the image. Is there a way to reference an image in the string?

 

Ex: $string[facebook] = '<img src="http://............./images/networks/facebook_32.png">';

 

Now the strings are located in a lang file that other php files calls on for the strings. I can't find the correct method that will work. Any help or feedback is appreciated!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.