Start
Help
Forum
Addons
Project
Welcome,
Guest
. Please
login
or
register
.
January 06, 2009, 05:57:07 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Website Baker 2.7.0 (stable) veröffentlicht!
Nähere Informationen findet ihr
hier
.
Das Diskussionsboard findet ihr
hier
.
71095
Posts in
11245
Topics by
6867
Members
Latest Member:
sababa
Website Baker Community Forum
English
Modules
(Moderators:
Argos
,
ruebenwurzel
,
BerndJM
)
GDPics Gallery Module
Pages:
1
2
[
3
]
4
5
6
Author
Topic: GDPics Gallery Module (Read 25642 times)
kweitzel
Forum Team
A Baker's Baker
Offline
Posts: 4528
Re: GDPics Gallery Module
«
Reply #40 on:
March 31, 2006, 05:25:58 PM »
OK ... installation goes fine ... but error comes when trying to make a gallery page ...
Code:
Warning: dir(C:\xampp\xampp\htdocs/media/gallery/) [function.dir]: failed to open dir: Invalid argument in C:\xampp\xampp\htdocs\framework\functions.php on line 77
Fatal error: Call to a member function read() on a non-object in C:\xampp\xampp\htdocs\framework\functions.php on line 78
This seems to be still related to the non existing folder "gallery" ... can you create this with a script as well?
cheers
Klaus
Logged
http://www.weitzel.biz
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #41 on:
April 03, 2006, 10:42:07 AM »
thanks Klaus, I have now added it to the install script. I have the folder icon selection working now so I will post an update shortly.
Stu...
Logged
skidrash
Apprentice Baker
Offline
Posts: 70
Re: GDPics Gallery Module
«
Reply #42 on:
April 06, 2006, 05:31:49 PM »
Hey I just tried 0.39 and its looking real good. The slideshow is excellent. One question, how can I confirm that the resampled image is being cached? I enabled "Allow caching of resampled image" but the picture is still really slow to load and I can't seem to find any cached files in the folder.
Logged
mroony
Pending Apprentice Baker
Offline
Posts: 24
Re: GDPics Gallery Module
«
Reply #43 on:
April 07, 2006, 06:37:35 AM »
Very cool. I didn't have any problems installing, but a little weirdness in a few directories. But man... sweed module. Thank you so much.
http://www.mroony.com/pages/bookmarks/gd-pix-test.php
That is a linky to my little test gallery... Only posting because I don't really have time to write down the errors I am having... sorry... its late and my bed is calling my name.
Thank you again!!!!!!!
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #44 on:
April 07, 2006, 09:55:38 AM »
The new version is ready but I don't have time to release it, its crazy at work at the moment, I will try to tonight. The only thing I need to sort out is a strange problem with some of my new admin options not keeping their settings.
I have now added CSS editing in the admin module and you can basically turn every setting on or off, so you can either have a very simple gallery or a very complex photography style gallery. Selecting a folder icon now works. I also rearranged the admin module and added a help page and fixed a couple of bugs with the original admin module.
I just looked at your pages, the gallery looks good, but I notice the folder icon is not transparent. You can change the folder icon in the code in version 0.39, its a variable at the top of view.php. In version 0.40, this is in the admin module. I also noticed you have a problem with Portage Players' Fantastics, because there is a ' in name. If you remove this it will work. I will try and see if I can wrap the dir names so this will work in future. I am also interested to know what would happen with dirnames with accents!
Stu...
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #45 on:
April 07, 2006, 11:35:06 AM »
mroony ,
The problem you have with some folders, is that some images are 0 bytes. Unfortunately the error checking on the return from the GetImageSize is not very good. Something to look at in the next version
Stu...
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #46 on:
April 07, 2006, 05:46:41 PM »
Hi all,
here is the new release. I had a quick look at the error checking corrupted image files and its too complex, as I would have to write my own PHP error_handling routines. Also there is no support for dir names with ' or " in them.
Update by Stu-Art to 0.40
+Added image display options to DB and Admin pages - next, prev, resampled size, filename, copyright, breadcrumbs
+Updated Install and Upgrade_gdpics to add new DB records
+Gallery directory /media/gallery created during installation
+Added support for different folder icons, selectable from the Admin page and reorganised caption page
+Added CSS editing to Admin page
+Add Help to Admin page
+fixed a problem with displaying non image thumb files in admin page
+Reorganised Admin page so that the modify buttons don't show when modifying sub-screens is open
+Added transparency to folder.png
+fixed path separation spacing
+Added variable for breadcrumbs symbol
+Added some more error checking on file type (but can't catch E-Warning errors generated by getimagesize
Future ideas:
1. Rewrite to support tables for thumbs list - easy to control output and better cross browser support
2. Ability to search captions/filenames
3. Template to control look
Stu...
PS: Use the update script if you already have GDPics installed
Logged
heinzelmann05
First-Time Baker
Offline
Posts: 1
Re: GDPics Gallery Module
«
Reply #47 on:
April 16, 2006, 04:25:12 PM »
when i want to view a GDPics Gallery it comes following "Warning: ini_set() has been disabled for security reasons"
If it possible to use GDPics without ini_set cause this function is disabled on my php server.
thanks a lot
(excuse my bad english)
EDIT
Now i´ve deleted line 35 in view.php and now it go
«
Last Edit: April 16, 2006, 06:04:30 PM by heinzelmann05
»
Logged
kibmcz
Semi-Master Baker
Offline
Posts: 205
Re: GDPics Gallery Module
«
Reply #48 on:
April 16, 2006, 09:05:08 PM »
When i try to use your release of GDpics i get these errors when i try to view the output:
Warning: getimagesize(/home/kibmcz/public_htmlmypc.jpg): failed to open stream: No such file or directory in /home/kibmcz/public_html/modules/gdpics/view.php on line 221
Warning: unlink(/home/kibmcz/public_htmlcgi-bin): No such file or directory in /home/kibmcz/public_html/modules/gdpics/view.php on line 392
Here is a screenshot of the errors:
Logged
Good artists copy, great artists steal. -
Steve Jobs
Get Firefox
Gmail invites
available
.
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #49 on:
April 16, 2006, 11:07:10 PM »
Hi,
Looks like a problem with the directory you specified for the gallery, as there is no slash between the dir and filename. What did you use?
the default is /wb/media/gallery/. I think I know what you tried to do, you tried to specify a dir outside of wb. I am not sure you can do as the program uses the WB system variable as its base, its how the original module was written. I can look at this if you want this feature next week.
Regarding ini_set, I don't have the code in front of me now, but I will look on Tuesday.
stu...
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #50 on:
April 27, 2006, 04:55:49 PM »
I was playing around and have created a new front end to GDPics, however I am not sure how customizable it is via CSS and lets not talk about CSS and how frustrating it can be between browsers!!
My original intention was to build a template but I can't think how to do that right now and I ended up just creating a new front end!!
Have a look, and if you want a copy of this version just mail this thread.
http://www.thetippinsfamily.com/stuart/pages/photo-gallery/gd-pics-041.php
BTW: I know the fonts are big, its another issue I just can't seem to iron out with my main template!!
Stu...
Logged
jschor
Junior Baker
Offline
Posts: 110
Re: GDPics Gallery Module
«
Reply #51 on:
April 27, 2006, 05:34:58 PM »
I would like to have a copy of 0.41. I use this album a lot in my sites (most version 0.34 and 0.36). There were some things i would like to have changed and it seems you covered most of them. Well done!
Can you tell me something about upgrading the module from earlier versions (how to)?
I have one strange thing that is happening when i use GDPics. It seems that directories are created by them selves. They all have the string "thumbs" in the name and are empty. Have i look what i mean here
http://www.elsascafe.nl/wb/pages/fotoarchief.php
Thanks in advance.........
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #52 on:
April 28, 2006, 10:24:04 AM »
jschor,
Your problem with the empty thumbs directory being created is a related to spaces in the dir name. I tested my version and it doesn't have this problem...
Attached is the new version. I would suggest you test it first on a separate site before upgrade your production site. Also, make a copy of your CSS settings. The CSS settings are now kept in a separate file in the gdpics directory and can be edited from the admin module. When I find time I will move them to the db.
To upgrade you need to install the module in the usual way then run
http://website/wb/modules/gdpics/update_gdpics.php
, this will add the new db entries. You will then need to copy back your CSS settings or comment out the ones in the admin module, which will make GDPics use your screen.css.
To use the new top level look you need to edit view.php and set toplevel to true. Its currently set to false.
$toplevel = true;
Let me know if you want any other features... I currently looking at the CSS and top level code to try and make it more flexible...I want to be able to produce a page like this
http://host.sonspring.com/hoverbox/#
which is all done in CSS.
I would also like a photo search feature!! I have also been sent a multilingual version of GDPics, which will look into shortly.
Stu...
Logged
jschor
Junior Baker
Offline
Posts: 110
Re: GDPics Gallery Module
«
Reply #53 on:
April 28, 2006, 10:39:56 AM »
Thanks Stu....
I will try it out. When upgrading just install new module or first uninstall the old one and then the new one?
I like your plans with the module. I have seen the hoverbox before and it looks very good. If i have some other ideas i will let you know. For a few of my sites i use TinyWebGallery which is not a module for wb but is very easy to install and looks good. But i always prefer a good module for wb like GDPics is turning into now. Maybe you can have a look at TinyWebGallery and pick up some ideas. You can see it here
http://www.quincy.nl/twg14
and here
http://www.studiowestpoort.nl
and here is the website
http://www.tinywebgallery.com/en/index.htm
Thanks for your hard work on GDPics
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #54 on:
April 28, 2006, 10:58:57 AM »
I notice you have comments for some albums, so if you want to retain them then you need to upgrade. Just install GDPics 0.41 through the Add-ons menu then run the upgrade script as described previously.
If you want to clean up your DB then delete the page to GDPics then uninstall and then install.
Alternatively you can ftp over the exisiting GDPics dir then run the upgrade script, whichever you prefer.
Stu...
PS Yes I have looked at it in the past. I also found another light PHP gallery software that uses temples that looked interesting but I couldn't find it again. Really I decided to update GDPics because I wanted to see how WB worked and wanted to learn PHP. I also had 35Gbs of photos that the old version of GDPics didn't support but I wanted the Exif info.
Logged
Olli
Senior Baker
Offline
Posts: 184
Re: GDPics Gallery Module
«
Reply #55 on:
May 11, 2006, 11:35:53 AM »
hello,
first of all THANKS for this great peace of work!
i have one question in mind:
i've got v0.36 installed on an already published site.
now i would like to update to v0.41, because of all those bugfixes and features
is there anything i need to take care of? or is it just replacing original files? i'm aksing this because it's quite a big difference concerning the version number...
examaning the update script i just discovered it changes the database structure from 0.39 to the current version. will this work with 0.36 too?
thanks in advance!
«
Last Edit: May 11, 2006, 11:40:02 AM by Olli
»
Logged
Stu-Art
Apprentice Baker
Offline
Posts: 57
Re: GDPics Gallery Module
«
Reply #56 on:
May 11, 2006, 02:36:12 PM »
Hi Olli,
sorry I have abandoned GDPics as of late due to work pressures and I was looking at TWG (which does a lot more).
You can do it two ways.
1. If you don't use comments you can remove the Page that called GDPics and then remove the add-in, then install as a new add-in
2. If you have added a lot of comments then replace your exisiting files with the new ones, and run the upgrade script
http://website/wb/modules/gdpics/update_gdpics.php
. This should add just the new fields to the DB. Becareful not all ftp clients replace existing files, I know my doesn't. [You might be able to just load the new version of GDpics add-in then run the update script, I can't remmeber if this works]
Cut your GDPics specific CSS settings from screen.css and put then into GDPics.css (through the admin module)
Stu...
Logged
XPfrik
Pending Apprentice Baker
Offline
Posts: 4
Re: GDPics Gallery Module
«
Reply #57 on:
May 13, 2006, 11:04:53 AM »
If anybody is interested.
I have made some tricks with gallery, so that you can add watermark on the fly to the image. You can choose png image or text or both. Cause I am not a php programer it is not made with pretty code, but hey, it is working.
I have also change the way that you can see original picture - which is now not shown in new window, but with use of lithbox plus in really nice efecct. As you can see, my english is not the best, so check yourself in
http://xpfrik.homeip.net/res/pages/galerija.php
To see original photo with effect klick on "Oglej si originalno sliko" (slovenian language).
If you want it, I will try to write some instructions how to implement it - and then you can improve it with more beautifull code.
Logged
Olli
Senior Baker
Offline
Posts: 184
Re: GDPics Gallery Module
«
Reply #58 on:
May 13, 2006, 10:32:13 PM »
hi stu art,
thanks for all the help
sad to hear you abandoned GDpics. what is TWG by the way?
maybe you can give me one more hint:
i've got a sorting problem when it comes to album row display...
let's say i got albums called (2002) to (2006)
this is what i get on overall row display:
(2004) (2003) (2006) (2005) and so on...
i guess the files are read in depending on creation date (first in first out)? is there a way to sort them first to have ascendig display?
thanks
«
Last Edit: May 14, 2006, 11:28:23 AM by Olli
»
Logged
bartvdb
Pending Apprentice Baker
Offline
Posts: 6
Re: GDPics Gallery Module
«
Reply #59 on:
May 15, 2006, 01:27:02 AM »
Hey guys,
I would like to get to get the caption of the images beneath the thumbnails, instead of the filename.
How can this be done?
Thanks in advance
Logged
Pages:
1
2
[
3
]
4
5
6
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
===> Security Announcements
=> Guest Area and Off-Topic
=> Website Showcase
-----------------------------
English
-----------------------------
=> Help/Support
===> Help/Support of WB2.7.x core
=> Website Baker Development
===> Website Baker 3
=> Documentation
=> Templates
=> Modules
===> Code Snippets
=> Languages
=> Archive
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
===> Templates, Module & Co.
===> Hilfe/Support von WB2.7.x core
=> Diskussion über WB
=> Off-Topic
=> Archiv
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Help / Support
===> WB Core
===> Templates, Modules & Languages
=> WB Discussie
=> Niet-Terzake (Off Topic)
-----------------------------
French
-----------------------------
=> Help/Support
-----------------------------
Italian
-----------------------------
=> Help/Support
Loading...