Hi folks,
Im sure ive seen this somewhere, infact im sure ive done i before, however i cant seem to locate either now.
I would like to stop showing the large images, from clicking on the intermediate image.
Does anyone know how to do this?
Set the size for intermediates and full-size pics to the same resolution, disable the creation of intermediates and set your gallery to resize all uploads.
Resolution? is this an option? i cant see it!!?
Sorry, ive just re-read my first post.
Im not looking to remove the large images - simply to remove the ability to click on the intermediate image in displayimage.php
Oh, ive figured this out now. Sorry!!
For others - add the function theme_html_picture() to your theme, if not already there. then comment out the line that begins $pic_html = "<a href=\"javascript:;\"onclick.....
this only removes the link, so if someone knows the url, they can still get the full image. But thats just what i wanted to achieve!!
Quote from: davebursey on May 23, 2008, 03:43:34 PM
Oh, ive figured this out now. Sorry!!
For others - add the function theme_html_picture() to your theme, if not already there. then comment out the line that begins $pic_html = "<a href=\"javascript:;\"onclick.....
this only removes the link, so if someone knows the url, they can still get the full image. But thats just what i wanted to achieve!!
Thank god for searches, found what I was looking for! But how do get rid of the alt tag "click to view fullsize" when you mouse over the image?
Take a look at the section mentioned above that you're supposed to edit (the function theme_html_picture() in themes/yourtheme/theme.php): it doesn't only compose the link to the full-size, but adds the quick info as well that you're trying to remove just two lines below the line you're supposed to edit. Look foralt=\"{$lang_display_image_php['view_fs']}\"
and remove that section.
thanks man, I can't beleive I missed that