Changeset 13030 for trunk/admin/include/functions_upload.inc.php
- Timestamp:
- 02/05/12 02:09:53 (16 months ago)
- Files:
-
- 1 modified
-
trunk/admin/include/functions_upload.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upload.inc.php
r12917 r13030 335 335 invalidate_user_cache(); 336 336 337 // cache thumbnail 338 $query = ' 339 SELECT 340 id, 341 path 342 FROM '.IMAGES_TABLE.' 343 WHERE id = '.$image_id.' 344 ;'; 345 $image_infos = pwg_db_fetch_assoc(pwg_query($query)); 346 347 set_make_full_url(); 348 // in case we are on uploadify.php, we have to replace the false path 349 $thumb_url = preg_replace('#admin/include/i#', 'i', DerivativeImage::thumb_url($image_infos)); 350 unset_make_full_url(); 351 352 fetchRemote($thumb_url, $dest); 353 354 337 355 return $image_id; 338 356 }
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)