Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
March 21, 2010, 08:30:41 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es
hier
.
110570
Posts in
15967
Topics by
9311
Members
Latest Member:
tomko
WebsiteBaker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
Smooth Gallery Module
Pages:
[
1
]
2
3
...
8
Author
Topic: Smooth Gallery Module (Read 44694 times)
ToS
Offline
Posts: 26
Code poet
Smooth Gallery Module
«
on:
January 07, 2007, 10:09:39 AM »
Another gallery module...well, If you ask me, there can never be enough modules no matter what is the purpose.
Gallery itself was taken from
JonDesign
and implemented with great pains & many hours of debugging(note that this is my firs module for wbaker). I'm still not sure wether the automatic generation of thumbnails works, please confirm if it does. Also your comments & ideas are welcome(not that I am obligating myself to react acordingly). It was done for baker 2.6.x, using helloWorld framework. I quite doubt that it will validate under any standard but it does render in 2 most popular browsers & and my favourite: Opera.
I'd appreciate if someone would be kind enough to install it & post a preview link so everyone can enjoy viewing it.
ATTACHED VERSION:
0.4
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
kweitzel
Forum administrator
Offline
Posts: 5561
Re: Smooth Gallery Module
«
Reply #1 on:
January 07, 2007, 10:45:05 AM »
Had a wee look at it, installs smoothly on a WAMP (PHP5 & MySQL5) System. Imediatly recognises the pictures and creates the Thumpnails for the preview bar.
Haven't yet played with the settings though. Would like to see an option for opening the full pictures in a pop-up or new window ... something for the next release?
Going to try installing it onto my Webspace (LAMP) and let you know ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
ipfelkofer
Offline
Posts: 15
Re: Smooth Gallery Module
«
Reply #2 on:
January 07, 2007, 11:21:29 AM »
Have installed the module on LAMPP, no problem. Looks very good!
Suggestions/Questions:
1. Would prefer to open image in a separate window with colse function
2. Fiile name with slash is shown in two lines - would like to have it in one line
3. How can the background be changed? (black does not fit in my design at all)
4. Is an upload function planned?
5. Can the second line of the description be added manually?
6. Do you need a German translation?
Regards
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Smooth Gallery Module
«
Reply #3 on:
January 07, 2007, 12:07:06 PM »
Hello,
looked at the code and therse should be done the following:
1. Please replace all variabels $module_directory with hardcoded modul names. During installation the pathes variables didn't work wich makes it on some hosted servers impossible to install the modul.
2. Language support should be added and all hardcoded text in the files should be replaced with language variables.
Thats what I've seen from the technical site, will test the functionality later and if there are problems I'll post it.
By the way looks very good for your first WB modul and you are right there can never be enough modules for WB. So keep on your good work and I'm pretty shure we have this modul soon on the addons page.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
ToS
Offline
Posts: 26
Code poet
Re: Smooth Gallery Module
«
Reply #4 on:
January 07, 2007, 06:53:20 PM »
kweitzel
: currently it opens new pics in new window, but it won't be 2 hard 2 make a simple javascript window that closes when you click on the pic or something like that.
ipfelkofer
:
2. filename with "-" is split in two parts, maybe I will put a way to change desired split character. or just to turn that option on/off
3. almost everything is changed via /modules/smoothgallery/css/jd.gallery.css (I wish you luck.)
4. Upload, not quite, but I could put it in a Idle-TODO-list, maybe it would be wise to make a
separate upload module
.
5. description can be set only by formatting the filename, I wouldn't want to make track of all files in a database just so they would have propper descriptions (Any ideas other than DB?).
6. I guess I'll need one now that I have to make it cross/language
ruebenwurzel
:
1. I so-much-bloody-hate hardcoding but if I have to do it, ok.
2. Language supp...pain in the...one of thiese days (I now have some other projects to finish)
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Smooth Gallery Module
«
Reply #5 on:
January 07, 2007, 07:06:24 PM »
Hello,
if you promise not to change anything on this modul the next two days I'll hardcode the dirs and add a language support to a new version 0.5 wich then could be a start point for further versions. So if this is ok, give a short post.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
ToS
Offline
Posts: 26
Code poet
Re: Smooth Gallery Module
«
Reply #6 on:
January 07, 2007, 07:54:11 PM »
As good as done, dirs are not so much of a problem but I don't know how mlng supp is done. Please, you do that (add your name to the credits) and I'll then take over & make some of the upgrades(this is not a promise):
Code:
-change name-desc split character
-select wether images should be parsed tru resizer.php for normal showing
-extension selection & fix
-css edit
-preview on modify (higly unlikely)
-bool: put desc under the gallery
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
kweitzel
Forum administrator
Offline
Posts: 5561
Re: Smooth Gallery Module
«
Reply #7 on:
January 08, 2007, 10:13:19 AM »
Hi ToS ...
like I said before, the images open in the same browser window (at least in FF, IE6 & IE7), not in a new window.
On my Webhost, for me the pictures are not loading (4 Pictures in a subfolder, each about 10kb). Does this happen for you here [edit: Link removed] as well? The Folder is [WBROOT]/media/ferrari3/ and the pictures have following naming: ferrari0051.JPG
[Edit]Do-oh ... you need to have the extension in lowercase for it to work![/Edit]
cheers
Klaus
«
Last Edit: February 09, 2009, 07:18:59 AM by kweitzel
»
Logged
http://www.weitzel.biz
PM has been disabled
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Smooth Gallery Module
«
Reply #8 on:
January 08, 2007, 09:36:03 PM »
Hello,
attached you find version 0.5 of this fantastic gallery:
Release History:
v0.5 Jan 08, 2007 (Matthias Gallas)
- added version History to info.php
- added german language file
- added language support
- a lot of code cleaning, fixing and sorting in all files
- replaced all directory variables with hardcoded pathes
- changed all copyright notices now includes 2007
v0.4 Jan. 07, 2007 (ToS)
- Initial Release
TODO
-change name-desc split character
-select wether images should be parsed tru resizer.php for normal showing
-extension selection & fix
-css edit
-preview on modify (higly unlikely)
-bool: put desc under the gallery
BUGS
- If you disable "prev/next links" you also have to disable "show image direct link"
otherwise no image is shown
Have fun
Matthias
Edit:
Newer version some posts below
«
Last Edit: January 15, 2007, 02:28:19 PM by ruebenwurzel
»
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
chris
Offline
Posts: 35
Re: Smooth Gallery Module
«
Reply #9 on:
January 09, 2007, 10:38:05 AM »
PERFECT!!! Very good work.
Logged
tomhung
Offline
Posts: 352
Re: Smooth Gallery Module
«
Reply #10 on:
January 09, 2007, 04:02:34 PM »
very nice... i was actually thinking the other day of converting this gallery to WB... glad you did it instead of me.
Greg
Logged
Hans
Offline
Posts: 498
Re: Smooth Gallery Module
«
Reply #11 on:
January 10, 2007, 11:16:44 AM »
Thanks ToS and Matthias! Really great, hope the resizer function will be available soon.
Hans
Logged
Hans - Nijmegen - The Netherlands
ToS
Offline
Posts: 26
Code poet
Re: Smooth Gallery Module
«
Reply #12 on:
January 10, 2007, 04:41:20 PM »
@Hans -> resizer, most probably in v0.6 because it ain't much fuss to get it to work.
@ruebenwurzel : Nice code formatting, tnx 4 the help.
Quote
If you disable "prev/next links" you also have to disable "show image direct link"
otherwise no image is shown
Apparently this is a SmoothGallery error, I've contacted the author. Will see what's wrong & I hope to get a fixed one before the release of v0.6. This bug prevents you to make a slideshow without next/prev links
.
@kweitzel : sorry for not loading other than lowercase picture ext's. Will fix that in v0.6
PLEASE, give me some time to finish 0.6, I have other things on my schedule right now.
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
kweitzel
Forum administrator
Offline
Posts: 5561
Re: Smooth Gallery Module
«
Reply #13 on:
January 10, 2007, 09:47:19 PM »
hey, relax ... no need to apologise
If we wouldn't try these things, you wouldn't know about the errors, would you?
So ... relax and make it a good release ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
ToS
Offline
Posts: 26
Code poet
Re: Smooth Gallery Module
«
Reply #14 on:
January 15, 2007, 01:51:49 PM »
v0.6(Beta) Jan 15, 2007 (ToS)
- added to css file | .jdGallery .slideInfoZone h2 | added: text-align: left;
- fixed modify.php | changed 'showCaurosel' option to correct one: 'showCarousel'
- added change-able name-desc split character
- added resizer_inteface.ph
p to prevent future update problems of the smoothGallery itself
- added option to select wether images should be parsed tru resizer.php for normal showing
- added option to select what extensions are to be selected for showing
- fixed not loading extensions in wrong casing
- fixed use hard-coded links for thumbnails (not integrated thumb generator)
- added option: select if the links should be opened in new javascript window or in active.
- added cache dir support/handling
TODO
-bool: put desc under the gallery
-add instructions: how to update the module with new smooth gallery
-css edit
-preview on modify (higly unlikely)
-translate everything
ATTACHED: BETA VERSION 0.6
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ipfelkofer
Offline
Posts: 15
Re: Smooth Gallery Module
«
Reply #15 on:
January 15, 2007, 03:17:53 PM »
Version 0.6b looks pretty good already.
Most of my requests seem to be included.
One remark after a short look at the module:
When I have the upper line (thumbs moving left and right for selection) on while stepping thru the pictures using the left and right arrow the name of the picture is shown correct underneath the picture, while the name of the picture underneath the thumbs row is not moved, the preview thumb is, however.
Regards
Logged
tomhung
Offline
Posts: 352
Re: Smooth Gallery Module
«
Reply #16 on:
January 15, 2007, 08:02:55 PM »
your version needs to be upgraded in your info.php
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Smooth Gallery Module
«
Reply #17 on:
January 15, 2007, 08:25:57 PM »
Hello,
what a hell for a good image gallery
Added the missing german language lines, changed version to 0.7 and as i have found no more great bugs i have released it at the addons page. Attached you find the same file.
Thanks for your addition to WB, I'm shure a lot of people like this gallery
Matthias
Edit:
newer version some posts below
«
Last Edit: February 16, 2007, 12:03:34 PM by ruebenwurzel
»
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
hr_d
Offline
Posts: 51
Hermann
Re: Smooth Gallery Module
«
Reply #18 on:
January 16, 2007, 01:29:11 PM »
Hello,
I installed and tested the module. It runs without errors and looks very beautiful.
Best thanks and greeting from germany (Stuttgart)
hr_d
Logged
oeh
Documentation Team
Offline
Posts: 130
German Pischer's, what's life without them?
Re: Smooth Gallery Module
«
Reply #19 on:
January 16, 2007, 02:47:20 PM »
Hi.
I found this img. gal to be so amaizing, that I felt i had to make an Norwegian Language file.
If anyone should feel the nedd to correct it, feel free to do so.
Se attached NO.php.zip file.
Regards
OEH ;-}
Logged
Regards
oeh ;-}>
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Smooth Gallery Module
«
Reply #20 on:
January 16, 2007, 05:43:03 PM »
Hello,
thanks for the language file. Added it to the modul on the addons page.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
ToS
Offline
Posts: 26
Code poet
Re: Smooth Gallery Module
«
Reply #21 on:
January 17, 2007, 02:47:18 PM »
I'm currently working on v0.8 but it will not be released until new version of Smooth Gallery is up and tested.
v0.8 Jan ??, 2007 (ToS)
- added third option for opening image directly (equals: taget="_blank")
- added Norvegian language (by oeh)
- added option to put gallery description at the bottom of page
- removed Note in modify.php
Tell me ppl, should I include css editinig and what css options should be available for editing?
What options would you like ot see in v1.0 ?
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Smooth Gallery Module
«
Reply #22 on:
January 17, 2007, 04:00:00 PM »
Hello,
CSS Editing would be nice. But as I'm not shure how the css handling from WB modules will be solved in WB 2.7 it's difficult to say how this could be solved. At the moment from the most modules the css files are displayed in the body tag wich makes the code invalid. In 2.7 the css of all modules will be displayed in the header. So i see two possible solutions:
1. Using the database to store the css
2. Using a file to store the css.
If it is stored in the database it could be easily integrated in the modify.php and in 2.7 we can add a function wich can look for informations in the database and create an output in the header. This needs that the stylesheets are in every module stored at the same place or alternativ we need a stylesheet table (like search table) where every modul adds his information and Wb generates from this script a css file. But using to much database requests slow down the page.
If it is stored as a file in the modules directory it also can easiliy be edited (look for our template edit modul) in the modify.php of the modul. The WB funnction then needs to import all css files of the modules in the header. This is then scriptbased. Problem will be that only one css file is for all sections of the modul (you have no ability to edit the layout different for every section where the modul is used), but you need no database requests.
So thats the ideas, and as i say don't know how the way for the future is. So maybe we wait with this till ryan is back from holiday and we can talk with him about this.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
ToS
Offline
Posts: 26
Code poet
Re: Smooth Gallery Module
«
Reply #23 on:
January 17, 2007, 11:56:25 PM »
How about:
<link rel="stylesheet" href="style.
php
" type="text/css" />
Haven't worked out the usage but i like code perversions...
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
pelotillehuito
Offline
Posts: 3
Re: Smooth Gallery Module; problems with thumbnails
«
Reply #24 on:
February 07, 2007, 06:31:32 PM »
Hello everyone,
I have installed this beautiful module and now I am testing, but I just can't get the 'useThumbGenerator' function to generate thumbnails.
Where is this function to configure? I have modified the included
modify.php
file in the next line:
$fetch_page_content['options']['useThumbGenerator'] = 'true';
but this doesn't work, I have tryed almost every possible combination, considering the known bugs.
When I view the generated code, with every possible combination, it shows:
<script type="text/javascript">
function start_gallery_9378() {
var gallery_9378 = new gallery($('gallery_9378'), {
fadeDuration: 500,
showArrows: true,
showCarousel: true,
showInfopane: true,
embedLinks: false,
timed: false,
delay: 9000,
useThumbGenerator: false,
debug: false,
thumbGenerator: '
http://mywebsite/modules/smoothgallery/resizer_interface.php'});
}
Anyone?
Logged
Pages:
[
1
]
2
3
...
8
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> 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
=> 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
Loading...