Improper location of images after hitting next button when viewing album. - Page 2 Improper location of images after hitting next button when viewing album. - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Improper location of images after hitting next button when viewing album.

Started by me_slayer, August 22, 2004, 07:27:27 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

willstein


Joachim Müller

you'd have to come up with a mod similar to the one from mstralka above: the links that send people to the thumbnail page need to have the anchor too.

willstein

hmm.

following mstralka's original mod, I looked in displayimage.php along with thumbnails.php and theme.php.
all I could come up with is, on displayimage.php around line 92.

$thumb_tgt = "thumbnails.php?album=$album$cat_link&page=$page#picture";

But it hasn't worked. Any ideas?

Joachim Müller

there are other places as well, e.g. in include/functions.inc.php, find$link = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."\">".$CURRENT_ALBUM_DATA['title']."</a>";

willstein

Well, after playing with that line trying to add #picture . . . I couldnt figure it out.
Then I completely tested that line, turning it into this:
$link = "<a href=\"nofile.php?noalbum=".$CURRENT_ALBUM_DATA['aid']."\">".$CURRENT_ALBUM_DATA['title']."</a>";
Notice:
nofile.php?noalbum

and it had no effect on my gallery. (yes, i checked to make sure I uploaded it)

could it be somewhere else?

willstein


Joachim Müller

$link = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."#picture\">".$CURRENT_ALBUM_DATA['title']."</a>";doesn't work as expected?

willstein

I tried that in the past, and tried again recently, and it doesnt seem to change the URL. (I assume if the URL does not have #picture, then it won't output)
Is it possible that "aid" is not set?

Stramm

I don't get it. What's the point in moving rating and comment box above the pic and then pacing the anchor in a way so that no one would see these page parts (in case of using prev/ next)?? Usually you scroll the page down and not up. And when I use the prev next buttons I'd like to see these buttons on the next page as well and not having to scroll up for this ??? Feels solmehow upside down
Just wondering cause this is a totally different approch of a navigation... far away from any standards

willstein