Login   Register  
PHP Classes
elePHPant
Icontem

dump() error

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Thumbnail and Watermark  >  All threads  >  dump() error  >  (Un) Subscribe thread alerts  
Subject:dump() error
Summary:Trying to output image using dump(), but gives resource error
Messages:2
Author:Joe Sieben
Date:2007-12-06 12:15:11
Update:2007-12-06 12:33:06
 

  1. dump() error   Reply  
Picture of Joe Sieben
Joe Sieben
2007-12-06 12:15:15
Hi,

I am having trouble outputting the thumbnail within a php page. It works by itself when show() is selected, but when dump() is assigned to a variable and that variable is output it outputs: Resource id #6.

How do I use dump() so I can have multiple thumbs on the one page?

Hope it wasn't a stupid question. By the way, this script rocks!

  2. Re: dump() error   Reply  
Picture of Joe Sieben
Joe Sieben
2007-12-06 12:33:06 - In reply to message 1 from Joe Sieben
Who's stupid? (me).

Don't use echo and dump() and it works as if the file is the image itself. Sorry to waste time, very late and tired and can't delete this post.

For anyone thinking about using this script - it is awesome, the best I have ever seen.