Modification to phptemplate_user_picture

peterpoe - September 23, 2007 - 21:08
Project:Image Exact Sizes
Version:HEAD
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

To make work the imagecache (HEAD version) + template.php modification proposed, the line of phptemplate_user_pictures:

$picture = file_create_url($account->picture);

has to be replaced with:

$picture = $account->picture;

#1

yngens - October 26, 2007 - 08:22

this way it works, but then it becomes impossible to delete the first uploaded picture.

#2

yngens - October 26, 2007 - 08:23

i meant to replace picture with another new one.

 
 

Drupal is a registered trademark of Dries Buytaert.