Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 11:59:54 PM

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.
149481 Posts in 21084 Topics by 7530 Members
Latest Member: hoschmeck
* Home Help Search Login Register
Pages: 1 2 [3] 4 5   Go Down
Print
Author Topic: GDPics Gallery Module  (Read 42840 times)
Stu-Art

Offline Offline

Posts: 57


« Reply #50 on: April 27, 2006, 03: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

Offline Offline

Posts: 110


« Reply #51 on: April 27, 2006, 04: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

Offline Offline

Posts: 57


« Reply #52 on: April 28, 2006, 09: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

Offline Offline

Posts: 110


« Reply #53 on: April 28, 2006, 09: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

Offline Offline

Posts: 57


« Reply #54 on: April 28, 2006, 09: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

Offline Offline

Posts: 288


« Reply #55 on: May 11, 2006, 10: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 Smiley

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, 10:40:02 AM by Olli » Logged
Stu-Art

Offline Offline

Posts: 57


« Reply #56 on: May 11, 2006, 01: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

Offline Offline

Posts: 4


« Reply #57 on: May 13, 2006, 10: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

Offline Offline

Posts: 288


« Reply #58 on: May 13, 2006, 09:32:13 PM »

hi stu art,
thanks for all the help Smiley

sad to hear you abandoned GDpics. what is TWG by the way? Wink
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, 10:28:23 AM by Olli » Logged
bartvdb

Offline Offline

Posts: 6


« Reply #59 on: May 15, 2006, 12: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
Stu-Art

Offline Offline

Posts: 57


« Reply #60 on: May 15, 2006, 07:54:20 AM »

Olli, I have given up with Tiny Website Gallery,  It does a lot more than GDPics but currently doesn't do comments, which I particularly like and want on my site and it doesn't integrate with WSB very well.

As to sorting, I look at sorting a while back and I even added some code to sort, its in view.php $sort_list = 'yes';  I played around with different sort options but on my gallery I ended up with strange results so I turned it off.

XPfrik, I liked what you did with watermarks, but I couldn't get the lightbox effect to work. The author of TWG is also adding this effect and passed me this page http://www.huddletogether.com/projects/lightbox2/.  Don't worry about untidy code.  If I had the time I would rewrite GDPics as thats very untidy and make it all function calls but I don't have the time. BTW: I learnt PHP by modifying GDPics.

Bartvdb, yes it could but not with the current version.  v41 uses this idea but only for albums.  One reason I looked at TWG is because I wanted the ability to use templates but it doesn't work as I thought it did. I will look at this feature in the next release, as I wanted to use it like a photoblog, with a thumbnail and a large caption.

and yes there will be a new release.

Stu...
PS TWG - http://www.tinywebgallery.com/en/index.htm

Logged
XPfrik

Offline Offline

Posts: 4


« Reply #61 on: May 15, 2006, 02:36:08 PM »

What do you mean with lightbox not working. It is workin if you want to see original picture. Instead of that - if you just want to see lightbox plus in work you can see it in the page http://xpfrik.homeip.net/res/pages/svetovanje.php if you click on any picture.

I like lightbox plus over original because it avtomaticly resize picture to your screen and on mouseover gives you possibility to enlarge it or to resize it down again, and it gives you possiblility to show captions bellow the picture.
Logged
Stu-Art

Offline Offline

Posts: 57


« Reply #62 on: May 15, 2006, 02:49:38 PM »

Hi, yes I can see the lightbox work now.  How do you code your pages so that the lightbox loads, have you put the function in the template?

BTW: You don't reference either GDPics or Website baker on your website??

and your fluid design does not work as the horizontal menu has too many items.  If you reduce the window size the menu gets screwed up.

Stu...
Logged
YeShakka

Offline Offline

Posts: 146



« Reply #63 on: June 08, 2006, 06:00:39 PM »

Hi,
I have some problems with this module:

* not ready for use on a server with "short_open_tag = On"
My php.ini doesn't allow short tags like
<? , <?=$var;?>
need to be <?php ; <?php echo $var;>

The admin part of GDpics doesn't work when I have the short tags off.
I already tried to fix it but alwas get errors I don't understand.


A suggestion I wanna make:
* Insert a field to set a album Name which makes it possible to have folders without spaces but name the album like "My brithday on 05.07.2006"

Thanks for help!
Logged
Stu-Art

Offline Offline

Posts: 57


« Reply #64 on: June 09, 2006, 07:42:38 AM »

Morning,
Sorry I have not had much time to look at some of the issue with GDPics between work and travel.  I will do a search and replace for the short tags problem.

