Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:49:35 AM

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.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 ... 6 7 [8] 9   Go Down
Print
Author Topic: New Version of Gallery  (Read 66858 times)
ghost06

Offline Offline

Posts: 53


« Reply #175 on: September 23, 2008, 09:04:19 PM »

hi,

Is there a way to show last 3 the thumbnails on one page?


 rolleyes

tnx
Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #176 on: November 26, 2008, 08:59:00 PM »

Hi,

Just a question because I could not find any topic on this forum regarding this issue:

Is there any WB user who uses this image gallery with Lightbox or Imageflow integration?

Hope so  grin

greetz
Boudi



Logged

...:: Bake the Unbakable ::...
Katerchen

Offline Offline

Posts: 84


« Reply #177 on: December 01, 2008, 04:39:12 PM »

Hello!

While building a WB project (my first one!) I missed some functionality in the Image Gallery module, so I tried to add them. Furthermore I used the opportunity to learn how WB modules work and finally put all the new functions into a new version of this module which should work out of the box. The discussion on the German page http://www.websitebaker2.org/forum/index.php/topic,11874.msg72450.html led to more and more interesting and IMHO useful enhancements, but it's time now to put the module into a stable state.

So you will find version 1.9f.1_lk_03 attached to this posting. Why this complicated version number? The latest "official" version is 1.9e. Furthermore there is an "inofficial" version 1.9f.1 not listed in any of the well-known WB module directories. Unfortunately, WB does a simple string comparison in order to determine if a version number of a module is newer than the one of the installed version, so any "1.9g Beta" or even "2.0 Beta" would destroy the possibility to install a final version 1.9g or 2.0 over an existing beta. So I appended my initials "lk" and an own internal version number which is currently "03", thus the final version could be called for example 1.9g or 2.0.0.

The modifications:

Added: Image directory can be configured (Default: ".gallery", the behaviour of earlier versions). Subdirectory structures are allowed.
Added: Optionally add leading zeros to image numbers in filenames (Default: No leading zeros, the behaviour of earlier versions)
Added: Images can be moved from one group or page to another (code by Thorn)
Added: Upgrade from earlier versions now works automatically (code snippet by Ruud). Old version must be >= 1.8! Upgrade from versions < 1.8 is currently not supported! The old upgrade scripts are still included in the archive
Added: A Copyright field for each image is added, with configurable default values inserted automatically for each new image or used automatically if the copyright field is empty for an image.
Added: Possibility to copy layout settings to all "Image Gallery" pages (if there ist more than one)
Added: Help for the possible elements in the layout settings           

Modified: Options dialog modified in order to make room for the new options
Modified: "Add multiple pics" dialog improved
Modified: Use of German words standardized

Fixed: Moving subimages inside a group now works correctly
Fixed: German and English spellings corrected
Fixed: Special characters in some fields handled correctly
Fixed: All remaining short PHP tags replaced by <?php
Fixed: XHTML tags closed correctly (hope I caught them all)
Fixed: PHP notices fixed (hope I caught them all)
Fixed: Some smaller bugs fixed

All modifications have been done in a backward-compatible way. You should be able to install this module over a running version v1.8 of the gallery and won't notice a difference in the frontend unless you use one of the new functions.

Consider this version as a "release candidate". I'm already using it in the aforementioned WB project I'm currently working on, but of course I cannot guarantee that it's absolutely bug-free. Any comments and bug reports are welcome. However, I don't have any time right now to implement more enhancements, so I will focus on bugfixes. (Perhaps a native English speaker can take a look at the language file EN.php?)

Have fun!
« Last Edit: December 01, 2008, 04:43:03 PM by Katerchen » Logged
Hoco

Offline Offline

Posts: 21



« Reply #178 on: December 03, 2008, 10:20:21 PM »

 grin grin grin grin grin grin grin grin grin grin grin grin grin grin grin

To Katerchen,

I'm happy to see that there is some development on this module. I had some problems (see former post in this thread) an concluded that i had to look for an other Image-module. Next problem is filling it with my photo's but worse.... check all the links from the text-pages to the photo's  cry

I'm interested to try your update but have a few questions:
- does it work on both WB 2.6.7 and 2.7 ?
- can you give a link to a site with your new module, so i can look at it ?
- when update fails, can I go back to 1.9e by simply install 1.9e again ?

I'm not sure if my problem posted in this thread is solved, but when it is and I've got answers at these questions, I'm your man and test this update.

 I'm smiley so thanx,

Hoco
Logged

Let's bake some sites and don't get burned
Katerchen

Offline Offline

Posts: 84


« Reply #179 on: December 03, 2008, 10:45:26 PM »

