Print Page | Close Window

Version 9.05, PNG's/GIF's

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24387
Printed Date: 06 April 2026 at 5:24pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Version 9.05, PNG's/GIF's
Posted By: iSec
Subject: Version 9.05, PNG's/GIF's
Date Posted: 11 September 2007 at 4:45pm
Firstly, I want to say THANK YOU for the great efforts and for providing us with more options on how to use the forum with png's and gif's.
 
My question is, is changing from PNG to GIF still done from the includes/topic_status_icons_inc.asp file?


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: WebWiz-Bruce
Date Posted: 11 September 2007 at 4:54pm
It is done in that file but it's not setup in that file.

In the file includes/global_variables_inc.asp a variable for image type is set to either .png or .gif depending on the browser you are using. This is then used throughout the forum when selecting which images to display.

If you are using IE 7, Firefox, Safari, Opera, etc. you see the nice PNG images, if you are using IE 6 or below you see GIF images, which don't look quite as nice, but will render faster in these older versions of IE which do not natively support PNG's alpha channel.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 11 September 2007 at 5:39pm

Thanks Borg, so just to clarify ... since there are users of all kind of browsers, does it know which image type to display based on the browser the user is using? Or do we need to go into the includes/variables_inc.asp and tell it which image type to display to ALL users?



-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: iSec
Date Posted: 11 September 2007 at 5:45pm
WOW, i just saw this:  
'Check the client browser version
 strClientBrowserVersion = browserDetect()
 
 'If the cleint browser is IE 6 of below then display GIF's for some of the images
 If strClientBrowserVersion = "MSIE6-" Then
  strForumImageType = "gif"
 Else
  strForumImageType = "png"
 End If
 
This is impressive, thank you very much!


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net