Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:02 pm EDT

Geeklog Forums

MediaGallery 1.5.2 feature request


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello everybody,

This is a topic to speak about the future of MediaGallery plugin.

MG is still a very complete plugin with a lot of features but maybe you need something more. So this is the good place to request it. But please, keep in mind, I need some time to discover all the MG's code... we can start by simple adds.

Here you will find a demo (beta release) of a php block for MG. Let me know if you find it usefull?

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

hfd

Forum User
Junior
Registered: 06/19/08
Posts: 16
Quote by: cordiste

Hello everybody,

This is a topic to speak about the future of MediaGallery plugin.

MG is still a very complete plugin with a lot of features but maybe you need something more. So this is the good place to request it. But please, keep in mind, I need some time to discover all the MG's code... we can start by simple adds.

Here you will find a demo (beta release) of a php block for MG. Let me know if you find it usefull?

::Ben


Hi Ben,

Wonderful work, I'm very interesting about it. I hope this block will be replace the media gallery index page soon.

I think you need to add couple tab more on the top MG menu like: Category, etc...

-when user click Category tab, this page will show "Photos, Video, Music and other Media " with sub album link.

-when user click the thumbnail and it take user to the view page with other media relate show up in the right side or in the bottom.

thanks.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello hfd

Thanks for the feedback.

-when user click Category tab, this page will show "Photos, Video, Music and other Media " with sub album link.
Yes it's a good feature, I will add it.

-when user click the thumbnail and it take user to the view page with other media relate show up in the right side or in the bottom.
Do you think we could found media relate with category ?

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818

Are you sure you want the code pasted here and not in a more suitable place?
 Quote

ironmax

Anonymous
Quote by: LWC

Quote by: cordiste

If we are talking about open source, can we see the code? I would like to learn.


Are you sure you want the code pasted here and not in a more suitable place?



LWC,

If you are going to quote something, please put the source thread. I do not see anywhere in this thread that Ben said what you actually quoted.

Text Formatted Code

Quote by: cordiste

If we are talking about open source, can we see the code? I would like to learn.
 


Michael

Edit: After searching the forums...I found this thread. http://www.geeklog.net/forum/viewtopic.php?showtopic=83952&mode=&show=5&page=5
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Ironmax, have you tried clicking on the word "cordiste" in the quote that you quoted? Well, since it obviously wasn't clear enough, I've edited my post now to link the whole sentence (originally I was afraid an autotag within an autotag within an autotag would cause problems).
 Quote

geeklog-fan

Anonymous
will it be necessary to install the caching template with the upcoming version? I've installed 1.6.1 with caching template library and you are speaking of 1.5.2, so I guess this is not the official version (which is shipped with glfusion)?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
@ LWC:

Sorry for the response delay. Yes you can show me the code where you want. Here, elsewhere, by email. Learning is always a pleasure.

@ geeklog-fan:

Last official release for Geeklog made by Mark was Media Gallery 1.5.1. I do not plan to make next release with C.T.L necessary. It will still be an option.



I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
I was thinking more about SVN.

Meanwhile, here's something which is more of a bug report. I reported it in Mark's forum but got no reply:

If I try uploading more than one transparent GIF (and I check don't convert to JPG), only the first image keeps its transparency.

Then, since it's not possible to replace non JPG files (but that's a feature request and not a bug), I have to delete the other files and re-upload them one by one (and, but this is also a feature request, it's also not possible to do so via non direct upload).

In other words, if I upload:
1) transparent_file1.gif
2) transparent_file2.gif
3) transparent_file3.gif
then only transparent_file1.gif maintains its transparency. In result I have to upload them one by one.

P.S.
There's a chance the same thing goes for animated GIF files, but I have't tested it.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
What is the last version of Media Gallery?

Is Media Gallery 1.5.1 just the last version that doesn't require the Caching Template Library?

Is Media Gallery 1.6.1 the latest that requires the Caching Template Library, if so where is it?
http://www.geeklog.fr/cms/wiki/doku.php/mediagallery:whatsnew#media_gallery_requires_the_caching_template_library


Why are we getting a new Media Gallery 1.5.2 instead of a 1.6.2?

One of the Geeklog Core Developers.
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Mark has answered this question on his website. The download for CTL-only versions of MG were only available from the gllabs.org website. He has since removed those versions as Cordiste is not going to support them. The MG was rolled back to 1.5.1. Are you asking Cordiste why he won't support the CTL-only version?
 Quote

Iam

Anonymous
Quote by: Laugh

What is the last version of Media Gallery?

Is Media Gallery 1.5.1 just the last version that doesn't require the Caching Template Library?

Is Media Gallery 1.6.1 the latest that requires the Caching Template Library, if so where is it?
http://www.geeklog.fr/cms/wiki/doku.php/mediagallery:whatsnew#media_gallery_requires_the_caching_template_library


Why are we getting a new Media Gallery 1.5.2 instead of a 1.6.2?



I guess MG 1.6.1 or 2, 3, 4 just for glFusion.

MG 1.5.1 or 2, 3, 4 and so on will be in Geeklog.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Yes, last available MediaGallery version for Geeklog is 924 so next one could be 1.5.2

And this version do not need CTL.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
I've wanted to remind you to upgrade swfobject.js, but reading again my last post, I think I should put my requests in a short list for easier reading:

1) Allow uploading more than one transparent (probably also animated) GIF at a time. Or at least officialy don't let it accept more than one such file at a time.
2) Allow replacing non JPG files.
3) Allow uploading non JPG files not directly (e.g. via FTP).

And a request I've forgotten to mention in the last post:
4) Allow uploading and replacing non JPG files for thumbnails.

Finally, here's a request which is a lower priority as it's probably harder to accomplish:
4) Allow replacing files not directly (e.g. via FTP). I suggest to use the standard upload menu but only allow one file plus fill up in advance the already known parameters (title, description, etc.).

I do have more advanced requests (like a template for remote FLV files instead of hardcoded embed link), but the aforementioned things must be taken care of first (except for 4) before brand new features are added.

Quote by: LWC

I was thinking more about SVN.


I still hope this time around it would be a group plugin and avoid the thus avoid current situation. I even already have Geeklog projects in SourceForge so it's not a big deal adding one more listing. But it's almost half a year later so I decided to come through with my patch for download.php (makes it possible to both open files and not just save them and save them their real name):
Text Formatted Code

// custom code - start
  $indirect_view = true;
  $undirect_mime_types = array('x-msdownload', 'vnd.ms-excel', 'octet-stream');
  $the_mime_types = explode("/", $mime_type);
  if (($the_mime_types[0] == 'image') || ($the_mime_types[0] == 'application' && !in_array($the_mime_types[1], $undirect_mime_types)))
     $indirect_view = false;
  if ($indirect_view) {
// custom code - end
    header("Pragma: public");
    header("Expires: 0");
    header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
    header("Cache-Control: private",false);
// custom code - start
  }
// custom code - end
    header("Content-type:" . $mime_type);
// custom code - start
  if ($indirect_view) {
// custom code - end
    header("Content-Disposition: attachment; filename=\"" . $filename . "\";");
    header("Content-Transfer-Encoding: binary");
// custom code - start
  } else
    header("Content-Disposition: inline; filename=\"" . $filename . "\";");
// custom code - end
 

If you add a global setting and a personal one, I can re-program it to take them into account.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
LWC,

Thanks for this.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 10:02 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content