[Solved] No thumbnail and resized image when uploading pictures!

joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Thu, 2009-10-15 09:32

Hi,
I did the upgrade to last experimental version (I had one from 2 weeks earlier), and since I have some problems to upload pictures, here is what happens:
- everything is visually normal;
- the pictures is well inserted in DB I have resize_dirty =0, but I have resize_width = NULL and resize_height = NULL, the same for the thumb.
- Nothing in var/logs
- graphic toolkit is well recognized in admin
Any idea?
Thanks a lot
Denis

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Thu, 2009-10-15 13:24

Lots of chanages in 2 weeks especially with css. Are you using a custom theme?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Thu, 2009-10-15 14:03

Yes, but it is the same if I use night_wind.
BTW, I do not see how css would matter for image uploading.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Thu, 2009-10-15 23:40
Quote:
BTW, I do not see how css would matter for image uploading.

css could remove the button. What about the wind theme?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Fri, 2009-10-16 09:31

Hi,
Well, everything is normal: no missing buttons, uploading si doing well with progress bar, the item is appaearing in the album....but without any thumb.
And, looking further shows there is no images in var/thumbs and var/resizes (but yes in var/albums) and here is what can bee seen in DB:
I have resize_dirty =0, but I have resize_width = NULL and resize_height = NULL, the same for the thumb.
Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Fri, 2009-10-16 13:39

wind theme right?
Can you try a different toolkit?
What is the toolkit you are using?

FAQ: How do I see debug information?
And see if that yields some info.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Fri, 2009-10-16 13:44

Yes wind theme, and the one I developp which is derived from it so...
I have access to GD, and have no other choice!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Fri, 2009-10-16 14:37

And the debug info yields?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Sat, 2009-10-17 11:32

Debug ? There is nothing in var/log and there is no "Dang, something went wrong" if that's what you ask...
It seems really weird to me!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Sat, 2009-10-17 16:29
floridave wrote:

FAQ: How do I see debug information?
And see if that yields some info.

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Mon, 2009-10-19 08:28

As said ahead, everything is clean...

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Mon, 2009-10-19 08:36

Did something change in the DB??? I tried to have a look, but I found nothing.
Could it be a problem with GD graphics? it seems weird to have resize_dirty=0 but resize_width = NULL, no???

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Mon, 2009-10-19 09:10

Okay....sorry found it...
There was a change in DB, graphic_rules, args and operation were changed!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22890
Posted: Mon, 2009-10-19 13:46
Quote:
There was a change in DB, graphic_rules, args and operation were changed!

Was that you mucking about or do we have to investigate why that changed?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Mon, 2009-10-19 14:00

Everything's fine now thanks.
The operation field was resize and it became gallery_graphics::resize and the args also changed.

BTW, I had a few times some trouble to have the last experimental version working properly from a previous one...especially in this case.
Every time, I had to look in install.sql to find if there's something different...

Is there any easiest way to find out?

thanks