![]() |
|
|
|||||||
| Register | FAQ | Top 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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) |
|
#2
|
||||
|
||||
|
Quote:
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 |
|
#3
|
|||
|
|||
|
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) |
|
#4
|
|||
|
|||
|
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) |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
|||
|
|||
|
add in the beginning of index.php the line
Code:
include_once("./modules/gallery/gallery.class.php");
__________________
dotProject Version you are using (2.1.2) MySQL Version (5) PHP Version (5) Operating System (Windows) |
|
#7
|
||||
|
||||
|
Quote:
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 |
|
#8
|
|||
|
|||
|
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) |
|
#9
|
||||
|
||||
|
Quote:
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 |
|
#10
|
|||
|
|||
|
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) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|