1
techgnome
img tag not working right....
  • 2003/11/21 14:57

  • techgnome

  • Module Developer

  • Posts: 51

  • Since: 2002/8/9 5


I'm tryiong to update my signature to include an image. If the image points to a jpg or a gif file, I don't have any problems. BUT, if I try to point it to a URL where a dynamic image is generated, such as http://mp3.complex-sys.com/view_new.php?id=105 it doesn't want to work. IS there something built into XOOPS to prevent img tags from being rendered if it isn't a "real" image? Or what?

TG

PS: This happens on all XOOPS sites I visit... here, my own, etc.

2
Herko
Re: img tag not working right....
  • 2003/11/21 19:18

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


yes, this is the textsanitiser at work. This prevents you from adding (malicious) code to your signature. Only images are allowed, because they are not executable, or parsed as code.

Herko

3
techgnome
Re: img tag not working right....
  • 2003/11/21 19:57

  • techgnome

  • Module Developer

  • Posts: 51

  • Since: 2002/8/9 5


Well that just f'n bites....

4
Jan304
Re: img tag not working right....
  • 2003/11/21 23:12

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


You 're using an apache server right? Ok then, make an htaccess with the following content:
<Files yourphpfile.jpg>
ForceType application/x-httpd-php
</Files>


On this way you will be able to run php files, while XOOPS won't notice it are php files . So goodluck with it.


Login

Who's Online

54 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 54


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits