I was able to import all images from vBulletin Version 4.2.3 to latest version of WBB gallery after that I had to run:
So far everything went well but after checking the gallery I found out that almost 70% of images have no thumbnails I switched from GD to imagemagick same problem!
I checked the image directories and I found that every image has got a thumbnail and tinyimage generated correctly I checked the DB and found out that all images that are missing thumbnails are having 0 value on thumbnails width and height as well for tiny all in 0.
I tried to upload new image the progress will move but no thumbnails is shown only animation of rotation is displayed for ever.
How can I solve this ?