Closed (fixed)
Project:
Image
Version:
5.x-1.x-dev
Component:
image.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2007 at 23:21 UTC
Updated:
14 Jul 2007 at 00:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
theshap commentedI'm in exactly the same boat! Any info on this would be greatly appreciated!
Comment #2
gregrmay commentedI would also love to know! I took a look at the function, but am not clear on how to create the new window and place the image inside.... Thanks!
Comment #3
drewish commentedmarked http://drupal.org/node/129707 as a duplicate of this.
Comment #4
drewish commentedmarked http://drupal.org/node/132826 as a duplicate
Comment #5
drewish commentedmarked http://drupal.org/node/136963 as a duplicate
Comment #6
dindon commentedmethod above is not working for image 5.x-1.x!
Comment #7
Leiche commentedHaving the same problem with Drupal 5.1 and Image 5.x-1.x.
Got some huge Wallpapers on my page, that do not fit into the content block. So they are overlapped by the right sidebar.
I'm a complete newbie to Drupal and PHP, so I have to relate on you coders out there.
Please help :)
Leiche
Comment #8
isko commentedI have found the solution. You have to replace the last line in the image_link function, so that it looks like this:
$links['image_size_original'] = array('title' => t('original'), 'href' => 'system/files/' . $node->images['_original'], 'attributes' => array('target'=>'_blank'));Maybe, you will have to change the image path prefix 'system/files/' to match your configuration.
Unfortunately, I have a problem when trying to integrate this as an overriden function in my theme, so that I don't have to change the image.module. I've tried to add the modified function to my template.php:
but it has no effect. Anyone please help, I have no experience with functions overriding yet?
---
www.scorpions.sk
Comment #9
drewish commentedmarked http://drupal.org/node/144999 as a duplicate
Comment #10
drewish commentedmarked http://drupal.org/node/151136 as a duplicate
Comment #11
dindon commentedhow to open image only in the new window? the method above is working but it include the sidebar/theme.
THanks and Regards,
Comment #12
drewish commentedokay here's a patch that takes a first crack at this.
Comment #13
drewish commentedokay i'm going to go ahead and commit this. people have been asking for it for as long as i've been working on the module and i closed a bunch of duplicate issues from before that. we can work any bugs out later.
Comment #14
(not verified) commented