dotProject Forums

Go Back   dotProject Forums > NEW MODULES AND PATCHES > New Module Announcements
Register FAQTop Posters Members List Calendar Search Today's Posts Resend Activation Email Mark Forums Read
dotProject Documentation dotProject FAQ Bugs & Feature Requests Language Packs & Themes Download dotProject

New Module Announcements Please place only announcements of new modules here. Support queries should go to the general support forum.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-08, 06:23 PM
CasN CasN is offline
Valued Users
Does My Family Know what I look Like?
dotProject Version: 2.1.2
php Version: 5.3
MySQL Version: 5.0
Operating System Version: Windows
Browser: IE 8
 
Join Date: 09-03-06
Posts: 163
Default Gallery module

Simple gallery module for DP.

fully based upon the files module, creates thumbnails on the fly if they are not present.
It simply select images from the files section so no changes to core DP.
Thumbnail width/height and the thumbnails perrow can be configured.

It can be downloaded @ http://www.nuy.info/apps/owl/browse....me&c urview=0

Have fun..............
__________________
dotProject Version you are using (2.1.2)
MySQL Version (5)
PHP Version (5)
Operating System (Windows)
Reply With Quote
  #2  
Old 10-10-08, 07:23 PM
zsolarewicz's Avatar
zsolarewicz zsolarewicz is offline
Valued Users
Frequent Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 27-04-08
Posts: 61
Default Re: Gallery module

Quote:
Originally Posted by CasN View Post
Simple gallery module for DP.

fully based upon the files module, creates thumbnails on the fly if they are not present.
It simply select images from the files section so no changes to core DP.
Thumbnail width/height and the thumbnails perrow can be configured.

It can be downloaded @ http://www.nuy.info/apps/owl/browse....me&c urview=0

Have fun..............
Oooobzzz !

What did i wrong ??:

Warning: imagecreatefromjpeg(C:\wamp\www\dotproject/files/1/9348480357edcbcce) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in C:\wamp\www\dotproject\modules\gallery\gallery.cla ss.php on line 20

Warning: imagecreatefrompng(C:\wamp\www\dotproject/files/1/9348480357edcbcce) [function.imagecreatefrompng]: failed to open stream: No such file or directory in C:\wamp\www\dotproject\modules\gallery\gallery.cla ss.php on line 22

maybe because i got only PDFs ??
can we make it displaying icons from PDFs also??
__________________
Regards/MfG

ZS
Windows: dotproject 2.1.2/ WAMPserver 2.0c / P4-2GB
Gentoo: dotproject 2.1.2/ LAMPserver / Athlon64-4GB
Reply With Quote
  #3  
Old 12-10-08, 05:59 AM
CasN CasN is offline
Valued Users
Does My Family Know what I look Like?
dotProject Version: 2.1.2
php Version: 5.3
MySQL Version: 5.0
Operating System Version: Windows
Browser: IE 8
 
Join Date: 09-03-06
Posts: 163
Default Re: Gallery module

I had expected most php installations would already have this.
This module does expect php with gd 2.01
Will add this requirement to the readme in the next update.
Please check.
__________________
dotProject Version you are using (2.1.2)
MySQL Version (5)
PHP Version (5)
Operating System (Windows)
Reply With Quote
  #4  
Old 12-10-08, 07:45 PM
CasN CasN is offline
Valued Users
Does My Family Know what I look Like?
dotProject Version: 2.1.2
php Version: 5.3
MySQL Version: 5.0
Operating System Version: Windows
Browser: IE 8
 
Join Date: 09-03-06
Posts: 163
Default Re: Gallery module

Have posted a new version in download section. Really no major changes.
Improved/cleaned the code and also added an option to remove orphaned thumbnails from the filesystem.
Since this gallery is based upon files, cleaning function is required just for those cases that image-files are deleted from DP.

Forgot to mention, for now only support for JPG & PNG files.

Can be downloaded @ the same spot.
__________________
dotProject Version you are using (2.1.2)
MySQL Version (5)
PHP Version (5)
Operating System (Windows)
Reply With Quote
  #5  
Old 15-10-08, 11:10 PM
zsolarewicz's Avatar
zsolarewicz zsolarewicz is offline
Valued Users
Frequent Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 27-04-08
Posts: 61
Default Re: Gallery module

