You still haven't given us much to go on, so I'm just gonna take a big guess here.
I think get_post_meta() is a function that fetches some image data, perhaps from a database, and returns the data with an image header. That is, if you just open the page that calls that function in a browser, it would actually show an image.
Now, the function imagecreatefromgif() want's an image source, a path to an image file. So you should simply give it the path to the file that calls the get_post_meta() function, as in
PHP Code:
$src = imagecreatefromgif("path/to/file.php");
If that doesn't work, I doubt we'll be able to help you unless you are more specific. You could for example show us some code of what the get_post_meta() function actually does, since you don't seem to know yourself.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|