Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:18:49 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155533 Posts in 21713 Topics by 7738 Members
Latest Member: Pattieardathfe
* Home Help Search Login Register
Pages: [1] 2   Go Down
Print
Author Topic: New Gallery image from Folder: Brax_HighSlide_Gallery_B  (Read 5832 times)
maxbrax

Offline Offline

Posts: 67



WWW
« on: October 21, 2009, 08:39:44 PM »

 smiley
Hello everyone here is the revised version of the gallery Brax_HighSlide_Gall ery  called   Brax_HighSlide_Gall ery_B
can now specify the folder where the modiule going to read the images without having to specify each time the image you upload into the gallery.

Attention because, at moment,  in this case it is not possible to specify description and images.

A tip for getting a good  pagination is to use images all the same size.

Remains to refine the layout defined in fronted.css

Pleas Test the form and let me know.

Regards Massimo
Logged

roedental

Offline Offline

Posts: 80



WWW
« Reply #1 on: October 22, 2009, 01:49:01 PM »

Hey,

that`s working fine, realy a good work. You can see it here: http://www.tsvwl.de/pages/start/zufallsbilder.php

keep on working smiley

Sven
Logged
snark
Guest
« Reply #2 on: October 22, 2009, 03:05:37 PM »

filenames are placed under the thumbs... maybe you can automatically remove the extention

Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #3 on: October 22, 2009, 03:07:51 PM »

yeah, it works. good thing with the media-directory. *thumb up*
but higslide & highslide B must be into one module. 2 in 1 wink

@sven: schicke seite hast du da. wie hast du die datei-endung .jpg im bild links oben wegbekommen?

gruß dbs
 
Logged

stuggi

Offline Offline

Posts: 11



« Reply #4 on: October 22, 2009, 04:15:32 PM »

Hi Massimo!!
nice work! THX!!!!

i tested your module here
http://www.evang-kirche-voehringen.de/wb/pages/bildergalerie-gemeindeleben/75-jahre-martin-luther-kirche.php
Logged

Websitebaker 2.8 running....
http://www.evang-kirche-voehringen.de
roedental

Offline Offline

Posts: 80



WWW
« Reply #5 on: October 22, 2009, 04:43:54 PM »

Quote
@sven: schicke seite hast du da. wie hast du die datei-endung .jpg im bild links oben wegbekommen?

Hey dbs,
ich habe ab Zeile 167 folgendes eingesetzt, bzw. ersetzt:
// neu
$imagetitel = $img_list;

$imagetitel =str_replace("__ausrufezeichen__", "!", $imagetitel);
$imagetitel =str_replace("__fragezeichen__", "?", $imagetitel);
$imagetitel =str_replace("__sternchen__", "*", $imagetitel);
$imagetitel =str_replace("__pfeillinks__", "<", $imagetitel);
$imagetitel =str_replace("__pfeilrechts__", ">", $imagetitel);
$imagetitel =str_replace("__punktzeichen__", ".", $imagetitel);
$imagetitel =str_replace("__kommazeichen__", ",", $imagetitel);
$imagetitel =str_replace("__dollarzeichen__", "$", $imagetitel);

$imagetitel =str_replace("__prozentzeichen__", "%", $imagetitel);
$imagetitel =str_replace("__andzeichen__", "&", $imagetitel);
$imagetitel =str_replace("__slashzeichen__", "/", $imagetitel);
$imagetitel =str_replace("__klammerlinkszeich en__", "(", $imagetitel);
$imagetitel =str_replace("__klammerrechtszeic hen__", ")", $imagetitel);
$imagetitel =str_replace("__pluszeichen__", "+", $imagetitel);
$imagetitel =str_replace("__semizeichen__", ";", $imagetitel);
$imagetitel =str_replace("__doppelpunktzeiche n__", ":", $imagetitel);
$imagetitel =str_replace("__routezeichen__", "#", $imagetitel);
$imagetitel =str_replace("__slashobenzeichen_ _", "`", $imagetitel);
$imagetitel =str_replace("__slashuntenzeichen __", "´", $imagetitel);
$imagetitel =str_replace("__anfuehrungszeiche n__", "\"", $imagetitel);
$imagetitel =str_replace("__gleichzeichen__", "=", $imagetitel);




$imagetitel = str_replace("_"," ",$imagetitel);
$imagetitel = str_replace("aeu", "äu", $imagetitel);
$nichtersetzen = Array("au","eu");
$ersetzen = Array("##","**");
$imagetitel = str_replace($nichtersetzen, $ersetzen , $imagetitel);

