I have posted my first plugin for Piwigo – gdThumb.
Apply card style to album or image thumbs.
Plugin was inspired by GThumb+ but adds new options:
- Apply style to album or image thumbs or both
- Thumbnails max height
- Margin between thumbnails
- Number of photos per page
- Double the size of the first thumbnail
- Cache the big thumbnails (recommended)
- Scale thumbnails: resize/crop/square
- Title Display Mode: Overlay Top/Overlay Top (Static)/Overlay Bottom/Overlay Bottom (Static)/Hide
- Meta Data Display Mode
12 Comments
Chris · Aug 21, 2014 at 18:12
Crashed my gallery with a big smarty debug console window…
Using your theme and disabled GThumb+ before enabling yours
Chris · Aug 21, 2014 at 18:15
This is in the error box as soon as I enable the plugin and then click to configure it.
http://pastebin.com/wicVfmEM
Serguei Dosyukov · Aug 21, 2014 at 19:33
Thank you for reporting it. Issue was with plugin settings being not initialized on first run. I have uploaded new version to address it. Also Smarty’s debug window is now suppressed
Chris · Aug 21, 2014 at 20:08
No error window any more…
But no images at all when I hit the gallery… it’s completely blank… with stock theme or your GD theme.
http://2000transam.com/gallery
Chris · Aug 21, 2014 at 20:09
I apparently have a conflicting plugin… it’s working now.
Serguei Dosyukov · Aug 21, 2014 at 20:11
Which plugin if I may ask?
Chris · Aug 21, 2014 at 20:36
It wouldn’t let me reply any further down in our discussion… conflicting plugin is PWG Stuffs
http://piwigo.org/ext/extension_view.php?eid=190
Serguei Dosyukov · Aug 22, 2014 at 11:45
I am curious what may conflict with it
if I have time later, I will investigate
Neil · Aug 22, 2014 at 10:09
Installs and runs without error. Great work. Thanks.
Neil · Aug 22, 2014 at 12:52
Error message – gdThumb with these settings:
Apply to album thumbs: Checked
Apply to image thumbs: Checked
Thumbnails max height: 300 px
Margin between thumbnails: 20 px
Number of photos per page: 12
Double the size of the first thumbnail: Unchecked
Cache the big thumbnails (recommended): Checked
Scale thumbnails: Unchecked
Title Display Mode (Album): Overlay Top
Title Display Mode (Photo): Overlay Top
Meta Data Display Mode: Hide
On ‘Submit’ I receive this error message:
Notice: Undefined index: method in /public_html/piwigo/plugins/GDThumb/admin.php on line 94
Warning: Cannot modify header information – headers already sent by (output started at /public_html/piwigo/plugins/GDThumb/admin.php:94) in /public_html/piwigo/include/page_header.php on line 101
Neil · Aug 22, 2014 at 12:57
Meant to add that the error above only occurs when I uncheck ‘Scale thumbnail’.
Serguei Dosyukov · Aug 22, 2014 at 22:05
Fixed in 1.0.2 – new version has been posted