picture on the right

Phoca Gallery - image gallery extension
doryshe
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 21 Jul 2009, 09:03

picture on the right

Post by doryshe »

hi there

I installed the phoca gallery on my joomla website this the hebrew translation. when I click the image, it opens in large image on the right of the screen?
how can i fix it to open it in the middle of the screen?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: picture on the right

Post by caro84g »

Hi,

are you using IE6?

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
doryshe
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 21 Jul 2009, 09:03

Re: picture on the right

Post by doryshe »

no, I am using explorer 7
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: picture on the right

Post by Jan »

Hi, check your template (is it is standard template, if you don't know try to test it with e.g. rhuk_milkyway), see this post too:

https://www.phoca.cz/documents/2-phoca-g ... thumbnails

Jan
If you find Phoca extensions useful, please support the project
doryshe
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 21 Jul 2009, 09:03

Re: picture on the right

Post by doryshe »

I install 2.5. I tried to replace the code with the new code but without success.
this is the original code.
what should be the the code after the change?

Code: Select all

function renderCategoryCSS($font_color, $background_color, $border_color, $imageBgCSS, $border_color_hover, $background_color_hover, $ol_fg_color, $ol_bg_color, $ol_tf_color, $ol_cf_color, $margin_box, $padding_box, $opacity = 0.8) {
        
        $opacityPer = (float)$opacity * 100;
        
        $tag = "<style type=\"text/css\">\n"
        ." #phocagallery .phocaname {color: $font_color ;}\n"
        ." .phocagallery-box-file {background: $background_color ; border:1px solid $border_color;margin: ".$margin_box."px;padding: ".$padding_box."px;}\n"
        ." .phocagallery-box-file-first { $imageBgCSS }\n"
        ." .phocagallery-box-file:hover, .phocagallery-box-file.hover {border:1px solid $border_color_hover ; background: $background_color_hover ;}\n"
        /*
        ." .ol-foreground { background-color: $ol_fg_color ;}\n"
        ." .ol-background { background-color: $ol_bg_color ;}\n"
        ." .ol-textfont { font-family: Arial, sans-serif; font-size: 10px; color: $ol_tf_color ;}"
        ." .ol-captionfont {font-family: Arial, sans-serif; font-size: 12px; color: $ol_cf_color ; font-weight: bold;}"*/
        
        . ".bgPhocaClass{
            background:".$ol_bg_color.";
            filter:alpha(opacity=".$opacityPer.");
            opacity: ".$opacity.";
            -moz-opacity:".$opacity.";
            z-index:1000;
            }
            .fgPhocaClass{
            background:".$ol_fg_color.";
            filter:alpha(opacity=100);
            opacity: 1;
            -moz-opacity:1;
            z-index:1000;
            }
            .fontPhocaClass{
            color:".$ol_tf_color.";
            z-index:1001;
            }
            .capfontPhocaClass, .capfontclosePhocaClass{
            color:".$ol_cf_color.";
            font-weight:bold;
            z-index:1001;
            }"
        ." </style>\n";
        
        return $tag;
    } 
Post Reply