does it work on both WB 2.6.7 and 2.7 ?

I don't know. info.php says 2.6.7, but I tested it successfully with v2.7. I don't have a 2.6.7 installation right now but I will put it on my list.

Quote
can you give a link to a site with your new module, so i can look at it ?

Not yet, but I'm thinking about setting up a test installation. It will take some days though.

Quote
when update fails, can I go back to 1.9e by simply install 1.9e again ?

Not without modifying the code, because WB does a string comparison of the version numbers and refuses a downgrade. So there are two possibilities: Uninstall the newer version and reinstall the older one or patch the version information in the file info.php of the old version. However, if you have already used some functions of the new version, the old one won't work correctly (e.g. if you have configured a different image directory than the default .gallery).

Quote
I'm not sure if my problem posted in this thread is solved, but when it is and I've got answers at these questions, I'm your man and test this update.

I'm not sure either smiley I haven't looked at sections support so far, so if it didn't work correctly in v1.9e, it's quite probable that it still doesn't work. However, I don't consider the whole project as finished with the forthcoming release, in fact, there are some more ideas for future versions (copy pictures to another gallery page, change thumbnail size, watermark images, ...). Currently, I have no time left, because I want to finish two WB projects first, so I want to focus on bugfixing now and implement new functions later.

Anyway, feel free to test it and send me bug reports.
Logged
Hoco

Offline Offline

Posts: 21



« Reply #180 on: December 04, 2008, 08:44:33 AM »

Hello Katerchen,

Thanks for the quick response, because I´m not so handy in PHP etc. I will have to wait for some answers.

But....... I'm very glad that you´re prepared to get on with develloping this module.

I´ll check for news here freqently and wish you succes,

Hoco
Logged

Let's bake some sites and don't get burned
Suvdal

Offline Offline

Posts: 1


« Reply #181 on: December 12, 2008, 06:18:44 PM »

 have problems adding pictures taken with a 10MP camera.. This occurs even though I resize the images to a size I KNOW works...

Any one else got this problem?

And is there any easy way to work it out?
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #182 on: December 14, 2008, 02:10:51 PM »

I think it would be better for you to specify WHICH kind of Problems you are having ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Hoco

Offline Offline

Posts: 21



« Reply #183 on: December 16, 2008, 09:24:03 PM »

@all

I've noticed that there's another thread which seems to be more actual and closer to the developers of this module.

So check for news also here:

http://www.websitebaker2.org/forum/index.php/topic,11874.msg73640.html#msg73640

Hoco
Logged

Let's bake some sites and don't get burned
Katerchen

Offline Offline

Posts: 84


« Reply #184 on: December 16, 2008, 09:57:58 PM »

@Hoco:

Yes, this German thread is the one I started when I decided to put my enhancements of the "Image Gallery" into the module, in order to prevent this "official" module thread from getting cluttered. When the module has reached a quite stable state, I posted it here and of course I will do it again once it will be finished (which will hopefully be soon).
Logged
Hoco

Offline Offline

Posts: 21



« Reply #185 on: December 30, 2008, 10:20:54 PM »

@Katerchen,

I 've looked at the demo-site http://www.websitebaker.net/pages/labor/image-gallery.php and as usual I clicked on the thumbnail and got the normal picture as expected.

But I was surprised  cheesy  that when you click on the normal picture you get a sort of full-screen image !!

That's what I want......... so I installed Image Gallery 1.9f.1_lk_04.