$umlaute = Array("ae","oe","ue","Ae","Oe","Ue");
$replace = Array("ä","ö","ü","Ä","Ö","Ü");
$imagetitel = str_replace($umlaute, $replace , $imagetitel);

$imagetitel = str_replace("##", "au", $imagetitel);
$imagetitel = str_replace("**", "eu", $imagetitel);

//ende


    $row_count = 1;
    $col_count = 1;
   
    while($row_count <= $img_rows) {  // ********************** DISPLAY IMAGES ***********************
        echo '<tr class="lb">';
            while ($col_count <= $img_columns) {
                echo '<td>';
                if ($img_total > $img_count){
//neu
$imagetitel[$img_count] = substr($imagetitel[$img_count], 0, -11);

//ende
                    echo '<a class="highslide" onclick="return hs.expand(this)" href="' . WB_URL . $gallery_path . $img_list[$img_count] ;
                    echo '" class="lb_image_link"  title="' .$imagetitel[$img_count]   ;
                    echo '"><img  src="' . WB_URL . $thumb_path . $img_list[$img_count] . '" border="0" /></a>' ;
                    echo '<div class="highslide-heading">' .$imagetitel[$img_count] .'</div>';
                    echo '</div> <p> <div class="undertitle">'.$imagetitel[$img_count].'</div> <br>';



ist für meine Bedarf angepasst!

bis dann Sven
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #6 on: October 22, 2009, 05:15:09 PM »

ok sven, was only a little question.  grin
i hope developer maxbrax will do the right things.

dbs
Logged

maxbrax

Offline Offline

Posts: 67



WWW
« Reply #7 on: October 22, 2009, 09:15:31 PM »

Thank you all for trying out the new module.

Taking his cue from the post of roedental, whom I thank for the suggestion, I thought of replacing the line n. 180 view.php file:

echo '</ div> <div class="undertitle">'. img_list $ [$ img_count ].'</ div> <br> ';

  with the following:

echo '</ div> <div class="undertitle">'.  substr ($ img_list [$ img_count], 0, -4)  .'</ div> <br> ';

are thus eliminated any file extensions it is jpg, gif or png regardless of whether upper or lower case.
I also changed the frontend.css to center the image title.

Attach the amended form.

Regards Massimo
Logged

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #8 on: October 23, 2009, 09:33:45 AM »

it works, thank you.
but in the zoomed image(top left) is the extention to see. can you make it away too?  smiley

dbs
Logged

maxbrax

Offline Offline

Posts: 67



WWW
« Reply #9 on: October 23, 2009, 01:04:49 PM »

OK dbs

thank you for the test

i have solved the problem, here attached teh new version

Regards Massimo
Logged

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #10 on: October 23, 2009, 02:23:00 PM »

perfect  smiley

next step pic-description(undertitle) like in brax highslide gallery?

dbs
Logged

snark
Guest
« Reply #11 on: October 23, 2009, 03:04:32 PM »

ie 8 makes a mess of the descriptions ...

I do not got a pc available here (working on an apple now) but this might be a solution

Code:
               echo '<div style="display:inline;" ><a class="highslide" onclick="return hs.expand(this)" href="' . WB_URL . $gallery_path . $img_list[$img_count] ;
                    echo '" class="lb_image_link"  title="' .$img_list[$img_count]   ;
                    echo '"><img  src="' . WB_URL . $thumb_path . $img_list[$img_count] . '" border="0" /></a></div>' ;
                    echo '<div class="highslide-heading" style="display:inline">' .substr($img_list[$img_count], 0, -4).'</div>';
                    echo '</div>  <div class="undertitle">'.substr($img_list[$img_count], 0, -4).'</div> <br>';
« Last Edit: October 25, 2009, 10:46:09 AM by snark » Logged
stuggi

Offline Offline

Posts: 11



« Reply #12 on: October 26, 2009, 01:49:06 PM »

Hi Maxbrax,
is it possible to decline the size of the thumbs?

With your module the my 300px thumbs are about 40kbtye.
With "Another image Gallery" module my 300px thumbs are only about 10kbyte! (same pictures!)
Logged

Websitebaker 2.8 running....
http://www.evang-kirche-voehringen.de
med

Offline Offline

Posts: 23


« Reply #13 on: November 04, 2009, 10:53:59 AM »

Hi
There are two questions about Brax_HighSlide_Gall ery_B version 1.1:

1. Upload a picture with more than 2MB size will not work properly. There is no thumb nor pic on the site but the images are stored in /media/. Any solution?

2. How can I create different picture albums? OK.... i know, the second question is maybe for version 1.2 wink

Have a nice day and in addition.... GOOD WORK!
Logged
Craxx

Offline Offline

Posts: 157



« Reply #14 on: November 30, 2009, 05:41:44 PM »

Hy maxbrax,

perhaps it could be very usefull to have the feature to upload or to select a complete folder. It takes very long time to make one picture after another. Smiley

best regards
Craxx;)
Logged

Craxx;)
Craxx

Offline Offline

Posts: 157



« Reply #15 on: November 30, 2009, 06:03:27 PM »

Ohhhh i see with B_2 version it works very fine with folder, NICE SmileySmileySmiley

best regards
Craxx;)
Logged

