Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Delete Image

Author
Message
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 18th Jun 2012 22:13 Edited at: 19th Jun 2012 10:34
Hey guys, sorry about this question as its pretty newbish.

dbLoadImage (fileName,1,1);
dbDeleteImage (1,1,1,1);

Does not actually seem to delete the image. I am not sure what all those fields are supposed to represent, other then the id. Could anyone point me in the right direction? Thank you.

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
DeadTomGC
13
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 20th Jun 2012 06:18 Edited at: 20th Jun 2012 06:19
Hmm, the documentation says it only needs one field. Also, I just tested it, no it only takes one field...

Also, note that it's only deleting the RAM data.


Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 20th Jun 2012 07:04 Edited at: 20th Jun 2012 07:05
Just use dbDeleteImage(1). The other parameters are overloaded with default values and do not need to be specified.

Login to post a reply

Server time is: 2024-03-28 19:38:36
Your offset time is: 2024-03-28 19:38:36