Ok, here is what i want to do, but am unsure of how to achieve it:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Ftangiblebrit.com%2Fi%2Fpreview.dll%2Ftmp%2Fdur%2Fhrs%2Fb34.jpg&hash=466b8e43f03ab9c711ad3d1ad448649a96f19c50)
I have hi-lighted the area i want to modify.
I want it to do this:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Ftangiblebrit.com%2Fi%2Fpreview.dll%2Ftmp%2Fdur%2Fhrs%2Faf34.jpg&hash=adb6135ab3af8e5b8bfedac9cf347d8adc27753d)
any suggestions on what to do?
in an un-modded gallery, you would open displayimage.php, and remove this;
if ($pos < ($pic_count -1)) {
$next = $pos + 1;
$next_tgt = "$PHP_SELF?album=$album$cat_link&pos=$next";
$next_title = $lang_img_nav_bar['next_title'];
} else {
$next_tgt = "javascript:;";
$next_title = "";
}
wait-so your saying that when it comes to the last image, it will hide 'next' ?
that's what i want to do, and for 'previous' also
like when it starts at the first image, it hides 'previous'.
What I am saying, is I think it will do what you want, but as I don't know what other mods you've done, and I'm not even sure whether it's the normal image you're showing, or the full size pop-up, I can't be sure.
Why don't you try it, and see. If it works, you now should know what to look for to do the same with the previous, if not, restore your code, and ask again, with a bit more information.
nope
what it did was link to my gallery when i did that...
*this is intermediate display
to be more specific, i want it to act like corbis does with images:
goto
http://pro.corbis.com/popup/Enlargement.aspx?mediauids={73d30cca-7e70-4fd6-8d26-4292b0e6ef5e}|{ffffffff-ffff-ffff-ffff-ffffffffffff}&qsPageNo=1&fdid=&Area=Search&TotalCount=554&CurrentPos=1&WinID={73d30cca-7e70-4fd6-8d26-4292b0e6ef5e}
and that is a pop up page with the image previous and next display,
since this image is the first in its album, it hides the previous link, and when you goto the last image in the album, it hides the next link
:)
OK, my mistake.
open theme.php, and look for <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}">
Delete everything in the cell, but not the cell itself.
ohhh no lol
i don't want to delete the entire 'Next Image' option! :wink:
i want it to hide 'next image' when you get to the last image of the album-i am going to see what i should do - experiment.
thank you for your help, though:)