Ravens PHP Scripts: Forums
 

 

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



Joined: Dec 03, 2005
Posts: 153

PostPosted: Wed Dec 13, 2006 8:21 am Reply with quote

Hi All

I have installed a subscription module, everything works fine, Its just some pictures are in PNG format and will not show. What do I need to do to show pictures in the PNG Format.

I have check to make sure the files are there and in the correct folders.

Many thank

Scorp
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Dec 13, 2006 8:24 am Reply with quote

but should the images be with the PNG extension ?
check what images it SHOULD show..
PNG ? JPG ? GIF ?
 
View user's profile Send private message
scorpious







PostPosted: Wed Dec 13, 2006 8:36 am Reply with quote

Hi

Here is the code:
echo "<center><span id=\"alImg7\" style=\"width:175px;height:101px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='modules/$module_name/images/subplans.png'); \"><img style=\"filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); cursor: hand;\" src=\"modules/$module_name/images/subplans.png\" width=\"175\" height=\"101\" border=\"0\" alt=\"\"></span></center>";
}

cant quiet remember, but somewhere in one of the phpnuke files you can place the extensions like jpg,gif ect ect that can be used, should I place the PNG in this file.

Scorp
 
hitwalker







PostPosted: Wed Dec 13, 2006 8:47 am Reply with quote

any url to the page please where the images should show would help also...
 
scorpious







PostPosted: Wed Dec 13, 2006 8:58 am Reply with quote

Hi Hitwalker

I have sent you a pm with the info


Scorp
 
Gremmie
Former Moderator in Good Standing



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

PostPosted: Wed Dec 13, 2006 9:15 am Reply with quote

I have no idea what that filter CSS attribute does, but I'm guess it's running your image through some external image loader thingy. Maybe it doesn't like png files. IE has had trouble in the past with displaying PNG files with transparent parts. (Fixed in IE7 I think).

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







PostPosted: Wed Dec 13, 2006 9:47 am Reply with quote

mmm indeed weird..
try this in your css..

*html #png { fillter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=modules/WS_Subscription/images/submain.png'); }
 
scorpious







PostPosted: Wed Dec 13, 2006 9:53 am Reply with quote

Hi

I am running IE7 and still cant see the pictures lol, I try the code and let you know.

Scorp
 
hitwalker







PostPosted: Wed Dec 13, 2006 9:59 am Reply with quote

well its a bit of a bug and works for some...
if not then we will dig deeper...
 
scorpious







PostPosted: Wed Dec 13, 2006 10:06 am Reply with quote

Hi Hitwalker

That code dint work it caused an error.

I have taken out the code and replaced it with the following:

echo "<center><img src='modules/$module_name/images/submain.gif' border='0'></center>";

I converted the png to gif and it seams to work

Scorp
 
hitwalker







PostPosted: Wed Dec 13, 2006 1:43 pm Reply with quote

if it works then thats fine to... Wink
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©