Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) [img] Tag BugFix (Read 6271 times)
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: [img] Tag BugFix
Reply #15 - May 19th, 2003 at 12:19am
Print Post  
I'm not too sure about that. You're the first person I've seen who tries to transfere images via SSL. Are images supposed to be transfered and displays in browsers properly via SSL anyway?
  

The Administrator.
Back to top
WWW  
IP Logged
 
Monsen
Junior Member
**
Offline



Posts: 67
Location: Bergen
Joined: May 5th, 2003
Gender: Male
Re: [img] Tag BugFix
Reply #16 - May 19th, 2003 at 12:28am
Print Post  
The problem is that if i don't use SSL on the images, Internet Explorer display this annoying message box 'This page contains both Secure and nonsecure items. Display the nonesecure items?' (And no checkbox for 'don't dispaly this annoying box again')
Now, I don't use IE myself, but I prefer to make my forum as little annoying as possible for those that do....


Now, If you don't think anyone else has any use for this, don't spend time making a solution for just me... I'll figure it out myself.. Just thought it would be nice to have all the bug fixes for this tag in the same place

And yes, SSL transfer of images works just fine in all browsers that support SSL (All newer ones that I have tested at least...) Most sites that uses SSL transfers all elements via it, both text and images
  
Back to top
ICQ  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: [img] Tag BugFix
Reply #17 - May 19th, 2003 at 5:13pm
Print Post  
Ok I've updated the mod file, images with https should work now too Wink
  

The Administrator.
Back to top
WWW  
IP Logged
 
Monsen
Junior Member
**
Offline



Posts: 67
Location: Bergen
Joined: May 5th, 2003
Gender: Male
Re: [img] Tag BugFix
Reply #18 - May 19th, 2003 at 8:29pm
Print Post  
Thanks for the fix...
Much appreciated... Installed it and it works like a charm....
  
Back to top
ICQ  
IP Logged
 
CdnPaperMoney
New Member
*
Offline



Posts: 32
Location: Brooklin
Joined: Jan 30th, 2002
Gender: Male
Re: [img] Tag BugFix
Reply #19 - Jul 1st, 2003 at 1:21am
Print Post  
Is it just me or is there still another bug with the IMG command?

If you use the "width=XXX height=XXX" function inside the IMG command, you seem to be limited to a WIDTH of 400. You can go smaller, but not larger, even if you've specified it. WIDTH=600 HEIGHT=400, produces an image 400x400. Or, at least it does on my 1.3.1 board.

Any ideas?

Paul
  
Back to top
WWW  
IP Logged
 
davepoobond
Full Member
***
Offline


go to squackle

Posts: 112
Location: Squackle! Land
Joined: Dec 25th, 2002
Gender: Male
Re: [img] Tag BugFix
Reply #20 - Jul 1st, 2003 at 2:15am
Print Post  
maybe its because no one wants an image bigger than 400x400 usually  Wink
  
Back to top
WWWAIM  
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] Tag BugFix
Reply #21 - Jul 1st, 2003 at 10:32am
Print Post  
The maximum image size when quoting the width=?? and height=?? is hard coded into YaBB

Code
Select All
$MAXIMGWIDTH = 400;
$MAXIMGHEIGHT = 500;
sub restrictimage {
      my($w,$h,$s) = @_;
      $w = $w <= $MAXIMGWIDTH ? $w : $MAXIMGWIDTH;
      $h = $h <= $MAXIMGHEIGHT ? $h : $MAXIMGHEIGHT;
      return qq~<img src="$s" width="$w" height="$h" alt="" border="0">~;
} 


  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
CdnPaperMoney
New Member
*
Offline



Posts: 32
Location: Brooklin
Joined: Jan 30th, 2002
Gender: Male
Re: [img] Tag BugFix
Reply #22 - Jul 1st, 2003 at 2:32pm
Print Post  
Thanks. I'll change that. For my site, where people often post scans of paper money, it's an issue. Naturally, they are wider than they are tall, so I'll switch the values.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint