2014-12-07, 18:15:16
(2014-12-06, 00:48:27)shawn_a Wrote: Bug, I cant get this to work.
Gallery named test
has 4 images in it
PHP Code:PHP NOTICE
Undefined offset: 0 in [web/dev/getsimple/develop/plugins/ExtraGallery/EGStorage.php:95]
Backtrace →
plugins/ExtraGallery.phpreturnFrontGallery("test","","0")
eval eg_return_gallery("test")
PHP WARNING
array_merge(): Argument #2 is not an array in [C:/bin/web/dev/getsimple/develop/plugins/ExtraGallery/EGStorage.php:95]
Backtrace →
•95 ExtraGallery/EGStorage.php array_merge(array("ty-mattson-breaking-bad-01.jpg","900","1082",array()),"")
26 plugins/ExtraGallery.php returnFrontGallery("test","","0")
5 plugins/sa_hook_components.php(74) : eval()'d codeeg_return_gallery("test")
Fixed, redownload plugin.
(2014-12-06, 00:58:33)shawn_a Wrote: also there is no preview for images, when selecting or in the gallery itself, you should add fancybox to these thumbs
There is only a thumb of image, no plans for adding any lighbox thing.
(2014-12-06, 01:33:07)shawn_a Wrote: sorry more stuff
paths seems wrong
GSDATAUPLOADPATH is data/uploads
And I have no idea where thumbs are being stored?
where is "ExtraGallery/thumbs/"
[0] → array•4 {
'filename' → str•38 'uploads/ty-mattson-breaking-bad-01.jpg'
'width' → int 900
'height' → int 1082
'thumb-0' → array•3 {
'filename' → str•20 'ExtraGallery/thumbs/'
'width' → NULL
'height' → NULL
}
}
[1] → array•4 {
'filename' → str•38 'uploads/ty-mattson-breaking-bad-02.jpg'
'width' → int 900
'height' → int 1082
'thumb-0' → array•3 {
'filename' → str•20 'ExtraGallery/thumbs/'
'width' → NULL
'height' → NULL
}
}
[2] → array•4 {
'filename' → str•38 'uploads/ty-mattson-breaking-bad-03.jpg'
'width' → int 900
'height' → int 1082
'thumb-0' → array•3 {
'filename' → str•20 'ExtraGallery/thumbs/'
'width' → NULL
'height' → NULL
EG_THUMBS doesn't even exist
'data/ExtraGallery/thumbs/'
str_replace(GSROOTPATH, '', GSDATAUPLOADPATH) gives me accurate paths
Path's are ok. Thumb and image path is in DATA dir. Redownload plugin, and check.
http://flexphperia.net - my portfolio