Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[NEW PLUGINS] GalleryManager and GalleryManagerGD v1

Quote Reply
[NEW PLUGINS] GalleryManager and GalleryManagerGD v1
Hi,

I thought I would just post these 2 plugins in one thread - as they are both the same, except one uses Image:: Magick, and the other uses GD (and Image::Resize).

Description:

This plugin lets your users upload images via gallery.cgi, for their links. This is aimed more for "Classified" / "Rentals" etc types of sites, where your users want to upload images for their listing. It lets them set a "default" image, which can be shown on the detailed page. It also lets you show ALL the images on the detailed page, in a 3 column table.

Price:

$80 GalleryManager || GalleryManagerGD

Part of the ULTRA Package PRO [ view all plugins ]

Requirements:

GalleryManagerGD

  • Gossamer Links 3.0.4+
  • Image::Resize module
  • GD module

GalleryManager

  • Gossamer Links 3.0.4+
  • Image::Magick module

Features:


  • Auto-thumbnailing of images uploaded by users
  • You can show ALL the links images on the detailed page (in a table), or link them to the gallery_view.cgi script - where they can view the gallery.
  • Easily customizable
  • Admin setting, so you can limit the number of images per link allowed
  • Users can delete image
  • Users can set any image for their link as the "default" one
  • You can specify a maximum file size allowed for images.
  • Uses Lightbox.

Demo:

To manage the images for a link, you would go here
http://gossamerlinks.com/cgi-bin/content/gallery.cgi (test login: test/test)


To view the images for a link on the detailed page, here is an example: http://gossamerlinks.com/cgi-bin/content/page.cgi?g=Detailed%2F1.html;d=1

From the detailed page, you would be linked to a page like so:
http://gossamerlinks.com/cgi-bin/content/gallery_view.cgi?LinkID=1;d=1


Screenshots:

Here:

http://www.ultranerds.com/...GalleryManager_L246/


If you have any questions, please don't hesitate to ask.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Jun 29, 2009, 12:07 PM
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

Version 1.1 is now in the Members Area.

This includes:

1) The option for you to set the maximum size you want of the thumbnail image (i.e 150 x 150)
2) A "Cleanup" function, which re-creates all of the thumbnails for you (in case you want to change the size of the thumbnails, or if some thumbnails are lost/deleted for some reason - and you need to re-create them)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

Version 1.2 is now available from the Members Area.

This includes the ability to "edit" your images details (not the image itself, but the Description and Title).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
This function is very useful, thank you Andy. Smile

Just for information, the "gallery_manage_link.html" file for the version GD is not updated (it misses the edit link).

Thanks,

Mick
Quote Reply
Re: [Oyo] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

Quote:
Just for information, the "gallery_manage_link.html" file for the version GD is not updated (it misses the edit link).

Whoops, All fixed up (in the new version, same version number though =))

I also found some code at the bottom of the templates, related to my Affiliate plugin (must have slipped in somehow) . I've got rid of that too =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

I've just released version 1.3 of GalleryManager.

This version has a new cool Slideshow feature. Once a few people have tested it, and made sure it works fine - then I will roll the new version out for GalleryManagerGD. Its all been tested my end - but if there are any bugs, I don't wanna have to update more than once :D

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

I've gone ahead and just released version 1.3 anyway for GalleryManagerGD - hopefully there are no bugs in the new feature I didn't spot Angelic

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi Andy,

The use of "error_message" does not seem to work :

<%if error_message%>
<%error_message%>
<%endif%>

...on gallery_manage_link.html or gallery_manage_edit.html.

You to confirm ?

Thanks,

Mick

Quote Reply
Re: [MJ_] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

Please do a <%GT::Template::dump%> - is there an <%error%> tag on that list? Could be a typo in the template.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
  
Oops! excuse me !

I did not think of using <%error%>

You think that it is possible to add values in Edit Language ?

Thanks, Mick
Quote Reply
Re: [MJ_] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

The error messages from GalleryManager? Could do, but it takes a little while to do, as you have to add the install codes, and also change all the error messages in the script. Maybe in the next version Smile

In the mean time, just look through gallery.cgi, gallery_view.cgi and /admin/Plugins/GalleryManager.pm, and translate how you want :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi Andy,

> The error messages from GalleryManager?
Yes,

> in Maybe in the next version.
There is an update envisaged ?

If I can suggest an option. It would be great to convert automatically the characters spaces in the file name. Smile

Mick

Last edited by:

MJ_: Jun 26, 2009, 5:46 AM
Quote Reply
Re: [MJ_] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

I'll try and fit it in, once things quieten down here :) (still pretty manic work wise at the moment) - but I'll do my best Smile

Quote:
If I can suggest an option. It would be great to convert automatically the characters spaces in the file name.

I'll see what I can do. From memory, when GT::SQL::File actually does the upload, it doesn't have any way of "editing" the name of the file that gets uploaded, so you have to do this manually - and it can be a little tricky :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

Version 1.5 for both GalleryManager and GalleryManagerGD are now available from our Members Area.

These both include the following features:

1) All the messages are now held in language.txt - so you can edit them via Build > User Language > GALLERY_
2) It doesn't only accept a-z0-9 charachters now. You can use foreign charachters (such as ê è ë Ï Ì Î ï ì î Ö Ô Ò ö ô ò Ü Û Ù ü û , and a ton more =)) - they now get converted to normal charachters - which stops the issues that existed previously (which is why the limit was in place)

Mick has tested these new versions for me, and as far as he can tell - there are no issues with the new feautures.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

I've just been alerted to a bug, where when using GetDefaultImage(), it was passing back <%Username%> with the value of the user who actually added the last link found.

To fix this, please update to 1.5.1 (just uploaded it), or in /admin/Plugins/GalleryManager.pm, find:

Code:
delete $image->{ID};

...and add this below it:

Code:
delete $image->{Username};

That should sort it Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi Andy,

Installed this plugin for the first time (my other site has direct file upload) and have encountered this problem:

Error: Exception 420: no encode delegate for this image format `/home/consulto/public_html/xxxxxxx.com/amarillas/images/gallery/9/9-800.jpg.tmp' @ constitute.c/WriteImage/11111

Its the Gallery manager. Not the GD. The GD doesnt want to work and get all kinds of errors. (Another plugin of yours works fine with GD)

Any idea why Im getting this error?

As always, thanks.

JC
Quote Reply
Re: [Gorospe] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

So its GalleryManagerGD that gives this error? Having a qucik look on google, I come up with this:

http://www.mail-archive.com/...ck.org/msg00746.html

What format is the image you were trying to upload? Also, what happens when you try other images in the same format, and also other formats?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi Andy,

Image Gallery GD doesnt work at all.
So Im working with Image Gallery,
Jpg or gif dont wok.
It does upload, but it doesnt shrink or resize.
doesnt link to the pic either.
Quote Reply
Re: [Gorospe] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Mmm

Which other plugins (GD ones) are you using of mine?

If you send over GLinks+FTP details, I'll take a look for ya.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] [NEW PLUGINS] GallerYManager and GalleryManagerGD v1 In reply to
Hi,

I'm not sure how this bug was never found , but there was a bug in the "view default gallery image" for link.html/detailed.html.

For anyone using the plugin, please open up /Plugins/GalleryManager.pm (or GalleryManagerGD.pm, if you are using that version)... and find:

Code:
return '';

..change this to:

Code:
return { Image => undef };

I've released version 1.5.2, which fixes this bug up.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!