Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2007, 11:41 PM
cheatbobb cheatbobb is offline
The_Danish
cheatbobb's Avatar
Join Date: Apr 2004
Location: Canada
Posts: 15
cheatbobb is on a distinguished road
Angry Custom images won't appear as a gani param

PHP Code:
setani("2007_w_shovel1","2007_w_shovel_1a.png"); 
The image shows up in GraalShop fine, and the gani shows perfectly using any of the default images. But when we use a custom image such as the attachment, it won't show.
/find 2007_w_shovel_1a.png returns:
images/2007_w_shovel_1a.png: downloadable, 1530 byte, 2007-01-05 12:41:36
It's a 256-colour PNG. (It does show up when inserting the name of the image in the gani instead of the param. The gani is recieving the name of the image correctly as it shows up correctly if you add a showimg to the script.)

Anyone know what the problem could be?
Attached Images
 
__________________
Reply With Quote
  #2  
Old 01-06-2007, 12:07 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Try deleting FILENAMECACHE.txt if its an offline problem. Maybe the image is the wrong size?

If worse comes to worse maybe use a 16 or 32 bit png?
__________________
Reply With Quote
  #3  
Old 01-06-2007, 12:09 AM
cheatbobb cheatbobb is offline
The_Danish
cheatbobb's Avatar
Join Date: Apr 2004
Location: Canada
Posts: 15
cheatbobb is on a distinguished road
It's an online problem. I tried increasing and decreasing the colour depth, but it didn't help.
__________________
Reply With Quote
  #4  
Old 01-06-2007, 06:30 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Tried .gif?
__________________
Reply With Quote
  #5  
Old 01-06-2007, 10:55 PM
Malinko Malinko is offline
Unholy Nation
Join Date: Mar 2004
Location: Massachusetts, U.S.A.
Posts: 1,782
Malinko is on a distinguished road
Send a message via AIM to Malinko
Attach the gani or the text file of the gani? Perhaps the problem can be solved from there.
Reply With Quote
  #6  
Old 01-07-2007, 10:06 PM
cheatbobb cheatbobb is offline
The_Danish
cheatbobb's Avatar
Join Date: Apr 2004
Location: Canada
Posts: 15
cheatbobb is on a distinguished road
.gif doesn't make a difference. I've attached a simple gani used for testing.
Upon closer inspection, the gani doesn't even try to show or download the image; after uploading the image, deleting it from my hard drive and restarting client, then trying the gani again, there is no "File downloaded" or even a "Could not find file for download" message in F2. Keep in mind it still shows in GraalShop and works with default images. This does not make sense!
Attached Files
File Type: gani 2007_showimg.gani (263 Bytes, 223 views)
__________________
Reply With Quote
  #7  
Old 01-08-2007, 10:45 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by cheatbobb View Post
.gif doesn't make a difference. I've attached a simple gani used for testing.
Upon closer inspection, the gani doesn't even try to show or download the image; after uploading the image, deleting it from my hard drive and restarting client, then trying the gani again, there is no "File downloaded" or even a "Could not find file for download" message in F2. Keep in mind it still shows in GraalShop and works with default images. This does not make sense!
When you made the gani, was block.png the default image ( the one you were animating with), since defaultparam1 is block.png, and did you use block.png when you ganied it?
__________________
Reply With Quote
  #8  
Old 01-08-2007, 11:44 PM
cheatbobb cheatbobb is offline
The_Danish
cheatbobb's Avatar
Join Date: Apr 2004
Location: Canada
Posts: 15
cheatbobb is on a distinguished road
Well, we solved the problem. It seems ganis don't like to show params whose filenames start with numbers. Thanks for all the help.
__________________
Reply With Quote
  #9  
Old 01-09-2007, 12:50 AM
colin012 colin012 is offline
That never happened...
colin012's Avatar
Join Date: Feb 2006
Location: Under your bed.....
Posts: 321
colin012 is on a distinguished road
Thats whats happening with mine. I'm 200% positive I I got everything right I tryed changing things by 1 pixle and reversing them andeverything inbetween nothing........
__________________
Dude! It's a skirt...
Quote:
Originally Posted by Elizabeth View Post
Good lord it looks potent...
Reply With Quote
  #10  
Old 01-09-2007, 10:41 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes numbers as start of the image filename probably don't work because numbers (sprite numbers) are the default parameters for ganis
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.