Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) img code error (Read 10062 times)
arms
Guest


img code error
Apr 15th, 2002 at 4:51pm
Print Post  


Code
Select All
http://www3.xfreehosting.com/asian/a36/003/a18.jpg 



Anyone Can Help Me
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: img code error
Reply #1 - Apr 15th, 2002 at 4:53pm
Print Post  
what exactly is your problem? Nice picture by the way Grin
  

The Administrator.
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: img code error
Reply #2 - Apr 15th, 2002 at 4:54pm
Print Post  
oh I see, the image isn't showing up correctly... hm
  

The Administrator.
Back to top
WWW  
IP Logged
 
arms
Guest


Re: img code error
Reply #3 - Apr 15th, 2002 at 4:55pm
Print Post  
Code
Select All
$message =~ s~\[img\]\s*(.+?)\s*\[/img\]~<img src="$1" alt="" border="0">~isg; 



In Yabbc.pl

Can't Show Picture which Long URL correctly.

Please Help me to modify script
  
Back to top
 
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: img code error
Reply #4 - Apr 15th, 2002 at 4:57pm
Print Post  
A YaBB bug? doesn't show up in the message, but does in the reply summary.

[Edit: Doh! i think I was seeing the picture from my cashe files, not from the website!  Roll Eyes]

[Edit: The code here is probably more like:
Code
Select All
      $message =~ s~\[img\][\s*\t*\n*(&nbsp;)*($char_160)*]*(http\:\/\/)*(.+?)[\s*\t*\n*(&nbsp;)*($char_160)*]*\[/img\]~<img src="http\:\/\/$2" alt="" border="0">~isg;
 



  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: img code error
Reply #5 - Apr 15th, 2002 at 4:59pm
Print Post  
That's interesting... the generated HTML code looks ok so far:

Code
Select All
<img src="http://www3.xfreehosting.com/asian/a36/003/a18.jpg" alt="" border="0"> 

  

The Administrator.
Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: img code error
Reply #6 - Apr 15th, 2002 at 5:02pm
Print Post  
doesn't show up at all for me....
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
arms
Guest


Re: img code error
Reply #7 - Apr 15th, 2002 at 5:05pm
Print Post  
Code
Select All
http://www.msoworld.com/mindzine/news/orient/go/japan/images/hikaru.jpg 






I 'm trying. Wait a moment.
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: img code error
Reply #8 - Apr 15th, 2002 at 5:05pm
Print Post  
IE 5.5 shows me a dead image in both, thread and summary. Mozilla displays an empty image in both.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: img code error
Reply #9 - Apr 15th, 2002 at 5:06pm
Print Post  
hey,,,,it works on second try, both in thread and reply....
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: img code error
Reply #10 - Apr 15th, 2002 at 5:06pm
Print Post  
Quote:
Code
Select All
http://www.msoworld.com/mindzine/news/orient/go/japan/images/hikaru.jpg 



http://www.msoworld.com/mindzine/news/orient/go/japan/images/hikaru.jpg


I 'm trying. Wait a moment.

that one works fine for me
  

The Administrator.
Back to top
WWW  
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: img code error
Reply #11 - Apr 15th, 2002 at 5:10pm
Print Post  
me also
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
arms
Guest


Re: img code error
Reply #12 - Apr 15th, 2002 at 5:12pm
Print Post  
Quote:
A YaBB bug? doesn't show up in the message, but does in the reply summary.

[Edit: Doh! i think I was seeing the picture from my cashe files, not from the website!  Roll Eyes]

[Edit: The code here is probably more like:
Code
Select All
      $message =~ s~\[img\][\s*\t*\n*(&nbsp;)*($char_160)*]*(http\:\/\/)*(.+?)[\s*\t*\n*(&nbsp;)*($char_160)*]*\[/img\]~<img src="http\:\/\/$2" alt="" border="0">~isg;
 











Code
Select All
[img]http://www.msoworld.com/mindzine/news/orient/go/japan/images/hikaru.jpg[/img]

[img]http://www.visittnt.com/ToDo/Sport/yachting/regatta-2001/daily/thursday/images/mayumi.jpg[/img] 









This Picture have no problem with your adviced code.





but This picture again error.
  
Back to top
 
IP Logged
 
Christer Alexander
God Member
*****
Offline


Make my day...

Posts: 3443
Location: Lethbridge
Joined: Feb 10th, 2002
Gender: Male
Re: img code error
Reply #13 - Apr 15th, 2002 at 5:14pm
Print Post  
weird...the top one works
  

Code
Select All
unless(0) { stab("LoonyPandora"); next; } 

Back to top
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: img code error
Reply #14 - Apr 15th, 2002 at 5:17pm
Print Post  
Christer Alexander wrote on Apr 15th, 2002 at 5:14pm:
weird...the top one works

Clear your browsers cashe and try again.
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint