Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 12:20:10 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155556
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
New Image Gallery
Pages:
1
...
5
6
[
7
]
8
Go Down
Author
Topic: New Image Gallery (Read 46590 times)
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #150 on:
May 30, 2010, 11:29:04 AM »
Hello,
after a long time I'm proud to present Version 2.0 of AnotherImageGallery
New features:
- Gallery title is now editable in the backend
- Option to display the gallery inline or not can now be changed in the backend
other changes
- new backend layout
- adapted all copyright notices
- moved images to images folder
- added more language variables
What are the benefits of the new features?
Gallery title is now editable in the backend
In version 1.9 and prior the Gallery title could only be changed by editing the language files and the title was used for all galleries. Now you easily can give every gallery your own title and choose for every gallery wether the title should be displayed or not.
Option to display the gallery inline or not
- If you use the gallery without any other scripts you should choose "inline". This is the default value. The gallery works then the same way as before.
-As JQuery is integrated since 2.8.1 in the Core we are now able to use all existing galleries easily with JQuery scripts too.
f.e. Colorbox: Download and install the
Colorbox
and change the AnotherImageGalller
y to not display the Gallery "inline". That's it.
Have fun
Matthias
Edit:
Removed Attachement. See new version some posts below.
«
Last Edit: May 31, 2010, 11:09:32 AM by ruebenwurzel
»
Logged
mr-fan
Offline
Posts: 1556
Re: New Image Gallery
«
Reply #151 on:
May 30, 2010, 12:50:16 PM »
hi matthias,
looks very nice - did a short test 2.8.1
Code:
Notice: Undefined variable: MOD_IMAGEGALLERY in C:\XAMPP\htdocs\2-8-1-final-dashboard\modules\imagegallery\view.php on line 57
Notice: Undefined variable: MOD_IMAGEGALLERY in C:\XAMPP\htdocs\2-8-1-final-dashboard\modules\imagegallery\view.php on line 192
Notice: Undefined variable: MOD_IMAGEGALLERY in C:\XAMPP\htdocs\2-8-1-final-dashboard\modules\imagegallery\view.php on line 216
Notice: Undefined variable: MOD_IMAGEGALLERY in C:\XAMPP\htdocs\2-8-1-final-dashboard\modules\imagegallery\view.php on line 222
But new functions (especially display inline j/n) works great!
New Backend looks also more sorted.
Tested with colorbox, fancybox and slimbox2!
regards martin
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #152 on:
May 30, 2010, 02:57:37 PM »
@martin
hmm, notices you hava you should also have with version 1.9 as i ddn't change there something. Testet it here with E_ALL&E_STRICT and didn't get any notices. So did you get this on a clean install or an update?
Matthias
Logged
mr-fan
Offline
Posts: 1556
Re: New Image Gallery
«
Reply #153 on:
May 30, 2010, 03:25:57 PM »
hmm, installation XAMPP Rev. 1287 - i'll test it further with other installations or with a complete new installation without any other mod/installations while this environment i've tested some other mods one of them with a little core-replacement...
EDIT: i've installed it on some other local WB's and it works without notices!
so it depends on the non-clean 2.8.1er installation...sorr
y for the false hint!
Thank you for reworking this Gallery - i've used the 1.9 for some Sites with some lightboxes - but with the new settings and the span class .picturelink everyone could easy use every lightbox he wants!
regards martin
Logged
maverik
Offline
Posts: 1568
Re: New Image Gallery
«
Reply #154 on:
May 30, 2010, 10:28:22 PM »
very nice, works like a charm, thx a lot.
for validation go to line 408 view.php > "trimming empty span"
Code:
echo '<span class="clear"></span>'."\n";
change to
Code:
echo '<span class="clear"> </span>'."\n";
now its valid
Logged
Signatur wird geladen...
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #155 on:
May 31, 2010, 11:04:37 AM »
Hello,
attached Version 2.1 of AnotherImageGallery
.
Changes:
- some validiation fixes in view.php (thanks to Maverik) and modify.php.
Have fun
Matthias Gallas
Edit:
Attachement removed, newer version some posts below
«
Last Edit: June 06, 2010, 10:14:17 AM by ruebenwurzel
»
Logged
maverik
Offline
Posts: 1568
Re: New Image Gallery
«
Reply #156 on:
May 31, 2010, 01:19:56 PM »
beim einbeziehen von unterordnern werden diese ja als link aufgelistet. klick man dann einen ordner an kommen die bilder mit zwei kleinen punkten als link um zurück zu kommen.
ist es vielleicht möglich das der ordnername angezeigt wird und die zwei punkte als schrift oder button für zurück angezeigt werden?
sorry for my bad english
Logged
Signatur wird geladen...
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #157 on:
May 31, 2010, 02:11:51 PM »
Hello,
Quote
beim einbeziehen von unterordnern werden diese ja als link aufgelistet. klick man dann einen ordner an kommen die bilder mit zwei kleinen punkten als link um zurück zu kommen.
ist es vielleicht möglich das der ordnername angezeigt wird und die zwei punkte als schrift oder button für zurück angezeigt werden?
aaah, yes this is something wich should be changed. Bothers me a long time too and i did forget it to change. Will look into the code, hope i found a easy solution.
Matthias
Logged
maverik
Offline
Posts: 1568
Re: New Image Gallery
«
Reply #158 on:
June 01, 2010, 10:18:45 AM »
@matthias
please have a look at my site
http://www.websitebaker.net/pages/labor/galerien/imgcbox.php?dir219=%2Faqua
if there is another section after gallery the section begins after the last thumbnail
a solution can be
Code:
.imagegallery {float:left;}
in frontend.css but i dont know if it is the right way.
Logged
Signatur wird geladen...
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #159 on:
June 01, 2010, 10:57:44 AM »
Hello,
Code:
if there is another section after gallery the section begins after the last thumbnail
you are right and and styling .imagegallery with float:left works fin for me. This class should be added as default in the next version of AnotherImageGallery
. Put it on my todo list. Thanks
Matthias
P.S.
Looked in the code with the ../ für folder up, but didn't find a solution to change this. As you know I'm more a copy and paste, try and error coder and at this point my knowledge ends, btw. i must have time to learn more php
«
Last Edit: June 01, 2010, 11:24:28 AM by ruebenwurzel
»
Logged
maverik
Offline
Posts: 1568
Re: New Image Gallery
«
Reply #160 on:
June 01, 2010, 11:43:32 AM »
you must give class imagegallery a width too
Code:
.imagegallery{float:left; width:100%;}
without width the section is shown on directory page right from directories
Quote
P.S.
Looked in the code with the ../ für folder up, but didn't find a solution to change this. As you know I'm more a copy and paste, try and error coder and at this point my knowledge ends, btw. i must have time to learn more php grin
same problem here
«
Last Edit: June 01, 2010, 11:49:55 AM by maverik
»
Logged
Signatur wird geladen...
maverik
Offline
Posts: 1568
Re: New Image Gallery
«
Reply #161 on:
June 02, 2010, 02:27:49 PM »
i think i found a bug in 2.1
i can't explain in english so please have a look
links deletet, bug found
i have testet it on 5 domains with different wb versions (2.8.1 and different svn) with 1.9 all is ok with 2.1 you have the result from links above
EDITH
bug found in search.php from imagegallery. thx for help testing and searching dbs
change first line from
Code:
<?php
/**
to
Code:
<?php
/**
then all is fine
«
Last Edit: June 02, 2010, 02:42:37 PM by maverik
»
Logged
Signatur wird geladen...
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #162 on:
June 02, 2010, 03:03:16 PM »
oooops,
typical copy and paste error
.
will be fixed in next version.
Thanks for bugfixing
Matthias
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: New Image Gallery
«
Reply #163 on:
June 06, 2010, 10:11:40 AM »
Hello,
Release 2.2 of AnotherImageGallery
Changelog:
- Bugfix with wrong display of sections after an AnotherImageGallery section
- Bugfix with search doesn't work
Have fun
Matthias
Logged
Damaverick
Offline
Posts: 25
Re: New Image Gallery
«
Reply #164 on:
September 19, 2010, 08:18:38 PM »
Hello,
I don't know if I can post it here, but I have a question about Another Image Galery.
I use it on a site of me, and I tried to play around with the filename option.
Since I don't want to show de filenames at the previous images and I do wan't to show the filename at de image itself I tried to copy the code:
Code:
if ($filenames) {
echo '<br /><span class="filename">'.html($filename).'</span>';
}
echo '<hr />'."\n";
from the "preview images" section to the "show pictures" section.
As you see in the code below
Code:
//Show pictures
echo '<!-- start pictures -->'."\n";
echo '<div class="pictures">'."\n";
list($width, $height, $type, $attr) = @getimagesize(html($dirname.'/'.$pics[$pic]));
if ($width <= $maxwidth && ($width != "" || $width == 0)) {
/* ...do something, whatever the programmer's think... */
} else {
$heightadjust = $maxwidth/$width;
$width = $maxwidth;
$height = $heightadjust*$height;
}
if ($showoriginal == 1) {
echo '<a href="'.html($dirnamehttp.'/'.$pics[$pic]).'" target="_blank">';
}
echo '<img src="'.html($dirnamehttp.'/'.$pics[$pic]).'" alt="'.html(basename($pics[$pic])).'" width="'.$width.'" height="'.$height.'" />';
if ($showoriginal==1) {
echo '</a>'."\n";
} else {
echo "\n" ;
}
if ($filenames) {
echo '<br /><span class="filename">'.html($filename).'</span>';
}
echo '<hr />'."\n";
But somehow it won't show the filename under the picture.
But when I change $filename to something like $dirname it will show that.
How can I show the filename under the picture...
Kind regards
«
Last Edit: September 19, 2010, 11:12:10 PM by Damaverick
»
Logged
markv
Offline
Posts: 1
Re: New Image Gallery
«
Reply #165 on:
October 08, 2010, 09:05:57 PM »
Is it easy to sort directoty's by date instead of name, because i upload maps as album and i want to sort by date, this is my page now:
http://bit.ly/aS05JW
Logged
noname8
Offline
Posts: 75
Re: New Image Gallery
«
Reply #166 on:
October 26, 2010, 09:07:55 PM »
This is great
But somehow when used in same wb2.8 install with jquery colorbox it opens the full size image into colorbox window with the whole page template, header and footer in it ?!
Cannot change the gallery's template to blank, because then the whole gallery should open into new popup window...
what to do now?? me stupid
Code:
<span class="picturelink"><a href="?pic15=0">
<img src="http://192.168.75.136/mypages/media/pictures/thumbs/house.jpg.thumb.jpg" alt="house.jpg" width="120" height="120" /></a></span>
perhaps the a href should point to that image..or..? I do want to open full image in some kind of floating div without full template elements around it..
Logged
neuling
Offline
Posts: 16
Re: New Image Gallery
«
Reply #167 on:
November 07, 2010, 03:53:24 PM »
Hello,
at first, thanks for that great module.
now my little problem: i want to show the filename of the pictures without the ".jpg". i know a little bit about PHP and think that the trim() function is the right one, but where is the best to use?
thanks,
Klaus
(i hope you can read my awful english)
Sep. 11. ->
i tried to search where to change. Today i found this:
view.php line 404
Code:
echo '<br /><span class="filename">'.html($filename).'</span>';
and changed to:
Code:
echo '<br /><span class="filename">'.html(substr($filename, 0, -4)).'</span>';
what should i say - it works
Klaus
«
Last Edit: November 11, 2010, 09:20:21 AM by neuling
»
Logged
WB-Boosta
Offline
Posts: 72
Re: New Image Gallery
«
Reply #168 on:
February 07, 2011, 06:38:57 PM »
Hello and thank you for a great working image gallery!
Hope, I am checking in at the right gallery (Just another image gallery, right)?
Want to try the image gallery with jQuery 1.5 but it doesnt work right.
I have tested it as I replaced the internal jQuery document (jQuery 1.4.2) at
Code:
/include/jquery/jquery-min.js
with the code of the new 1.5.
As result on click onto a thumb the dark layer is shown but no detail image.
Any suggestions?
«
Last Edit: February 07, 2011, 06:41:17 PM by WB-Boosta
»
Logged
moabie
Offline
Posts: 1
Re: New Image Gallery
«
Reply #169 on:
April 05, 2011, 10:41:11 AM »
Hello,
while viewing larger picture, overview link (arrow_up) has mistake,
it doesn't redirect to proper thumbs section (always redirects to the first one)
and the fix for that is - I suppose - to replace 197 line in view.php file from:
Code:
$u = $url.'offset='.floor($pic / $maxpics) * $maxpics.$urlsuffix;
to:
Code:
$u = $url.'offset'.$section_id.'='.floor($pic / $maxpics) * $maxpics.$urlsuffix;
moabie
Logged
ecogreen
Offline
Posts: 3
Re: New Image Gallery
«
Reply #170 on:
April 30, 2011, 08:24:09 AM »
Firstly I like to say that the "Another Image Gallery" is a really good and simple image gallery module
I have been working through the related posts and trying to work it all out.
I have managed to make a few changes to suit the website I am creating.
I'm using WB2.8 with the latest "Another Image Gallery" module with jQuery and jQuery lightbox.
What I am trying to understand is that with lightbox installed (which does a great job) I am having troubles with the page numbering link that is to get me to the next lot of images... I have 16 images to the page.
What is happening instead is that by clicking the link, and empty lightbox frame pops and sits there! It doesn't move me across to the next lot of images
Is there something that need to be changes in the view.php file? There does seem to be some sort of conflict?
Has anyone experienced the sam problem?
And if so, please give me a hand... it will be much appreciated!
A few other questions...
- is it possible to make the image gallery searchable, bringing back a thumbnail(s) related to the search?
- how would you go about in placing a title="" so that when you hover over a thumbnail the text appears, which will also appear in the image lightbox popup?
Any help to the above would really be appreciated...
Thanks.
Logged
babsy
Offline
Posts: 322
Re: New Image Gallery
«
Reply #171 on:
April 04, 2012, 11:06:26 AM »
Hi i saw someone asked it before, but i can´t find the answer to it!
is it possible to sort the pictures by date. instead of name?
Logged
marmot
Online
Posts: 209
Re: New Image Gallery
«
Reply #172 on:
April 04, 2012, 01:24:17 PM »
Hi,
Quote from: babsy on April 04, 2012, 11:06:26 AM
is it possible to sort the pictures by date. instead of name?
a quick and easy way would be to use the view.php appended in the modules dircetory instead of the original.
regards
Logged
babsy
Offline
Posts: 322
Re: New Image Gallery
«
Reply #173 on:
April 05, 2012, 01:17:26 PM »
Hi, i tried to change the view file, but where can i change - so its sorted by date.
Logged
marmot
Online
Posts: 209
Re: New Image Gallery
«
Reply #174 on:
April 05, 2012, 03:38:18 PM »
Hi,
Quote from: babsy on April 05, 2012, 01:17:26 PM
Hi, i tried to change the view file, but where can i change - so its sorted by date.
it was intended to replace the view.php, did you do that? Besides this, there is nothing more to change. If you use the file above, the preview is sorted by date last modified. If you use the original file the preview is sorted by filename. That's all.
regards
Logged
Pages:
1
...
5
6
[
7
]
8
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...