![]() |
|
imageobject usage - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: imageobject usage (/thread-7711.html) |
imageobject usage - micheall - 2010-10-13 Here's a speedhump I'm trying to work through. I'm updating the zenFBSuite plugins to use the zp_register_filter setup, which is coming along, but I'm curious how to accomplish something. The filter is being called in theme_head to add meta tags, at this point an image objects used later in the image.php haven't been generated yet, even though the call to the plug-in is after the image in the structure of image.php. Is there a way to reference the image object used in the image.php without having to create a separate image object for it's use solely in the theme_head portion? I hope that question makes sense. Basically I'm attempting to reference a thumbnail image with the plugins which are called after the image itself is displayed, however the metatags have been added in the header via theme_head filter application. imageobject usage - acrylian - 2010-10-13 On image.php the current image should be already set especially since right after the filter call it is used for the ``. Sure you are using the filter correctly?Did you set |