Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
kevinkap
Involved
Involved



Joined: Apr 22, 2006
Posts: 356

PostPosted: Mon Dec 03, 2007 9:14 pm Reply with quote

I am trying to add an image to a "define" tag in a language file. I am trying to add it to the end of my TOS statement. How can I do this?

define("_YATOS1","Terms of Service, image here");

_________________
Kevin Kappes 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Mon Dec 03, 2007 9:46 pm Reply with quote

You have to add the complete HTML for the image.

Code:


define('_YATOS1', 'Terms of Service <img src="URL-goes-here" alt="My Image" />');


Notice I switched to single quotes on you so that the double quotes will work inside the img tag.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
kevinkap







PostPosted: Mon Dec 03, 2007 10:14 pm Reply with quote

Thanks Gremmie,

I have tried that but the image does not show up, just a square with a red X. In firefox it doesn't even show that.

Here is a cut out

Code:
 Failure to read AND understand ALL of the most basic instructions designed to help you help yourself may result in termination of your access/membership in OKC REIA.  Alternatively, you may sacrifice your grandmother, aunt or other available elderly female relative to be kicked in the head as a one-time reprieve from membership termination (see instructional video below). <br> <img src="images/KickGranny.gif" alt="Kick Granny" /> <br> Thanks for your cooperation.');


It is an animated gif, if that makes a difference. I have uploaded the file to the main images directory as well as the one in the module folder but no luck.

You can see it http://www.okcreia.com/account-new_user.html here.
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Dec 03, 2007 10:19 pm Reply with quote

If that's the correct link, your image should appear when you go to [ Only registered users can see links on this board! Get registered or login! ]

You must not have uploaded to the correct directory or the filename is wrong (note that Unix servers are case-sensitive)

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
kevinkap







PostPosted: Tue Dec 04, 2007 5:55 am Reply with quote

resolved, thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©