Active
Project:
Taxonomy Image
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 09:08 UTC
Updated:
29 Jul 2011 at 11:22 UTC
I recently had a situation where I used taxonomy_image on a site which was made live, and the images did not display, all failing with getimagesize() problems. The cause was that although my local DNS had updated, the server's DNS had not, and the module uses full URLs to get the images (6.x-1.6 taxonomy_image.module line 267, I think). The server was querying the full URL and being directed to a totally different IP address.
I believe that a better behaviour here would be to use a relative path instead of a full URL. Is this possible?
Comments
Comment #1
kingandyI agree. Why does this require an HTTP request? It seems to me that it would be quicker and more reliable as an internal file system request.
Comment #2
kingandyLooks like this has been causing problems elsewhere and may be being addressed already - see #438378: function.getimagesize error.
Comment #3
FeBus982 commentedSame problem