Hi
I need one more thing to get my custom lightbox running in the Media Gallery module for Drupal 7.
The link that is clicked which leads to a custom page which contains the image is at this moment the following:
l($image, $link_path, array('html' => TRUE, 'attributes' => $attributes)) : $image;
The thing is that I want to link directly to the image, and not to a page where the image is on! I know that this is hard to understand so I'll try to clarify. At this moment, when you click the link you will be directed to something like this: /media-gallery/detail/xxx/xxxxx
But I want it to link to the image itself (e.g. /files/folder.1.JPG) and I can't seem to find where the image is transformed into a page on itself. Does anyone have ANY idea? I would be soooo grateful!
This could be seen as a feature request: when someone would want to apply a custom URL to the picture (rather than a page with the picture) itself, this is quite impossible. Some function that allows a (power) user to switch between render-on-page and render-by-itself could make this process easier.
Comments
Comment #1
lsolesen commentedComment #1.0
lsolesen commentedSome more information why this could be a feature request
Comment #2
ivnish