In regards to the album naming, I have already had a suggestion to use the description and not file names for images and I can extend this to folders.

 I will look into this...I just don't know when sad

Stu...
Logged
YeShakka

Offline Offline

Posts: 146



« Reply #65 on: June 09, 2006, 09:52:48 AM »

Morning,
Sorry I have not had much time to look at some of the issue with GDPics between work and travel.  I will do a search and replace for the short tags problem.

I could do the search and replace myself. See the attached file )ain't good always complaining - wink)

But there remained some errors and some functions where not working after my s&r. May you look at it as soon as you find time.

In regards to the album naming, I have already had a suggestion to use the description and not file names for images and I can extend this to folders.

Thank you for your work and quick response.
Logged
Ruin

Offline Offline

Posts: 10


« Reply #66 on: June 16, 2006, 04:06:30 PM »

... and (feeling guilty to ask about it) a safe_mode problem: Is it possible in any way to turn off the resampling function in gdpics?

I tried to manually create a /media/gallery/<album>, a /media/gallery/<album>/thumbs and the /temp/gd_cache folder. After that I copied some photos (sampled down by hand) and manually created thumbs into the appropriate folders. The thumbs are shown, and one can get the original photos via "View Original", but between these there are no resampled pics in the detailed view.

What I need is to directly show the manually downsampled pics, or to get the resampling to work. Have I overlooked some necessary folders or options?
Logged
Stu-Art

Offline Offline

Posts: 57


« Reply #67 on: June 16, 2006, 04:26:02 PM »

If I understand your problem correctly, you want to upload your own thumbnails and originals.  Clicking on the thumbs shows the original, right?

then my question is why do you need GDPics, you could do this with the CMS directly.  The point of GDPIcs and other programs, such as Gallery and Pickle is that they automatically create different size views and thumbnails, so copying in new originals generates new thumbs etc.

GDPics does a lot of checking in the cache directory to see if the cached thumb matches the images sizes specified in the admin module. This might be your problem. Basically if you set the resample size to 110 px then your thumbs should be either 110 width or 110 tall (depending on if its landscape or portrait)

You might find another gallery program on the web that works with safe mode.

Hope this helps
Stu...
Logged
Ruin

Offline Offline

Posts: 10


« Reply #68 on: June 17, 2006, 10:19:27 AM »

Wow, thx for your fast reply!
I use GDPics on two other sites, so it came somehow out of a habit to use it again. cool
It's so nice to have album images copied to a defined place an they're showed as albums with captions, slideshow and so on.

My "originals" are downsampled by hand to match the resample size of GDPics, but no luck. I think I'll try to use the build-in image gallery of WB. Safe_mode seems to be one of the most useless things in computer technology - could have been introduced by MS, as it doesn't solve problems fundamentally. *sigh*
Logged
YeShakka

Offline Offline

Posts: 146



« Reply #69 on: July 11, 2006, 05:19:15 PM »

I have short-tags on in the phpp.ini of my server.
So here I provide a patch for GDPics Version 0.36.

I tried the same with version 0.41 but didn't get it.
I will try to provide my errors here that somone can help with debugging.

Just pverwrite the modify.php if you are still runing v0.36 of gdpics.
Logged
andybute

Offline Offline

Posts: 17


« Reply #70 on: September 08, 2006, 06:00:55 PM »

Hi,

Have installed gd041 but I'm getting this:
Warning: main(/home/659/butejazz/www.butejazz.com/public_html/modules/admin.php): failed to open stream: No such file or directory in /home/659/butejazz/www.butejazz.com/public_html/modules/gdpics/save.php on line 26


when I try to save the gallery setup.

Any ideas?
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6817


WWW
« Reply #71 on: September 08, 2006, 06:30:13 PM »

don't know what you changed, but the path should rather say: ...modules/gdpics/admin.php

Please let us know, what changes you have done ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

moviestar

Offline Offline

Posts: 16


« Reply #72 on: October 06, 2006, 09:18:42 PM »

Is it me or is the link to download this gallery down?
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6817


WWW
« Reply #73 on: October 06, 2006, 11:12:16 PM »

which of the approx. 100 links in this thread do you mean?

Official releases you can donwnload under addons.websitebaker .org (currently redirected).

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7656



WWW
« Reply #74 on: October 07, 2006, 05:59:55 AM »

Hello,

after there are more and more questions about this gallery i will look at the code, try to fix all issues and release i think version 0.5 tonight at the official addons repository.

Matthias
Logged
Pages: 1 2 [3] 4 5   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!