Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:18:44 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.
155538 Posts in 21712 Topics by 7769 Members
Latest Member: deanmacullam
* Home Help Search Login Register
Pages: [1] 2 3 4   Go Down
Print
Author Topic: Auto Gallery  (Read 7045 times)
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« on: November 21, 2010, 02:24:28 PM »

Auto Gallery  Current Version 0.4beta
  
* This module creates an easy to navigate photo gallery.

Features
* Recursively searches through your photo file tree to automatically create the gallery using ImgBrowz0r by Frank Smit.
   * image thumbnails automatically created
   * image caching option
* Light box style pop-up for viewing the photos using  Pretty Photo by Stephane Caron.
   * Slide show option for lazy surfers.
   * 4 skins to match your website style.
* Backend provides easy three click set up.
    1 choose the root of the photo folders.
    2 choose the cache folder.
    3 click save.

Tested on
* WB2.8.1

Download latest version at http://www.websitebakers.com/pages/modules/image-galleries/auto-gallery.php

Note: when changing some settings you will need to empty the server cache and your browser cache to see the result.
« Last Edit: December 16, 2010, 01:41:13 PM by Spritemarkiv » Logged
peterrodger

Offline Offline

Posts: 39


« Reply #1 on: November 27, 2010, 05:50:32 PM »

Auto Gallery looks really promising - but I am getting this error...
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /.../.../../../....../htdocs/modules/Auto_Gallery/include/imgbrowz0r-0.3.7/imgbrowz0r.php  on line 37

Can anybody suggest why please?  It's on a brand new installation of WB 2.8.1.
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #2 on: November 27, 2010, 06:11:13 PM »

I know WB 2.8.1 requires PHP 5.2.2 or higher but,  I found someone else that had this problem but was using PHP 4.  Are you sure you have the right PHP?

Logged
Olli

Offline Offline

Posts: 290


« Reply #3 on: November 29, 2010, 06:15:42 PM »

hi there,

thanks for this very nice gallery!

i made a small hack inside the 'imagebrows0r.php' v0.37 to display the .desc text-file onto the overview frontpage for each gallery aswell.
name each text-file like this ".desc". just the extension and no name please! put one in each folder if you like.

maybe this is useful to someone. see the attached file.

thanks for this module!
« Last Edit: November 30, 2010, 12:27:25 PM by Olli » Logged
snark
Guest
« Reply #4 on: November 30, 2010, 11:31:53 PM »

I tried it but it seems to not make thumbnails, or at least it doesn't show em properly, anyone else had such problems?

I will post à pic tommorrow
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #5 on: December 01, 2010, 10:13:32 AM »

Auto Gallery will create the thumbnails when you navigate into each folder.  After that they will show up in the menu.
Otherwise it would have to create all the thumbs for the whole tree(memory heavy).

Also, there must be a photo in the folder and not just other folders.

i.e.
folder-1
  sub-folder-1
  sub-folder-2
  sub-folder-3
  sub-folder-4
picture.jpg

picture.jpg will be used as the thumb for folder-1


Hope this helps.
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #6 on: December 02, 2010, 08:23:08 AM »

Olli,
Thanks for the input.  I will look at incorporating it into the next version.
Logged
Olli

Offline Offline

Posts: 290


« Reply #7 on: December 02, 2010, 11:42:25 AM »

hi spritemarkiv,
that's very nice - thank you!

will include a java based uploader including picture resizing today or tomorrow. will you include this aswell?
i am thinking about an watermarking option aswell...

thanks



Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #8 on: December 02, 2010, 11:45:19 AM »

I am also working on a image uploader for this.  It's Jquery based and does include image resizing.
Logged
Olli

Offline Offline

Posts: 290


« Reply #9 on: December 02, 2010, 11:54:03 AM »

is this client side or server side based resizing by the way? smiley
i prefer client side resizing to reduce uploading time and traffic on larger galleries... smiley

thats great news btw. smiley

thanks
« Last Edit: December 02, 2010, 11:57:44 AM by Olli » Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #10 on: December 02, 2010, 12:15:32 PM »

Have a peek at what I am using.  I also plan to make a stand alone upload module using this.
www.plupload.com
Logged
Olli

Offline Offline

Posts: 290


« Reply #11 on: December 02, 2010, 03:02:06 PM »

hey spritemarkiv,

thank you for pointing me to that link. looks very promising and feature loaded smiley

edit: just looked at it a bit more closely... this stuff is a killer  grin

whenever i am able to help let me know!
« Last Edit: December 02, 2010, 03:04:58 PM by Olli » Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #12 on: December 02, 2010, 03:47:20 PM »

New version to play with! V0.2

http://www.websitebakers.com/pages/modules/image-galleries/auto-gallery.php

