Closed (fixed)
Project:
Node Images
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2007 at 05:47 UTC
Updated:
1 Jan 2008 at 17:30 UTC
I'd like to be able to show just the thumbnail image without any javascript applied to it where if you click the popup window comes up. Ideally I'd like a variable that I can put in the teaser template that will make just the plain thumbnail show up. Because I want to apply a link to a node on that thumbnail. Is it possible to do this?
Comments
Comment #1
stefano73 commentedYou can override the function theme_node_images_view() by adding a function phptemplate_node_images_view() in your theme's template.php.
Comment #2
archard commentedThanks, but I just found this node http://drupal.org/node/154066
This code works perfectly to grab the path for the image right out of the database
You can change $data->filepath to $data->thumbpath to get the thumbnail. And if its not for a block you can just cut out the statements that look for the node id.
Comment #3
stefano73 commented