Craxx;)
laola

Offline Offline

Posts: 71


« Reply #16 on: December 02, 2009, 07:18:07 PM »

Hi

it is possible the headline  to also fade out in the zoomed image?

the zoomed image without Title in the headline?

thanks

laola
Logged
geasy

Offline Offline

Posts: 31


« Reply #17 on: December 23, 2009, 03:34:14 PM »

Hi Massimo

Many thanks for that module: Great work!

One little "issue" was reported from one user of my page:
- I have relatively large galleries (about 150 pics)
- I show 15 thumbs per page (5x3)
- If a user clicks on a thumb, and tries to use the right arrow, he will only see the 15 pictures which are loaded on this page and not the whole gallery.

It is -of course- a minor bug. I would not even have regognized it myself...

Do you think there is a quick fix for that?

Many thanks for your help.

Claudio

Logged
joycesf

Offline Offline

Posts: 13


« Reply #18 on: January 04, 2010, 02:14:07 AM »

Hi Max,

Added it but nothing showed up on the admin side...  did I do something wrong or something wrong with the zip?

*Nevermind, the one in your sig works... but not the one at http://www.maxbrax.com/pages/download.php 

Thanks
« Last Edit: January 04, 2010, 02:41:07 AM by joycesf » Logged
hutieumi

Offline Offline

Posts: 1


« Reply #19 on: January 26, 2010, 04:57:26 PM »

Please Help
I'm new here in this forum and neu user with this software
I've downloaded Brax_HighSlide_Gall ery_B and installed on wb 2.8
Installation successfull but in page I don't have any option or setting??
just:

Quote
Seite ändern
    Aktuelle Seite: Test page 3 - Einstellungen ändern - Abschnitte verwalten
Die letzte Änderung wurde durchgeführt von Chi-Hieu Nguyen (chihieu), 16:38, 26th January, 2010
Block: Hauptblock

any help ist appreciated
Thanks in advance

hutieumi
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #20 on: February 02, 2010, 04:21:07 PM »

Hi hutieumi,

the gallery you can download on maxbrax' homepage (which is unfortunately also linked at AMASP) seems not to work. You have to uninstall it and use the one maxbrax has posted in his signature (first post in this thread) instead.

Regards
-instantflorian.

Logged
alex21

Offline Offline

Posts: 7


« Reply #21 on: May 26, 2010, 09:59:06 AM »

how to remove picture name on the bottom? huh
Logged
snark
Guest
« Reply #22 on: August 10, 2010, 03:46:53 PM »

I would like to change the order of the pictures from ascending to descending but I cannot find a code for this in the view.php ...

is there a simple solution?
Logged
snark
Guest
« Reply #23 on: August 10, 2010, 03:59:07 PM »

view.php

sort into rsort ...


thanks mr google
Logged
snark
Guest
« Reply #24 on: October 02, 2010, 02:28:35 PM »

I wthink the module would be much more friendly if one can select a folder in stead of typing it in...

would it be possible to replace:
Code:
<input type="text" name="gallery_path" size=40 value="<?php echo $sql_row['gallery_path']; ?>" />

with something like

Code:
     <td>{TEXT_TARGET_FOLDER}:<br />
                <select name="target" style="width:100%;">
                  <option value="{MEDIA_DIRECTORY}" selected>{MEDIA_DIRECTORY} </option>
                  <!-- BEGIN dir_list_block -->
                  <option value="{NAME}">{NAME} </option>
                  <!-- END dir_list_block -->
                </select>
              </td>

** taken from the media page in the backend .. offcourse it does not work this way but I guess it is possible to get all the folders from the mediapage into a selectbox and then choose a folder in stead of typing it manually
Logged
Pages: [1] 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!