View Single Post
Old July 27th, 2008, 05:46 AM   #10 (permalink)
vigape
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
I resolve the problem:

In image-inc.php
..
function process_image( $realname, $filepath, $thecat, $thevideo=0, $replace=0 )
{
....

In the code:
Code:
Content visible to verified customers only.
Sames that in the upgrade from 5.62 to 6.11 the thumbnail field in pp_categories is loaded to 0 for all categories.
When the first photo is uploaded $row['thumbnail'] == 0 is true and make that photo the category avatar with $morestuff
The second and more photos not true the condition and not refresh the avatar.

The solution for me is comment it
Code:
Content visible to verified customers only.
Now never $morestuff is added and the avatar at index page shows the last photo uploaded.

Is a bug?
A best solution?
vigape is offline   Reply With Quote