Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 05:07:44 PM
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
.
149665
Posts in
21100
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Smooth Gallery Module
Pages:
1
[
2
]
3
4
...
9
Go Down
Author
Topic: Smooth Gallery Module (Read 59091 times)
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #25 on:
February 07, 2007, 06:42:43 PM »
Hello,
you don't need to midify any files. If you have the modul installed and make a page with type smooth gallery you can easily set the thumbgeneration in a dropdown to on or off.
As long as the uploaded pictures you wanna display are not larger then your contentarea you don't need to enable this. This is only needed to resize to original pictures to a height and width wich you need for your content area. Maybe the name is a little bit wrong, because the small thumbs are always generated.
Matthias
Logged
pelotillehuito
Offline
Posts: 3
Re: Smooth Gallery Module
«
Reply #26 on:
February 07, 2007, 07:58:44 PM »
hey ruebenwurzel:
//you don't need to midify any files. If you have the modul installed and make a page with type smooth gallery you can easily set the thumbgeneration in a dropdown to on or off.
As long as the uploaded pictures you wanna display are not larger then your contentarea you don't need to enable this. This is only needed to resize to original pictures to a height and width wich you need for your content area. Maybe the name is a little bit wrong, because the small thumbs are always generated.//
>>Sounds fair enough
The thing is that I started to look at the code after it didn't work 'out of the box'
Anyway if I do the most standard way, as you describe above, the mod still doesn't generate thumbs
I have checked filepermissions and stuff like that. Also tested on different OS and browsers. But none seem to handle my wish. I even tested with some handmade thumbs in a created cache/ dir on the working dir, the carrousel works fine, but doesn't show any picture...
Any Idea?
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #27 on:
February 08, 2007, 05:35:42 AM »
Hello,
what about your server. Are all needed libraries available?
Matthias
Logged
ToS
Offline
Posts: 26
Re: Smooth Gallery Module
«
Reply #28 on:
February 08, 2007, 09:03:00 AM »
Since v0.6 gallery is using "hard-coded links for thumbnails" instead of smoothGallery core integrated thumb generator calls....it was only solution for problem with opening javascript windows(better not to explain details). There should be two more options in the TODO:
- Option for selecting thumbnails dir
- Option to fill thumnails dir with images generated by resizer.php
Currentlly option for generating (
carousel
) thumbnails is hard-coded in view.php:
Code:
<img src="
<?php
echo
$WB_URL ?>
/modules/smoothgallery/resizer_interface.php?imgfile=
<?php
echo
$WB_URL
.
$path
.
'/'
.
str_replace
(
"'"
,
'%27'
,
$file
)
?>
&max_width=100&max_height=75" class="thumbnail" />
Until the v0.8/0.9 is released you can use this line for example:
Code:
<img src="
<?php
echo
$WB_URL
.
$path
.
'/thumbs/'
.
str_replace
(
"'"
,
'%27'
,
$file
)
?>
" class="thumbnail" />
And put your thumbnails in subdir ./thumbs/
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
«
Reply #29 on:
February 08, 2007, 06:38:49 PM »
Maybe it is the serverside lack of libraries. Haven't checked that out yet ! Does this module depend on the netPBM libraries?
I tryed using
<img src="<?php echo $WB_URL.$path.'/thumbs/'.str_replace("'",'%27',$file) ?>" class="thumbnail" />
but then I get no image at all, after making a new sg-page. No thumbs generated...
Is the filename important for it to work? My images have all kinds of names. (Going to test with a 'logical' namespace)
GR,
«
Last Edit: October 24, 2010, 05:55:41 PM by pelotillehuito
»
Logged
ToS
Offline
Posts: 26
Re: Smooth Gallery Module
«
Reply #30 on:
February 09, 2007, 06:03:17 PM »
What is: "namespace"?
And that alternative that i gave you, it is for hardcoded links to thumbnails without autocreation. If you are using the alternative, YOU HAVE TO PUT manually created thumbnails in thumbs subdir where your pictures are.
If you want to use resizer.php, library php_gd2.dll must be included in php.ini.
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #31 on:
February 15, 2007, 12:59:07 PM »
Hello,
based in this thread in the
german subforum
wich fixes an bug that the popup windows didn't work in IE you find attached version 0.8. The only changes are this fix in the view.php.
Have fun
Matthias
Edit:
newer version in the post below
«
Last Edit: February 16, 2007, 12:04:53 PM by ruebenwurzel
»
Logged
ToS
Offline
Posts: 26
Re: Smooth Gallery Module
«
Reply #32 on:
February 15, 2007, 04:02:19 PM »
New SmoothGallery core hasn't been released yet....
v0.9 Feb 15, 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
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #33 on:
February 16, 2007, 02:38:38 PM »
Hello,
attached version 0.9a
Changelog:
- actualized info.php
- translated new language fields to german
Found a little bug:
the descreption is always displayed under the gallery, no matter what is set in the settings.
Added the version 0.9a to the addons page
Matthias
Edit:
Newer version some posts below
«
Last Edit: February 17, 2007, 10:49:24 AM by ruebenwurzel
»
Logged
Mang
Offline
Posts: 6
Re: Smooth Gallery Module
«
Reply #34 on:
February 16, 2007, 04:48:54 PM »
My install went fine (.9a), but the module is not working. When I create a new page and choose Smooth Gallery as type, I'm taken to the settings form, but these errors are at the top of the page:
The page is created, but the gallery will not display images nor thumbnails. I have the gd2 library extension.
PHP5
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #35 on:
February 16, 2007, 05:36:18 PM »
Hello,
did this happen with earlier versions too?
Have you installed an old version before and did now install the newone over?
Matthias
Logged
Mang
Offline
Posts: 6
Re: Smooth Gallery Module
«
Reply #36 on:
February 16, 2007, 05:51:56 PM »
I have only tried 9 and 9a. I have done completely new installs (database included) - all yield the same problem.
I did however noticed that if I choose one of the bogus entries from the pull-down menu and hit save, the error goes away. However, the gallery itself still does not work.
Mang
Logged
ToS
Offline
Posts: 26
Re: Smooth Gallery Module
«
Reply #37 on:
February 16, 2007, 06:38:24 PM »
[0.9b]
- fixed description is always displayed under the gallery
- fixed (hopefully) Mang-bug with undefined index
Mang, I have tried totaly clean install on my webBaker and everything went fine.
Hope this update helps. BTW, what version of php is your server using?
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #38 on:
February 17, 2007, 10:50:43 AM »
Hello,
thanks, works like a charm now. Added the version 0.9b to the addons page.
Matthias
Logged
Mang
Offline
Posts: 6
Re: Smooth Gallery Module
«
Reply #39 on:
February 19, 2007, 03:29:30 PM »
Ok, I completely uninstalled .9a and installed 9b.
The message at the top is now gone, but the message within the dropdown still exists:
Because I cannot take a screenshot of ALL the dropdowns, I pasted the sourcecode:
<td align="right" valign="top">
Show prev/next arrows:
</td>
<td>
<select name="options[showArrows]" style="width: 65px;">
<option value="true">
Notice: Undefined index: showArrows in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 193
>True</option>
<option value="false">
Notice: Undefined index: showArrows in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 194
>False</option>
</select>
</td>
</tr>
<tr>
<td align="right" valign="top">
Allow thumbnails:
</td>
<td>
<select name="options[showCarousel]" style="width: 65px;">
<option value="true">
Notice: Undefined index: showCarousel in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 204
>True</option>
<option value="false">
Notice: Undefined index: showCarousel in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 205
>False</option>
</select>
</td>
</tr>
<tr>
<td align="right" valign="top">
Show info panel:
</td>
<td>
<select name="options[showInfopane]" style="width: 65px;">
<option value="true">
Notice: Undefined index: showInfopane in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 215
>True</option>
<option value="false">
Notice: Undefined index: showInfopane in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 216
>False</option>
</select>
</td>
</tr>
<tr>
<td align="right" valign="top">
Show image direct link:
</td>
<td>
<select name="options[embedLinks]" style="width: 65px;">
<option value="true">
Notice: Undefined index: embedLinks in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 226
>True</option>
<option value="false">
Notice: Undefined index: embedLinks in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 227
>False</option>
</select>
</td>
</tr>
<tr>
<td align="right" valign="top">
Open direct links in:
</td>
<td>
<select name="options[x-windowedLinks]" style="width: 150px;">
<option value="jscript">
Notice: Undefined index: x-windowedLinks in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 237
>JScript window</option>
<option value="_top">
Notice: Undefined index: x-windowedLinks in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 238
>Active window</option>
<option value="_blank">
Notice: Undefined index: x-windowedLinks in C:\InetPub\wwwroot\athletics\baseball_new\modules\smoothgallery\modify.php on line 239
>New window</option>
After I "Save" the page, the error go away, but the gallery does not work. I see the progress bar in the black box and nothing else unless I click the "Pictures" link. After that, I see the titles but no images:
mysql 5.0.24
php 5.1.6
Mang
Logged
ToS
Offline
Posts: 26
Re: Smooth Gallery Module
«
Reply #40 on:
February 19, 2007, 06:48:12 PM »
Mang, your php is awkwardly configured. You should turn off E_NOTICE in error reporting. If this patch doesn't work, you are on your own.
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #41 on:
February 20, 2007, 07:46:50 AM »
@mang
as long as you use forbidden characters in the options of this modul i think you will got errors
Matthias
Logged
Mang
Offline
Posts: 6
Re: Smooth Gallery Module
«
Reply #42 on:
February 27, 2007, 02:47:30 PM »
Can you tell me what about the information I posted shows that my PHP is awkwardly configured?
The "forbidden character" was place there because the "error" message is in the "value" attribute of the "textbox".
Thanks again
Mang
Logged
Mang
Offline
Posts: 6
Re: Smooth Gallery Module
«
Reply #43 on:
February 27, 2007, 03:00:52 PM »
Ok, it's working with the 9b. I completely uninstalled WB, turned off error reporting in php.ini, reinstalled wb and reinstalled 9b. This time, after creating the page, I did not get the errors hence the error messages did not get mingled in with the form field values - which is what I believe was happening.
This still leads be to believe that there is something in the code that is triggering these error messages to being with, but it's working nonetheless
Thanks again!
Mang
Logged
icouto
Offline
Posts: 119
Re: Smooth Gallery Module
«
Reply #44 on:
March 16, 2007, 09:59:21 AM »
I am experiencing a problem with this great module, and I hope that someone here will be able to shed some light.
Module was installed without any problems. I create a gallery page, and the default settings work fine, except for 2 points:
1) if I set "Feed gallery tru resizer" to true, then no pictures display at all (all I get is a black background where the picture used to be.
2) the thumbnails do not work. If I set 'Allow thumbnails' to true, the 'picture' link displays on the window, and when I click on it, I get the drop down, scrollable thumbnail gallery - except that all thumbnails are missing (ie., each one of them is just a black square). The mini-gallery still works - if I click on one of the pictures, it does load - but I just do not see any mini-image there!
Is this an indication of something missing in my server? - I know I have GD2 installed and working, but I do not know what are the exact requirements for this modul.
I hope the solution is simple, as this modul is fantastic.
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Smooth Gallery Module
«
Reply #45 on:
March 16, 2007, 12:02:46 PM »
Hello,
what a bout the permissions of the folders where the pictures are? If the script should resize the pictures it needs a place where the script has write access. CHMOD777 the media folder and the folders where the pictures are, maybe this solves the problem.
Matthias
Logged
icouto
Offline
Posts: 119
Re: Smooth Gallery Module
«
Reply #46 on:
March 16, 2007, 12:16:37 PM »
Dear Matthias,
Thank you for the suggestions! I tried them:
1) chmoded the /media, and the subfolder with the pictures to 777 - no change.
2) in the page's admin interface, I clicked on the 'Resize cache dir.: "Enable"' button. After clicking that button, I noticed that the module automatically created a 'cache' directory inside its own folder. I chmoded that *also* to 777 (it was 755 by default). No change.
I really do not know what is wrong.
I have now download several other gallery modules ("Image Gallery", "GDPics", "Another Image Gallery"), installed them all, and they all work. They all produce thumbnails/previews/etc. with no hassle, so I'm inclined to think that my server is configured ok.
What could be the problem?
Logged
ToS
Offline
Posts: 26
Re: Smooth Gallery Module
«
Reply #47 on:
March 16, 2007, 03:47:50 PM »
Resizer.php is probably making errors.
Can you call the resizer.php directly by entering the thumbnail link in the browser address?
Logged
If all you ever use is an ethernet cable, everything starts to look like an RJ45 jack.
icouto
Offline
Posts: 119
Re: Smooth Gallery Module
«
Reply #48 on:
March 17, 2007, 10:45:25 PM »
Dear ToS,
Thank you for the tip - yes, I think you are right there. I had a look at the html source, and it seemed that for the small carousel pictures, the script resizer_interface.p
hp was being called. I copied the url (with all extra parameters included, such as imgfile, max_size, etc.), and tried accessing it directly from another browser window.
I get a "403 - Forbidden" error. Now, the puzzling thing is, that I've already changed the permissions on these files to 777, and that the server has phpsuexe anyway. So, I'm beat as to what could be causing the server to think that it doesn't have permission to read/execute the file...
Right now, I've got my service provider investigating the issue. If there is anything else you guys can suggest - or if any of you has come across this problem before - please do give us another hint!
Logged
cyberjoker
Offline
Posts: 21
Re: Smooth Gallery Module
«
Reply #49 on:
March 18, 2007, 09:45:55 AM »
Quote from: oeh 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 ;-}
Thanks
And since Norwegian and Danish are so close languages, it was just a "piece of cake"
to do a danish translation also for this gallery ...
I've attached the dansih languagefile for this module here
Sopmething I would like to be integrated is the possibility to add a description under each pic, telling ppl a little about whats on the pic. Is this a future option that could be done available?
Thanks
regards
Hans
websitebaker.dk
Logged
640k is enough for anyone, and by the way, what's a network?"
- William Gates III, President of Microsoft Corporation, 1984
Pages:
1
[
2
]
3
4
...
9
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...