Olli, please check that I included your imgbrowser tweek correctly. 

You must uninstall and reinstall.  Keep getting errors in upgrade.php.

Also note upload.php need double checked for security.
Logged
Olli

Offline Offline

Posts: 290


« Reply #13 on: December 02, 2010, 05:12:49 PM »

hi spritemarkiv,

have not had time to check for more but you should protect the 'upload.php' for direct access with

Code:
if ((intval($_SESSION['USER_ID'])==0) || (trim($_SESSION['USERNAME'])==''))
  {die('Access Denied! Please Login...');}

but on upload/form security i am not a pro and we should ask other authors for help...
the code for the tweak looks ok too wink

maybe i can help to get the update working...

thanks
« Last Edit: December 02, 2010, 05:15:59 PM by Olli » Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #14 on: December 02, 2010, 05:21:04 PM »

That would be great!  I just got tired of messing with it and wanted to show you the new feature.
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #15 on: December 02, 2010, 05:36:39 PM »

speaking of security; I forgot to add the index.php files to Auto_Gallery /include/plupload/* grin
Logged
Olli

Offline Offline

Posts: 290


« Reply #16 on: December 02, 2010, 06:17:23 PM »

on first sight i do not get any warnings or errors on updating...
everything installs ok...

just checked the local frontend upload... all worked out perfectly!
very very nice! smiley

what kind of errors do you get?

do you mind if i add a watermarking option?

thanks
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #17 on: December 02, 2010, 07:11:31 PM »

I double checked the upgrade, and it worked this time.  Don't know what I saw, I was moving kind of fast, could be the human part of the equation.

Go ahead and work on a watermark, I like having lots of options.
Logged
Olli

Offline Offline

Posts: 290


« Reply #18 on: December 02, 2010, 07:22:18 PM »

now there is something i saw when i was testing locally.

right now the script deals with 3 picture dimensions:

- thumbnail height & width
- lightbox height & width
- uploader height & width

i think one of those measurements are obsolete, right?
when uploading a picture it has the same size of a thumbnail inside the lightbox on v0.2 no matter what is saved inside the options for a large picture view...

but maybe this is just a local GDpics limitation that will disappear when moving to a "real" server environment, i am not sure about this  wink

all the best
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #19 on: December 02, 2010, 09:58:14 PM »

Thumbnail H&W is for the imgbr0zer page navigation display.
Lightbox(Pretty Photo) H&W is for the default displayed image size(large images are resized with a nice expand button).
pluploader H&W is for the client side image resizing.

So, all three should be independent of each other. Pretty photo does not use the thumbs from imgbr0zer.

Basically we have the three Jquery plug-ins working next to each other and not with each other.


P.S.
I just posted a quick stand alone of the pluploder.
Logged
Nicky

Offline Offline

Posts: 41


« Reply #20 on: December 07, 2010, 03:52:08 PM »

Hi

Auto Gallery 0.2 looks and works great! The only problem is the thumbnails. The thumbnails all have different widths but the height is always just 12px regardless of the template being used.

Is this a CSS thing or a setup issue. It must be something simple as the rest of it works fine and doesn't break!

Any pointers would be great. Thumbnails set to 200 X 200 / 2 per row.

WB 2.8.1

Regards, Nicky
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #21 on: December 07, 2010, 04:20:25 PM »

Hi Nicky,
The thumbnail setting that is 200x200 by default is for the imgbrozer part of the gallery. This is the navigation you see when you first open the page.
 The thumbs you are seeing are made by the prettyphoto(the lightbox style) part of the gallery.  I don't see any way to easily change the height of these in the Jquery, at least from there documentation, but you should be able to change it in css.

Remember the upload.php file is not yet secured, so don't put it into a production site yet.  Then next version, hopefully out soon, will be secure.
Logged
Nicky

Offline Offline

Posts: 41


« Reply #22 on: December 07, 2010, 04:51:41 PM »

Hi Spritemarkiv

Thanks for the info. I had forgotten about the security php! Ooops! Never mind, I shall crack-on with the rest of the site and leave the Auto Gallery until last. Good work and looking forward to your next release.

Regards, Nicky
Logged
Spritemarkiv
AddOn Development
*
Offline Offline

Posts: 113



WWW
« Reply #23 on: December 09, 2010, 01:17:38 PM »

Hi Nicky,
I got the security sorted, and a new version in available at AMSP.
http://www.websitebakers.com/pages/modules/image-galleries/auto-gallery.php
Logged
Nicky

Offline Offline

Posts: 41


« Reply #24 on: December 10, 2010, 06:26:39 PM »

Hi

Thanks. I'll get busy with it next week and let you know with some feedback.

Regards, Nicky
Logged
Pages: [1] 2 3 4   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!