Jump to content

Photo Mosaic Script...


herbally

Recommended Posts

I'm trying to get this script working with no luck.  This guy offers the photo mosaic portion of his code but excludes his db access information (understandably).  Unfortunately, with zero php experience it's proven difficult to recreate the missing files.

 

his link:

http://lab.digitalinitiatives.net/?page_id=8

 

I created my own version of the files that are referenced in the code in an attempt to get it working.  I think I've managed to setup my own db and get his script connecting to it, but it errors out due to (I think) a difference between my recreated safeQuery method and his which seems to be atypical because of the $filename parameter.  Again, no knowledge of php makes guessing at what I'm missing difficult.

 

Here's my error:

Fatal error: Call to a member function safeQuery() on a non-object in /.../.../....com/mosaic/imageWorker.php  on line 148

 

Any ideas would be much appreciated!  I'm sure plenty of people could make use of this if we can make it work.  I attached the original source code in the zip below, but it's available for download on that website as well.

 

Thanks!

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/195814-photo-mosaic-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.