Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Simple request  (Read 2444 times)

0 Members and 1 Guest are viewing this topic.

shiva

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • Site Administrator
Simple request
« on: May 26, 2004, 05:32:05 am »

For some reason, my members have problems understanding that clicking a image in a gallery page will open up the image full sized. In the next version, I'm requesting that there's a link, or at least an indicator that tells them that. I know a text box appears, but some people can't read I guess, or it doesn't occur to them to move the cursor over the picture.
Also, as a appearance thing, is there any way to load in the table with the width and the height of the image included with the table code? Just make it look better to members, as prevent the screen from stretching in case there's a long load time for the image.

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Simple request
« Reply #1 on: May 30, 2004, 07:46:20 pm »

1) Only one request per thread!
2) using better subjects will make your requests more likely to be heard :o
3) if you want to display an additional text link, edit displayimage.php and find
Code: [Select]
       $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
        $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title; //added by gaugau
        $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
        $pic_html .= "</a>\n";
and add after it
Code: [Select]
       $pic_html .= "<br />";
        $pic_html .= "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
        $pic_html .= "Click here to see full sized pic";
        $pic_html .= "</a>";

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.