Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 01:18:49 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
New Gallery image from Folder: Brax_HighSlide_Gallery_B
Pages: [
1
]
2
Go Down
Author
Topic: New Gallery image from Folder: Brax_HighSlide_Gallery_B (Read 5832 times)
maxbrax
Offline
Posts: 67
New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
on:
October 21, 2009, 08:39:44 PM »
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
www.maxbrax.com
roedental
Offline
Posts: 80
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Sven
Logged
snark
Guest
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 3719
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
@sven: schicke seite hast du da. wie hast du die datei-endung .jpg im bild links oben wegbekommen?
gruß dbs
Logged
stuggi
Offline
Posts: 11
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 80
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 3719
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
Reply #6 on:
October 22, 2009, 05:15:09 PM »
ok sven, was only a little question.
i hope developer maxbrax will do the right things.
dbs
Logged
maxbrax
Offline
Posts: 67
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
www.maxbrax.com
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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?
dbs
Logged
maxbrax
Offline
Posts: 67
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
www.maxbrax.com
dbs
WebsiteBaker Org e.V.
Offline
Posts: 3719
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
Reply #10 on:
October 23, 2009, 02:23:00 PM »
perfect
next step pic-description(undertitle) like in brax highslide gallery?
dbs
Logged
snark
Guest
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 11
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 23
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Have a nice day and in addition.... GOOD WORK!
Logged
Craxx
Offline
Posts: 157
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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.
best regards
Craxx;)
Logged
Craxx;)
Craxx
Offline
Posts: 157
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
Reply #15 on:
November 30, 2009, 06:03:27 PM »
Ohhhh i see with B_2 version it works very fine with folder, NICE
best regards
Craxx;)
Logged
Craxx;)
laola
Offline
Posts: 71
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 31
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 13
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 1
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 804
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Posts: 7
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
Reply #21 on:
May 26, 2010, 09:59:06 AM »
how to remove picture name on the bottom?
Logged
snark
Guest
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
Reply #23 on:
August 10, 2010, 03:59:07 PM »
view.php
sort into rsort ...
thanks mr google
Logged
snark
Guest
Re: New Gallery image from Folder: Brax_HighSlide_Gallery_B
«
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
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...