| Author |
Message |
jakec

Joined: May 02, 2009
Posts: 21
|
Posted:
Wed May 13, 2009 6:58 am |
|
I'm not sure if these problems are related, but I thought I would mention them both together just in case.
Firstly when I am adding a new item and then attaching an image if I choose to leave the resize option to ignore this starts causing errors saying that it is unable to get image size when viewing the item. If I enter a size and select one of the other options it works fine.
The exact error is: [05-13-09 08:55:37 pm][2](Line:659) getimagesize() [function.getimagesize]: Filename cannot be empty [/#######/modules/Digital_Shop/lib/class.items.php]
Now the second problem is if I add two images and set the first one to default and the other one to not. After I have saved the item and go to the item both images are displaying and when I go back in to edit the item they are both set to default.
Any help would be gratefully appreciated.
Cheers
Jakec |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Sat May 23, 2009 6:11 pm |
|
Could you clarify the original image size, filesize and filetype(gif/jpg). I'm sure gotcha will investigate as soon as he can but I will try and replicate this if I can. |
_________________ Code Authors Nuke Reviews |
|
|
 |
jakec

Joined: May 02, 2009
Posts: 21
|
Posted:
Sun May 24, 2009 10:22 am |
|
The images I have tried are 100 and 300, both are GIF's, about 2-3k each.
At the moment I have turned off the error reporting and that gets rid of the messages.
I have been speaking to Gotcha using you new message module while the site has been down and he didn mention that he was going to add some additional logic to stop the messages, so will see what he comes up with.  |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 921
|
Posted:
Mon May 25, 2009 9:28 am |
|
For the first error I will have to work on a hotfix to totally get rid of the error.
For the second problem, I've noticed that one before too and for now I've just been adding one, then go back in to edit and and the extra images. I may be able to get this one fixed at the same time as the other error. |
| |
|
|
 |
jakec

Joined: May 02, 2009
Posts: 21
|
Posted:
Tue May 26, 2009 7:19 am |
|
Once again thank you.  |
| |
|
|
 |
|
|