Hiya i love this modual but i have two problems, one is that users cant make there own galleys and the other is that the images when you click on the original image link it make the full image take up the entire page and even go under my navigation and other elements. What i would like to do is for this to instead open up the original image in a popup window.

Comments

drewish’s picture

Status: Active » Closed (duplicate)

this is really a duplicate of: http://drupal.org/node/117915

jerry_louise’s picture

$links[] = l(t('view original'), 'node/'.$node->nid, NULL, 'size=_original');

replace with

$links[] = '<a href="javascript:void(0);" 
onClick="fullScreen(\'image/view/' . $node->nid . '?' 
. 'size=_original'\');">' . t('view original') . '</a>';

this is the solution i found but it dosnt work because its not in the dang code its seems to have been replaced with this
$links['image_size_original'] = array('title' => t('original'), 'href' => 'node/' . $node->nid, 'query' => 'size=_original');

jerry_louise’s picture

$links[] = l(t('view original'), 'node/'.$node->nid, NULL, 'size=_original');

replace with

$links[] = '<a href="javascript:void(0);" 
onClick="fullScreen(\'image/view/' . $node->nid . '?' 
. 'size=_original'\');">' . t('view original') . '</a>';

this is the solution i found but it dosnt work because its not in the dang code its seems to have been replaced with this
$links['image_size_original'] = array('title' => t('original'), 'href' => 'node/' . $node->nid, 'query' => 'size=_original');