still get however:

Fatal error: Call to undefined function createthumb() in C:\wamp\www\dotproject\modules\gallery\index.php on line 72

could the definition of createthumb function be is the same file as
invoked procedure ??
__________________
Regards/MfG

ZS
Windows: dotproject 2.1.2/ WAMPserver 2.0c / P4-2GB
Gentoo: dotproject 2.1.2/ LAMPserver / Athlon64-4GB
Reply With Quote
  #6  
Old 16-10-08, 12:11 AM
CasN CasN is offline
Valued Users
Does My Family Know what I look Like?
dotProject Version: 2.1.2
php Version: 5.3
MySQL Version: 5.0
Operating System Version: Windows
Browser: IE 8
 
Join Date: 09-03-06
Posts: 163
Default Re: Gallery module

add in the beginning of index.php the line
Code:
include_once("./modules/gallery/gallery.class.php");
Will fix this in the final release due this week.
__________________
dotProject Version you are using (2.1.2)
MySQL Version (5)
PHP Version (5)
Operating System (Windows)
Reply With Quote
  #7  
Old 16-10-08, 12:19 AM
zsolarewicz's Avatar
zsolarewicz zsolarewicz is offline
Valued Users
Frequent Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 27-04-08
Posts: 61
Default Re: Gallery module

Quote:
Originally Posted by CasN View Post
add in the beginning of index.php the line
Code:
include_once("./modules/gallery/gallery.class.php");
Will fix this in the final release due this week.
Hurray! Images visible, still however:

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in C:\wamp\www\dotproject\modules\gallery\gallery.cla ss.php on line 20

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'C:\wamp\www\dotproject/files/10/2440948ef4ea8ca58a' is not a valid JPEG file in C:\wamp\www\dotproject\modules\gallery\gallery.cla ss.php on line 20
__________________
Regards/MfG

ZS
Windows: dotproject 2.1.2/ WAMPserver 2.0c / P4-2GB
Gentoo: dotproject 2.1.2/ LAMPserver / Athlon64-4GB
Reply With Quote
  #8  
Old 17-10-08, 06:25 AM
CasN CasN is offline
Valued Users
Does My Family Know what I look Like?
dotProject Version: 2.1.2
php Version: 5.3
MySQL Version: 5.0
Operating System Version: Windows
Browser: IE 8
 
Join Date: 09-03-06
Posts: 163
Default Gallery module Updated

Have updated the gallery module to version 1.3.
added some options like:
Online processing is configurable
Clean all thumbnails
Create all thumbnails
Fixed the issue around missing function.
Can be downloaded @ the same spot as mentioned in an earlier posting.

@ zsolarewicz, check your php error log on precise message around Warning: imagecreatefromjpeg, it looks the jpeg file found was not valid.
__________________
dotProject Version you are using (2.1.2)
MySQL Version (5)
PHP Version (5)
Operating System (Windows)
Reply With Quote
  #9  
Old 17-10-08, 07:39 PM
zsolarewicz's Avatar
zsolarewicz zsolarewicz is offline
Valued Users
Frequent Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 27-04-08
Posts: 61
Default Re: Gallery module Updated

Quote:
Originally Posted by CasN View Post

@ zsolarewicz, check your php error log on precise message around Warning: imagecreatefromjpeg, it looks the jpeg file found was not valid.
error appeared TWICE and disappeared ! as simply as it is.

would GREAT if PDFs could be also visible....?
__________________
Regards/MfG

ZS
Windows: dotproject 2.1.2/ WAMPserver 2.0c / P4-2GB
Gentoo: dotproject 2.1.2/ LAMPserver / Athlon64-4GB
Reply With Quote
  #10  
Old 17-10-08, 09:56 PM
CasN CasN is offline
Valued Users
Does My Family Know what I look Like?
dotProject Version: 2.1.2
php Version: 5.3
MySQL Version: 5.0
Operating System Version: Windows
Browser: IE 8
 
Join Date: 09-03-06
Posts: 163
Default Re: Gallery module

PDF will not be supported (is available tyhru the files module anyway) , additions will only be in additional image formats to be supported.
__________________
dotProject Version you are using (2.1.2)
MySQL Version (5)
PHP Version (5)
Operating System (Windows)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +10. The time now is 08:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.