Welcome, Guest. Please login or register.
August 20, 2008, 05:04:15 PM

Login with username, password and session length
Search:     Advanced search
Please check out the Documentation available and use the advanced forum search, before posting in the forum - thanks.
Bitte lies zuerst die Dokumentation und benutze die Advanced Forensuche, bevor Du einen neuen Beitrag erstellst - danke.
Bekijk alstublieft eerst de Documentatie en gebruik de Advanced Forum Zoekfunctie, voor dat u een post maakt in het forum - Hartelijk dank.
60555 Posts in 9791 Topics by 5824 Members
Latest Member: blubb
* Home Help Search Login Register
+  Website Baker Community Forum
|-+  English
| |-+  Modules
| | |-+  New Version of Gallery
Pages: [1] 2 3 ... 9 Go Down Print
Author Topic: New Version of Gallery  (Read 33814 times)
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« on: July 17, 2005, 12:37:13 PM »

After there occured different Bugs in Gallery-Modul wich are described

here http://www.websitebaker.org/2/forum/index.php?topic=688.msg4159#msg4159,
here http://www.websitebaker.org/2/forum/index.php?topic=666.msg4031#msg4031
here http://www.websitebaker.org/2/forum/index.php?topic=1199.msg7254#msg7254
Update:
here http://www.websitebaker.org/2/forum/index.php?topic=1201.msg7278#msg7278
and the wrong search table entries, described in Bug Tracker from WB 2.x

I've decided to create a Gallery-Modul that includes all this bugfixes. This Module resolves the following Bugs:

-- .../pages/pages/... problem (thanks to Attila)
-- Error when uploading .jpg Files (thanks to Quinto)
-- Number of pictures at second line (thanks to Quinto)
Update:
-- previous  link goes to first image (thanks to Raoulduke)
-- wrong Search Table Entries (thanks to Widlund)(changes in install.php)
-- uninstall the Modul deletes no Database Entries (changes in uninstall.php)
-- upload a image without a title causes a Redirection to a non existing file. (changed line 40 and 134 of save_image.php)

Added:(18.07.2005)
-- 100% Multilanguage Support. Look at language.php in /modules/gallery
Added: (21.07.2005)
-- png Support (thanks to Raoulduke). Look here for more Information
-- Bugfix with non existing search tables (thanks to Raoulduke). Look here for more Information
Added: (06.08.2005)
-- changed images per page now as a fill in. Look here for more Information

You can download this Modul (actually Version Number is 1.6.2) here Cheesy

What else have to be done?
When you uninstall the modul, the folders /pages/gallery and /media/.gallery are not deleted. The Attempt to delete this folders with rm_full_dir in uninstall.php causes an error. You also normally don't have the rights to delete this folders with your ftp-programm. I think this is because you are not the owner of a file or folder which is generated from a php-script. Maybe if you have give chmod777 to your WB-Installation before installing this modul, you have the rights to delete this folders. For more information please look here.
« Last Edit: August 06, 2005, 02:55:36 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
Hans
Master Baker
*****
Offline Offline

Posts: 358


Email
« Reply #1 on: July 17, 2005, 02:26:29 PM »

You guys are great!
Hans
Logged

Hans - Nijmegen - The Netherlands
raoulduke
Pending Apprentice Baker
**
Offline Offline

Posts: 49


« Reply #2 on: July 17, 2005, 03:18:06 PM »

Thanks a lot for this version, it works really well, but I noticed one bug: the Previous link always goes to the first image in the gallery. Is this intended (I think it should go to the previous image instead of the first)?

Edit: possible fix: change the ASC in line 224 in view.php to DESC, I think that should work. What do you think about that? Could you update the module with the fix Smiley ?
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
quinto
Pending Apprentice Baker
**
Offline Offline

Posts: 10


WWW
« Reply #3 on: July 17, 2005, 06:07:05 PM »

Quote from: raoulduke
Edit: possible fix: change the ASC in line 224 in view.php to DESC, I think that should work. What do you think about that? Could you update the module with the fix Smiley ?


Greaaat Tongue i hope ruebenwurzel will quickly include this change in the new version of the gallery module.
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #4 on: July 17, 2005, 09:01:36 PM »

@raoulduke

Thank you for the fix. Works great. Cheesy  I have included it in the new gallery-modul and I also have updated my first thread.
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
wwwMARKLEYcouk
Master Baker
*****
Offline Offline

Posts: 268



WWW
« Reply #5 on: July 18, 2005, 01:34:21 PM »

excellent fix thanks Smiley
BUT
my images wont display Sad i'm using windows and cos the name of the gallery folder is ".gallery" it wont display Sad must be something to do with windows directory cos you cant create a folder with a "." at the start. which files do i need to edit to stop this from happening cos my images work with the "." in the folder name.
Logged

http://www.markley.co.uk
new webhosting packages available at the cheapest prices around
fienieg
Guest
« Reply #6 on: July 18, 2005, 03:09:37 PM »

Thanks ruebenwurzel it works great now!
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #7 on: July 18, 2005, 04:33:36 PM »

@mysticfreeman
you mean that you don't see your images in the Mediasection from Admin-Panel? On your Webpage you see the Images?

Ryan wrote this modul and I think he know, why he set the images in a path with a "." at the beginning. So when the modul works, why you wanna change this?

If you wanna try it with another path (without "." at the beginning), look at the code from modify_image.php and save_image.php. There you find on different places ".gallery".
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
raoulduke
Pending Apprentice Baker
**
Offline Offline

Posts: 49


« Reply #8 on: July 18, 2005, 07:31:16 PM »

