[Freerealty] ImageMagik use

Scott Wang scott at scottscomputing.com
Tue Aug 12 15:05:36 MST 2003


Where do we send donations?  :) 
 
 - Scott Wang
 scott at scottscomputing.com
 http://www.scottscomputing.com
 
 
 


Patrick Fleming wrote:

And the images look good too (on the ones converted)
I had a look just to see... congrats

On Tue, 12 Aug 2003, Scott Wang wrote:

> Using the full path to convert worked!
>
> yeeeeeee haw!
>
>
>  - Scott Wang
>  scott at scottscomputing.com
>  http://www.scottscomputing.com
>
>
>
>
>
> Patrick Fleming wrote:
>
> > My MySQL database shows this row:
> >
> > id_files  bin_data  description  filename  filesize  filetype 
 owner
> > prop_num  thumb  thumb_size  thumb_filetype
> >
> > 244 [BLOB]  alphabet.jpg  26484  image/pjpeg    441 [BLOB] 26484
> > image/pjpeg
> >
> > So in that row it did create both the regular picture and a
> thumbnail.
> >  But the thumbnail wasn't manipulated.
>
> Which is the default if the image is not manipulated. This is the
> order of
> the function:
> 1)write a /tmp/$thumbname
> 2)resize /tmp/$thumbname
> 3)import /tmp/$thumbname into the db
>
> If # 2 fails a full size image will be imported into the db. A
> 'benefit'
> of using temporary storage vs. writing to a variable. Oh, and #2 
will
> fail
> silently since it's inside the function.
>
>
> >
> > At this point I'm also checking with my server administrator to 
see
> if
> > I need to do anything special to use the imagemagick...  Is there
> > somewhere in the code where we specify the path to imagemagick?
> >
> >
> >  - Scott Wang
> >  scott at scottscomputing.com
> >  http://www.scottscomputing.com
> >
> >
> >
> >
> >
> > Patrick Fleming wrote:
> >
> > >
> > > Scott Wang wrote:
> > > Oh, and I can't find where in the files that it includes the
> > > thumbnail.php file.  Perhaps that is what I'm missing.
> >
> > I just had an aha!
> > Look at /admin/admin.php from FR-2.8.2.zip lines 89~140 show how 
the
> > thumbnail is handled...
> > admin/agenteditor.php lines 66~117
> > agentadmin.php 116~162
> > There is new code inserted between the old code.
> > $thumbnails = 'y' should be set *somewhere* I personally set it in
> > thumbnail.php at the top.
> >
> > >
> > >  - Scott Wang
> > >  scott at scottscomputing.com
> > >  http://www.scottscomputing.com
> > >
> > >
> > >
> > > _______________________________________________
> > > FreeRealty mailing list
> > > FreeRealty at lists.rwcinc.net
> > > http://lists.rwcinc.net/mailman/listinfo/freerealty
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > FreeRealty mailing list
> > > FreeRealty at lists.rwcinc.net
> > > http://lists.rwcinc.net/mailman/listinfo/freerealty
> > >
> > _______________________________________________
> > FreeRealty mailing list
> > FreeRealty at lists.rwcinc.net
> > http://lists.rwcinc.net/mailman/listinfo/freerealty
> >
> >
> >
> >
> > _______________________________________________
> > FreeRealty mailing list
> > FreeRealty at lists.rwcinc.net
> > http://lists.rwcinc.net/mailman/listinfo/freerealty
> >
> _______________________________________________
> FreeRealty mailing list
> FreeRealty at lists.rwcinc.net
> http://lists.rwcinc.net/mailman/listinfo/freerealty
>
>
>
>
> _______________________________________________
> FreeRealty mailing list
> FreeRealty at lists.rwcinc.net
> http://lists.rwcinc.net/mailman/listinfo/freerealty
>
_______________________________________________
FreeRealty mailing list
FreeRealty at lists.rwcinc.net
http://lists.rwcinc.net/mailman/listinfo/freerealty







More information about the FreeRealty mailing list