#1 2003-09-21 11:42:30

Roy
Member
Norway
2003-09-21
28

The Picture Beside The Main Picture

Thanks for a great script. Sorry about my english.
I cant get up the next and the last picture besides the main picture.
I can navigate with the link, but dont get the next and last picture to show, I only get a cross.
Is thre anything I have not configurert. I have tried too install it again, but nothing was different.
I have located the link in photo.php to bee:

Code:

echo "
  <a href=\"".add_session_id_to_url( $url_link )."\" title=\"$alt_prev\">
    <img src=\"left.gif\" class=\"imgLink\" style=\"margin-right:10px;margin-left:5px;\" alt=\"$file\"/>
  </a>";

My galleries and thumbs is working ok, what is wrong with my setup?

Else the script is ok.

friendly
Roy

Offline

 

#2 2003-09-21 19:34:59

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14049

Re: The Picture Beside The Main Picture

I find it strange because you can see thumbs without problems on diapo.php page ! I don't know what the problem can be. But I try to find questions to ask you...

Offline

 

#3 2003-09-21 22:53:29

Roy
Member
Norway
2003-09-21
28

Re: The Picture Beside The Main Picture

I find it strange because you can see thumbs without problems on diapo.php page ! I don't know what the problem can be. But I try to find questions to ask you...

I forgot to tell you that have replaced the pictures beside with arrows as you see in the code I passed inn.
See your script on : **broken link**
I have tried a lot of scripts lately, but I like your Script so much, that I really want it to work propely.
Keep up your great working.
friendly
Roy

Offline

 

#4 2003-09-22 07:00:54

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14049

Re: The Picture Beside The Main Picture

as far as I can see on your gallery, it works great.

Offline

 

#5 2003-09-22 19:41:21

Roy
Member
Norway
2003-09-21
28

Re: The Picture Beside The Main Picture

Thank you for answering me.

If you take a look at this link: **broken link**

you will see the main pictures, and arrows to the left and right of the main picture. I have modified the script with this arrows. It should have been the last picture to the left, and the next picture to the right. Instead I get the link to work, buth can't get up the pictures, but only get red crosses.
I hope you understand my problem now.
If not I think I drop the theme, and live with the arrows.  Sometimes in the future I can solve this problem.
(When i have learned PHP better).
friendly
Roy Hansen **broken link**

Offline

 

#6 2003-09-22 23:15:58

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14049

Re: The Picture Beside The Main Picture

really, I don't understand, it works perfectly when I look on my computer ! The first picture has no previous arrow, the last one has no next arrow. No red cross anywhere !

The only thing different from you and me might be the web browser. I use FireBird (Mozilla Browser) on GNU/Linux. I can't test on Microsoft Windows IE, it may come from that  8-O 

Offline

 

#7 2003-09-26 15:27:49

Roy
Member
Norway
2003-09-21
28

Re: The Picture Beside The Main Picture

At last I manages to solve the problem.
In photo.php you have a line
"$lien_thumbnail = $cat_directory."/thumbnail/".$conf['prefixe_thumbnail'].$file.".".$row['tn_ext']"

On my system the link to the small pictures skows up with two slashes "//"
when I took away one slash like this"
"$lien_thumbnail = $cat_directory."thumbnail/".$conf['prefixe_thumbnail'].$file.".".$row['tn_ext']"
everything works perfect. :D

Thank you for a exellent script, its one of the best!!!!

Roy

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact