![]() |
|
Disable Link From Image Page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Disable Link From Image Page (/thread-803.html) |
Disable Link From Image Page - centered - 2006-09-14 Hi, Not quite sure how to ask this so its clear...after clicking on an image in the album, you get taken to the page with just the image. Then you can click on the image for it to display full size in your browser (I think this is for downloading). Anyway...I'd like to disable the link so on the page that shows the image there is no link when you click on the image (i.e. nothing happens). How do I accomplish this? Thanks! Disable Link From Image Page - jayray999 - 2006-09-15 Open the file image.php in your /themes/default folder. Around line 38-40 you will see: " title=""> Delete " title=""> and the so your line 38-40 should look like: Save and upload, replacing existing image.php which you should backup as image.php.old or some other name like that as a precaution. Disable Link From Image Page - jayray999 - 2006-09-15 SORRY SORRY. I pasted the wrong thing in. This is the correct version: Open the file image.php in your /themes/default folder. Around line 38-40 you will see: " title=""> From line 39 delete and the so your line 38-40 should look like: Save and upload, replacing existing image.php which you should backup as image.php.old or some other name like that as a precaution. Disable Link From Image Page - jayray999 - 2006-09-15 Sorry for the multiple posts. Turns out the forum is blocking hyperlinks so here is the last attempt with backticks. Open the file image.php in your /themes/default folder. Around line 38-40 you will see: ' " title=""> ' From line 39 delete and the so your line 38-40 should look like: ' ' Save and upload, replacing existing image.php which you should backup as image.php.old or some other nam Disable Link From Image Page - jayray999 - 2006-09-15 Ok. I give up. Just make your lines 38-40 is image.php look like: Disable Link From Image Page - centered - 2006-09-24 Thanks! It worked great! Disable Link From Image Page - darrellm - 2007-01-29 On my default theme it looks like this:
which one would I delete? thanks. Disable Link From Image Page - DarrellD - 2007-01-29 @darrellm ` Disable Link From Image Page - darrellm - 2007-01-29 O.k. I see it now. Thanks. Disable Link From Image Page - Vittra - 2007-02-02 Hi. How? Disable Link From Image Page - DarrellD - 2007-02-02 @Vittra ` Disable Link From Image Page - trisweb - 2007-02-02 Actually, It should be: [img][/img]" /> ` Disable Link From Image Page - DarrellD - 2007-02-03 Yeah, what Trisweb said. Sorry, I just did a quick look and grabbed the first one that looked familiar to me. |