Unfortunately after installation, it did not work that way on my site ( http://www.t-bugje.nl/webbaker/pages/foto-galerij/fotos-kerststukjes-maken-2008.php

Is there something wrong or do I something wrong of is this a consequence of the template (I have installed Andreas01) Huh

Please help, I'm eager to see this working as the demo-site

Hoco
Logged

Let's bake some sites and don't get burned
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4753



« Reply #186 on: December 30, 2008, 10:36:40 PM »

You can make settings after clicking on the button "SETTINGS".
There is a option for that.

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Hoco

Offline Offline

Posts: 21



« Reply #187 on: January 01, 2009, 12:36:23 PM »

@ Stefek,

Thanks, sorry I didn't see it myself.

Best wishes foor 2009 to al WB-users and builders.

Hoco
Logged

Let's bake some sites and don't get burned
TN

Offline Offline

Posts: 20


« Reply #188 on: February 27, 2009, 05:39:24 PM »

I need the title=""-attribute filled in the created image-tag. Firefox and Opera will only (see HTML-specification) shown the title-Attribute 'under' the mouse-pointer if you hover over the pictuere.
It would be nice if in one of the next releases the coding was like (in the view.php)

echo THUMB_PREPEND.WB_UR L.MEDIA_DIRECTORY.'/.gallery/main'.$image['image_id'].'.'.$ext.'" title="'.$image['alttitle'].'" alt="'.$image['alttitle'].'"'.THUMB_APPEND;

Please check also the other places in view.php.

TNX.

Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #189 on: February 27, 2009, 05:50:41 PM »

Hello TN

Fell free to download this module and modify it to fit these needs.

Please care for publishing the modified module after testing.

Thanks

erpe
Logged

Katerchen

Offline Offline

Posts: 84


« Reply #190 on: February 27, 2009, 07:21:13 PM »

Sorry, I haven't had much time during the past weeks, but now I want to put an end to all those betas and release a new version soon which could be included into the well-known add-on lists (and also modified by other people, of course). I will put your suggestion into the final version 2.0.0, which will be released in a few days.
Logged
Katerchen

Offline Offline

Posts: 84


« Reply #191 on: March 03, 2009, 07:44:43 PM »

TN,

please try attached version. If no critical bugs occur, this version will be the final one.

Edit: See the final version 2.0.0 below!
« Last Edit: March 26, 2009, 09:03:02 PM by Katerchen » Logged
Luckyluke

Offline Offline

Posts: 555



« Reply #192 on: March 03, 2009, 08:08:08 PM »

Hi,

Nice module. But maybe it would be nice if the controls (next picture, previous picture, ...) can be above the picture.

Grtz,
Luc
Logged
Katerchen

Offline Offline

Posts: 84


« Reply #193 on: March 03, 2009, 08:24:24 PM »

But maybe it would be nice if the controls (next picture, previous picture, ...) can be above the picture.

This is possible. You can set the HTML code for the header and the footer in the "Settings" page.
Logged
naturalp

Offline Offline

Posts: 25


« Reply #194 on: March 09, 2009, 06:01:13 PM »

I have installed this via the add-ons menu  and thats it - am running the latest version of wb but cant find out where or how to use the gallery? - it might seem a very stupid question but I have looked and looked ? - can somebody please point me in the right direction?

and yes I have looked at the forum and can't find anyone quite as stupid as me!
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4753



« Reply #195 on: March 09, 2009, 06:07:33 PM »

You have to create a new page of type "gallery". Did you do this?

After installation you don't need to do anything else in the addons "menu" to get the module working.
Just generate a new page and choose "gallery".

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
naturalp

Offline Offline

Posts: 25


« Reply #196 on: March 09, 2009, 09:03:17 PM »

Oh wow it's that simple - why didn't you say? - Thanks so much I must get on and play now!
Logged
ircsurfer

Offline Offline

Posts: 16


« Reply #197 on: March 26, 2009, 03:40:47 AM »

Hello, Let me start off by saying that the forums here are a great place to find answers, They are not over booked with the same questions in 500 million new topics so i commend you all for this. I have researched this particular thread in its completion over and over again in the last 3 days trying and making sure i did not miss the posting. I am running this module Version: 1.9f.1_lk_08  on WB2.7 and i see where the class is set for the thumbnails in the view.php file. I also see where it is set to include the intermediate images and the full page images but the only reference to the image classes is set for the thumbnail. I have a project i am working on that requires thefollowing

1) Thumbs (image size is 150x113)
2) Intermediate image is (450x338)
3) Largest image opens in a new window( they are set at 800x600)

I see in the settings tab that i can set the Main Image Size and Thumbnail Image Size which works as long as my images are the same width and height. Unfortunatly, the person that will be maintaining this site is very computer ilitterate and all they want to do is upload the images, put the descriptions, and add the titles and call it a day. I am not good with the php code enough to begin to understand what i am supposed to modify. Hence im using the best CMS i have found out there(IMHO).

Any help would be appreciated.


Update: I was playing around with this a bit more and figured it out..
« Last Edit: March 26, 2009, 01:31:37 PM by ircsurfer » Logged
jollyholly.dk

Offline Offline

Posts: 21


« Reply #198 on: March 26, 2009, 09:33:48 AM »

Hi.

Nice module..

But i could really use a image counter ..

Isnt that easy to integrate into the module ?
Logged
Katerchen

Offline Offline

Posts: 84


« Reply #199 on: March 26, 2009, 09:02:14 PM »

Finally, the new version of Image Gallery is out of beta and bears the version number 2.0.0. There are no changes from the last beta v1.9f.1_lk_08. It replaces all 1.9e/1.9f versions and is fully downward compatible to them.

Please put this version into the official WB module directory. Have fun!
Logged
Pages: 1 ... 6 7 [8] 9   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!