[wp-hackers] Using wp_generate_attachment_metadata inside a plugin.

zanematthew at gmail.com zanematthew at gmail.com
Mon Jul 23 16:01:51 UTC 2012

I have a plugin which in short powers this site <http://bmxraceevents.com/>,
I recently added this <http://bmxraceevents.com/events/new> form so users
can create events. Note the "browse" button, I'm using
this<https://github.com/zanematthew/zm-upload>library I wrote to
assist in meda uploads.

Everything works fine when used inside of a theme, but when used in a
plugin the function
not generate image thumbnails, everything else does work.

So I have to create my own thumbnails, which is not an issue, but my
question is "why"? Here's my final code <https://gist.github.com/3164389>.

"The following will cause your email to be flagged:
*u, ur, sumthing, sumeone, dat, dis, ight, dere, plz, thx*"

Zane Matthew Kolnik
http:/zanematthew.com/ <http://blog.zanematthew.com/>

More information about the wp-hackers mailing list