Image Gallery Plugin

@crob611

Sorry I’m just learning. Today, I am afraid to take such responsibilit.

You can see work plugin. I use here http://razberito.ru/t/miss-razberito-fotoraboty-uchastnicz/221

3 Likes

Just a question!! does it support rolling over images( going from one image to another) in a image gallery?

I couldnt see feature at http://razberito.ru/t/miss-razberito-fotoraboty-uchastnicz/221

Note @Aman_Jagga #plugin:broken-plugin means it is a broken plugin.

So as it stands it supports absolutely nothing, including rolling over images :slight_smile:

@sam Is there an alternative plugin or already built in feature that will allow for multiple images without showing the full image?

Not that I am aware of.

@sam forgot to mention I was talking about the plugin forked from the original plugin by @chasovoy85

I’m looking for an update on this. It looks to be exactly what I need.
Can anyone point me to a fork that works with 1.8.0?

Seems like neither @crob611 nor @chasovoy85 is available to maintain this any longer. Your best option would be the #marketplace: Commission someone to fork & update this plugin or make a new one from scratch.

I’m going to try and get this updated soon. Finally have some free time to poke around and figure out how the ecosystem has changed. Thanks for bringing it up again.

8 Likes

Cheers. Go ahead and ask questions in #dev if you get stuck! Discourse changes pretty fast :wink:

4 Likes

That would be terrific! Let me know if you need a tester.

Alright, I think I’ve got it working with the most up to date Discourse.

Works great for me locally, but we all know how that goes. If anyone wants to test on a more production ready install, let me know how it works.

*Note, the bbcode has changed. Now it’s just [gallery]...[\gallery] instead of [image-gallery]

Also, great work by Discourse team. Writing a plugin is much nicer than when I first built this a few years ago.

8 Likes

Thank you very much for your effort!
I tried inserting your url in app.yml but when I rebuild I get this:
Do I need to use a different installation method?

FAILED

Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake assets:precompile’ failed with return #<Process::Status: pid 3251 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn’
exec failed with the params {“cd”=>"$home", “hook”=>“bundle_exec”, “cmd”=>[“su discourse -c ‘bundle install --deployment --verbose --without test --without development’”, “su discourse -c ‘bundle exec rake db:migrate’”, “su discourse -c ‘bundle exec rake assets:precompile’”]}
9b43c79182a2b82926f57d90f1b6ef6ed18ec926f22bc0525ac262efd2379c6b
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Given that @crob611 just fixed this moving it back into #plugin category! @alehman that is not enough information to debug your problem.

*** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one*

1 Like

Thanks @sam. Here is some stuff I found immediately above that looks to be related to an error:

Compressing: plugin-third-party-17fbc6e1ac9c7ff5598051f1a25781b99582a65a51a50abc1dbaf94c747ca849.js
uglifyjs '/var/www/discourse/public/assets/_plugin-third-party-17fbc6e1ac9c7ff5598051f1a25781b99582a65a51a50abc1dbaf94c747ca849.js' -p relative -c -m -o '/var/www/discourse/public/assets/plugin-third-party-17fbc6e1ac9c7ff5598051f1a25781b99582a65a51a50abc1dbaf94c747ca849.js' --source-map-root '/assets' --source-map '/var/www/discourse/public/assets/plugin-third-party-17fbc6e1ac9c7ff5598051f1a25781b99582a65a51a50abc1dbaf94c747ca849.js.map' --source-map-url '/assets/plugin-third-party-17fbc6e1ac9c7ff5598051f1a25781b99582a65a51a50abc1dbaf94c747ca849.js.map'
Parse error at _plugin-third-party-17fbc6e1ac9c7ff5598051f1a25781b99582a65a51a50abc1dbaf94c747ca849.js:16,23
SyntaxError: Unexpected token: punc ())
Error
    at new JS_Parse_Error (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1547:18)
    at js_error (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1555:11)
    at croak (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2094:9)
    at token_error (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2102:9)
    at unexpected (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2108:9)
    at expr_atom (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2623:13)
    at maybe_unary (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2797:19)
    at expr_ops (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2832:24)
    at maybe_conditional (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2837:20)
    at maybe_assign (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2861:20)
I, [2017-03-28T03:31:01.250852 #15]  INFO -- : Purging temp files
Bundling assets
Compressing Javascript and Generating Source Maps

I, [2017-03-28T03:31:01.253264 #15]  INFO -- : Terminating async processes
I, [2017-03-28T03:31:01.253723 #15]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 44
2017-03-28 03:31:01 UTC [44-2] LOG:  received fast shutdown request
2017-03-28 03:31:01 UTC [44-3] LOG:  aborting any active transactions
2017-03-28 03:31:01 UTC [51-2] LOG:  autovacuum launcher shutting down
I, [2017-03-28T03:31:01.259509 #15]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 157
157:signal-handler (1490671861) Received SIGTERM scheduling shutdown...
2017-03-28 03:31:01 UTC [48-1] LOG:  shutting down
2017-03-28 03:31:01 UTC [48-2] LOG:  database system is shut down
157:M 28 Mar 03:31:01.351 # User requested shutdown...
157:M 28 Mar 03:31:01.352 * Saving the final RDB snapshot before exiting.
157:M 28 Mar 03:31:01.390 * DB saved on disk
157:M 28 Mar 03:31:01.391 # Redis is now ready to exit, bye bye...
2 Likes

rebuilding mine failed in a different bit

Parse error at _plugin-third-party-2ace7cb81b2e488aa9c4b719979ac00ca2a9b7a4dcd63074889c524b336f53b7.js:16263,23
SyntaxError: Unexpected token: punc ())
Error
at new JS_Parse_Error (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1547:18)
at js_error (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1555:11)
at croak (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2094:9)
at token_error (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2102:9)
at unexpected (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2108:9)
at expr_atom (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2623:13)
at maybe_unary (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2797:19)
at expr_ops (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2832:24)
at maybe_conditional (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2837:20)
at maybe_assign (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2861:20)
at expression (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2880:20)
at expr_atom (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2613:26)

Hello,
Is anybody using this plugin with current latest Discourse source?

2 Likes

Hi @crob611 Do you continue developt this plugin, because when we install plugin we get same error :frowning:

2 Likes

This plugin is broken in the latest version?

Yes, definitely broken on latest, needs to be updated to the new markdown engine.

4 Likes