Closed (duplicate)
Project:
Taxonomy Image
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jul 2010 at 09:51 UTC
Updated:
11 Oct 2010 at 02:48 UTC
in taxonomy_image.module, line 243 the URL is always constructed using the file_create_url function, however if the file is on the local files system and fopen HTTP is disabled the module refuses to work. After changing it to file_create_path the module worked as expected.
(same goes for the default image handler on line 260)
Did not look further into how an external image is handled, but i can imagine it saves a lot of hassle if a local file system file is used as a local file instead of a HTTP external file.
Ended up using this :
$image[$tid]->url = file_create_path($fullpath . $image[$tid]->path);
Comments
Comment #1
xurizaemonFix is committed to CVS already - see #438378: function.getimagesize error