The gallery now works great, I am already thinking to move over because it's now adapted to my needs and all bugs I could find are ironed out. I have one last, big, request: would it be possible to add PNG support to the gallery, so that images can also be posted in PNG format?

I use PNGs an awful lot for my program screenshots and I can't really find the time to add PNG support to the gallery myself anytime soon. Are there any takers? It would really be fantastic if someone'd do this!
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #9 on: July 18, 2005, 08:19:27 PM »

For my German Websites I have added a 100% multilanguage Support. The Gallery-Modul now have Version-Number 1.5 . In this Version there is a new file "language.php" in modules/gallery Folder. There are only two entries for options in the admin Panel. All other changes works with the default Language files.

I've updated the first post of this thread.

Have fun  Cheesy
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
jschor
Junior Baker
****
Offline Offline

Posts: 110


« Reply #10 on: July 18, 2005, 09:05:22 PM »

I tried to install version 1.5 of the gallery module. According to wb the installation is succesful but it does not show up in the pull down menues where you can choose the required module.

Another item is that i set world writeable options in settings, but now it is not possible to reset this. when i empty the box (v) wb says saved succesfully but when i look i hasn't changed.

I hope you can help me.
Logged
Argos
"All I Do Is Bake" Baker
*****
Offline Offline

Posts: 531


WWW Email
« Reply #11 on: July 18, 2005, 11:39:24 PM »

Like the guestbook, contact form and many other modules, this gallery is nice, but too rudimentary to use on professional client sites. For the gallery I have this wishlist for rather important options:
- option to have the picture open in a popup when clicking on the thumbnail
- to be able to view the thumbnails in the admin
- to automatically resize source pics to final size, that you can set in the admin like you can do with thumbs
- to be able to create groups

Don't get me wrong, I really appreciate the work that is done voluntarily by all the coders involved in WSB, but I feel many modules just lack the professionalism that is needed for paying clients. I like the core WSB, but it's a pity I still need to use other scripts in wrapper modules.
Logged

Jurgen Nijhuis
Argos Media
www.argosmedia.nl
WB sites: kwaliteitinklantcontact.nl, bruschke.nl, bereikbaarheid.nl, rondvaartijmuiden.nl, nvpit.nl, synergoscommunicatie.nl, kerncompany.nl, wijnenspijs.nl, almerehuren.nl, bakker-schilder.nl
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #12 on: July 19, 2005, 07:43:26 AM »

@jshor
If installation was successful and you don't see it in the pull down menues, maybe you have to do a browser refrech to got the newest Site from the Server. The same seems to be with your settings Window. You also can delete your Browsers cache. Hope this helps.

@Argos
that's are all good ideas and I'm according you, that if this would be implemented, the gallery-modul got a realy great Modul. But I'm not a programmer, I only can put things together. So I hope some of the PHP-Gurus could do this.
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
wwwMARKLEYcouk
Master Baker
*****
Offline Offline

Posts: 268



WWW
« Reply #13 on: July 19, 2005, 09:33:12 AM »

@ruebenwurzel
On the website itself they dont display Sad im thinking it may simply be the fact that im running on a windows machine but dont know. now that you meantion it though i cant see the folder in my media admin section either but it IS there..

I have modified the files save_image.php, view.php and modify_image.php by taking out the "." in the gallery folder name. All works fine now for me on windows environment and the gallery media files shows in the media section..

was very strange as the ".gallery" was present, images were present inside the folder and all file permissions were set. smiply put though, the file would not show in a browser, kept saying that the file was not available.

anyway, nice module Smiley
Logged

http://www.markley.co.uk
new webhosting packages available at the cheapest prices around
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #14 on: July 19, 2005, 02:02:48 PM »

@mysticfreeman
I've tested the modul on a winxp, Apache, Mysql, PHP machine and it works with ".gallery". Did you use IIS ?. However, when it works, it is ok. Look at delete_image.php,  there are some ".gallery" entries too.
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
wwwMARKLEYcouk
Master Baker
*****
Offline Offline

Posts: 268



WWW
« Reply #15 on: July 19, 2005, 02:08:24 PM »

yes i am using IIS5.1 with php installed and mysql (obviously Cheesy) but the ".gallery" simply will not work for me for some reason Sad

i shall take a look at the delete_image.php too thanks Smiley
Logged

http://www.markley.co.uk
new webhosting packages available at the cheapest prices around
raoulduke
Pending Apprentice Baker
**
Offline Offline

Posts: 49


« Reply #16 on: July 19, 2005, 06:44:08 PM »

OK, if everyone promises to not touch the module until thursday evening I will try to add PNG support myself and maybe I'll pour in some other fixes / features as well. So, do we have a deal?

I'm not promising anything but I don't want any duplicate work, so I'm asking in advance.
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
ruebenwurzel
Leaders Team
A Baker's Baker
*****
Offline Offline

Posts: 6255


Keep on Rockin


WWW Email
« Reply #17 on: July 19, 2005, 07:06:06 PM »

I promise  Cheesy  Cheesy  Cheesy
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
quinto
Pending Apprentice Baker
**
Offline Offline

Posts: 10


WWW
« Reply #18 on: July 19, 2005, 09:38:31 PM »

OK i promise too...
Logged
raoulduke
Pending Apprentice Baker
**
Offline Offline

Posts: 49


« Reply #19 on: July 20, 2005, 12:54:41 PM »

OK, I will only get to uploading the modules this evening, but I'd like to let you know in advance that PNG support is added and it's working perfectly. Just so you know Smiley
Logged

Remember, if you have any trouble you can always send a telegram to the Right People.
Why visit http://www.ffnn.nl and http://www.drgonzo.nl when you could have a walk in the sunshine instead?
Pages: [1] 2 3 ... 9 Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!