Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extra Gallery
#1
Extra Gallery

Description, screenshots and download: click here
http://flexphperia.net - my portfolio
Reply
#2
Give an example of the code for the theme, I am not strong in php.
Reply
#3
(2014-10-06, 06:22:17)Oleg06 Wrote: Give an example of the code for the theme, I am not strong in php.

It depends on the structure of your site and so on.
Simply, just iterate over returned array from eg_return_gallery function.
Check plugin description "Accessing galleries in your theme" section to see structure of array.
http://flexphperia.net - my portfolio
Reply
#4
Thanks, mganko, for providing this plugin.

A very basic question from me as a GetSimple learner: How to include the gallery into a site, for example "photos"? Do I need to create a link to the xml file with the related gallery? I have not understood yet how it can be realized.

Thanks for your support,
Pir
Reply
#5
A great looking back end, but like the others said, how do we include the generated galleries in a page?
We don't all know how to code in php so we could do with a (% gallery_title %) type thing, where we just have to replace "title" with the name we gave it when creating it.
Reply
#6
If you want to use it in a page, do you need DynPages plugin?

Can you put an example screenshot of a generated gallery on a page?
Reply
#7
This gallery is only backend plugin.
It returns gallery in raw format, for front-end, something like list of images. There are none built in auto generating gallery functions.
If you have PHP coding knowledge you can use it on any site. I have used it here for example: http://www.giraudo-design.com/en/projekty
http://flexphperia.net - my portfolio
Reply
#8
Hi mganko, can I ask if you plan some improvements? like:
1. select all pictures in folder by one click
2. i18n support
3. short gallery description (also in i18n)
Reply
#9
(2014-10-31, 19:26:13)morvy Wrote: Hi mganko, can I ask if you plan some improvements? like:
1. select all pictures in folder by one click
2. i18n support
3. short gallery description (also in i18n)

In future versions I will include selecting all files by one click.
Short gallery description originally was there but I removed it before release. I'm using custom page with fields: gallery name and gallery description to display gallery images.
What do you mean with "i18n support"?
http://flexphperia.net - my portfolio
Reply
#10
well, now there is only Title, Name and images .. maybe I'm just without needed imagination, but how can I create multilanguage page for Gallery, where I have multiple albums with title in EN, switch to DE and I have DE titles (album name remains the "default") and after opening I will have optional short description in specified language ..
Reply
#11
(2014-10-31, 20:22:42)morvy Wrote: well, now there is only Title, Name and images .. maybe I'm just without needed imagination, but how can I create multilanguage page for Gallery, where I have multiple albums with title in EN, switch to DE and I have DE titles (album name remains the "default") and after opening I will have optional short description in specified language ..

Try to use i18n special pages plugin to create pages with field "description" that you use for gallery description.
Create localized versions of that page and when you using "eg_return_gallery" function in page template pass page current language as second parameter.
http://flexphperia.net - my portfolio
Reply
#12
Hi,

it looks to be a great Plugin (Extra Gallery).

But I am a GS newbie and even if I perfectly installed the plugin in the GS and already created the gallery named 'press' I do not know how to add the needed created gallery in a page.

Sincerely thanks to help me please.

Have a nice day,

Miguipda ;-)
Reply
#13
(2014-11-15, 23:22:24)miguipda Wrote: Hi,

it looks to be a great Plugin (Extra Gallery).

But I am a GS newbie and even if I perfectly installed the plugin in the GS and already created the gallery named 'press' I do not know how to add the needed created gallery in a page.

Sincerely thanks to help me please.

Have a nice day,

Miguipda ;-)

This gallery is only backend plugin.
It returns gallery in raw format, for front-end, something like list of images. There are none built in auto generating gallery functions.
http://flexphperia.net - my portfolio
Reply
#14
bug

$imagesTable.on('click', '.eg-button.position -->,<-- ', function(event){

remove that comma, it chokes some jquery versions
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#15
Also your hovers for delete and secondaries all have the same color reddish.
You should use the secondary classes in core that we use for delete and view links in pages.

Also you have crop , you can just queue jcrop in core since we already have it
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#16
(2014-11-17, 01:37:05)shawn_a Wrote: bug

$imagesTable.on('click', '.eg-button.position -->,<-- ', function(event){

remove that comma, it chokes some jquery versions

Fixed.
http://flexphperia.net - my portfolio
Reply
#17
(2014-10-28, 00:33:45)mganko Wrote: This gallery is only backend plugin.
It returns gallery in raw format, for front-end, something like list of images. There are none built in auto generating gallery functions.
If you have PHP coding knowledge you can use it on any site. I have used it here for example: http://www.giraudo-design.com/en/projekty

Just want to say that I think the name (and description) of the plugin is not very clear on it's usage target. Most people would expect another general gallery plugin.

Btw. I don't want to sound too negative, I do find it a very interesting plugin.
Reply
#18
Hello, plugin config looks nice but when I put
Code:
eg_return_gallery($name = null, $language = null, $instanceNum = 0)
in template, nothing is shown. What am I doing wrong?
Reply
#19
(2014-12-05, 07:42:42)datiswous Wrote: Hello, plugin config looks nice but when I put
Code:
eg_return_gallery($name = null, $language = null, $instanceNum = 0)
in template, nothing is shown. What am I doing wrong?

To return gallery array use function call:
PHP Code:
print_r(eg_return_gallery()); // Return associative array 
or
PHP Code:
eg_return_gallery('name your gallery here'); 
Reply
#20
I find it confusing that the "name" field is the edit link.
You should add a specific edit link, or make the first column the link.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#21
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") 
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#22
also there is no preview for images, when selecting or in the gallery itself, you should add fancybox to these thumbs
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#23
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
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#24
(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
Reply
#25
Hi!
There are two files for language translations. en.php & pl.php.
I will translate this to swedish. But I don't understand how to switch language so that the gallery admin is in the language I want - in this case swedish.
Where do I do that?

Second question:
How do I change UI in the wysiwyg editor for the custom fields?
How do customize so that for example the image button isn't in the editor?

Nice plugin!
Best, Niklas
Reply




Users browsing this thread: 2 Guest(s)