![]() |
|
Disable Full Size Image Link/Popup - 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 Full Size Image Link/Popup (/thread-2100.html) Pages:
1
2
|
Disable Full Size Image Link/Popup - acrylian - 2008-02-15 Ok, I think now I got you. Someone did something similar, can't remember the post right now. You could do this like this for example. Given you always provide such a detail image, you could create a second folder. Let's name it "details" for example. The detail image which you indeed need to upload separatly you name exactly like the image or image title, but append for example "-detail" to it. So now you could create a link to that like this (rough sketch): Disable Full Size Image Link/Popup - darrellm - 2008-02-15 Thanks Acrylian. The link sample you wrote, is that to be put in the description area below the image or is that to be placed in the image.php default theme page? If in the image.php, do I need to do this (see above sample by aitf311) on line 46 to get the pop-up? Disable Full Size Image Link/Popup - acrylian - 2008-02-15 Yes, that is meant to replace the url in the full image link on image.php. Of course this is not a pop up link, it's simply a solution to generate an automatic link, so you don't have to write it manually. You will have refine and to add a popup-javascript to that yourself. Disable Full Size Image Link/Popup - darrellm - 2008-02-16 Sorry to bug you about this, but where do put this url? Do i replace it in line 47? Would you please show me (the location) where to insert the url? And the folder "details", does that go inside the theme folder, same place where the image.php is located? I guess I can do without the pop-up for now. Thanks again. Disable Full Size Image Link/Popup - acrylian - 2008-02-16
Disable Full Size Image Link/Popup - Jhcbiinoc - 2008-09-13 Someone was asking how to open the full size image in a JavaScript pop up the size of the full size image; here is a way I found to do that:
">
So far, this is working for me in both Firefox and IE. I'm still debating whether I want to do it this way or just have the full size image open in an html page (target="_blank"). Disable Full Size Image Link/Popup - acrylian - 2008-09-13 Why don't you use a lightbox script? We have thickbox already on board. Disable Full Size Image Link/Popup - gitarrmannen - 2009-09-07 Bump this thread up... I have the same issue. I really don't need the popup and i use the latest version, and the code is different compare to the older post in this thread.
How do i remove the popup? Is there a way to do this from the code above? Thanks! Disable Full Size Image Link/Popup - acrylian - 2009-09-07 Yes, that is the code for the thickbox/full image. The parts that actually are printing the link are ` Disable Full Size Image Link/Popup - gitarrmannen - 2009-09-07 Ahhh.. Big thanks for the quick reply. For anyone else that want to get rid of the popup, remove this part of the code in image.php on line 61 or something.
Disable Full Size Image Link/Popup - acrylian - 2009-09-07 You also need to remove the other "if" construct I posted, unless you want invalid html with a single ``. To remove only the thickbox popup there is an option on the backend. Disable Full Size Image Link/Popup - gitarrmannen - 2009-09-07 Yup, you're right.. thanks for pointing that out for me... |