[Freerealty] thumbnails

Patrick Fleming pat at rwcinc.net
Thu Aug 28 18:37:09 MST 2003


MSL wrote:
> I paste the image of what I have in the db. hopefully you can see it.
> Just in case I will explain in detail. I have freerealty ver 2.83
> downloaded in to a PHP 4.32 ver and MySQL ver4.014 Satndard 
> Everything is fine except for the thumbnail picture.  In the server
> ImagecClick and GdLibs is Loaded When I click on Browse Listings  The
> page load but no thunmbnails show up, but the holder is there and is
> clickable.  When you do clck on the thumbnail picture holder is load
> the detail page with othe thumbnail palce holder but still no
> picture.  And at this time if you click on the thumbnail picture
> holder it will display the larger picture. I tried to right click and
> then click on show pictures still nothing As you can see below in the
> DB the thumb field has a BLOB of o byte and the thumb_size  has a o
> byte... Any suggestions will be helpfull
> 
> Thanks Mike
> 
> 
> FilenameFile Sizefiletype     Edit Delete 8[BLOB - 4.6
> KB]tetmain_auction_logo.gif4741image/gif21[BLOB - 0 Bytes]0image/gif

I see that you are trying to test this with a gif file. GD won't work
with gif files (although it should still load the full size gif into the db)
For now, I can definately say that it must be failing to create the
thumbnail image. If you are running this on a Windows system (just a
thought) then the tmp folder may not be set correctly. These scripts
require read write access to /tmp to work properly.
Also make sure that thumbnail.php is pulling correctly into the scripts 
and that $thumbnails = 'y' is set at the top of thumbnails.php.
You didn't mention any functions failing so I assume that it is working
correctly. If you are not getting 'file does not exist' failures in 
admin.php or agentadmin.php due to unlink() not finding the /tmp image.
I will have to write in some debugging lines into thumbnails.php to give 
you some errors... it will have to be in the morning as I have to get 
off to work shortly.


Patrick






More information about the FreeRealty mailing list