Recommended Posts

Is there a planned release Date for the new Version with UIKit Admin Theme support?

I would like to buy the module, but without UIKit support I still have to wait ūüėȬ†

Share this post


Link to post
Share on other sites
5 hours ago, zoeck said:

Is there a planned release Date for the new Version with UIKit Admin Theme support?

I would like to buy the module, but without UIKit support I still have to wait ūüėȬ†

Hi @zoeck,

Thanks for your interest in Media Manager. I can't give a definite date but it will be in the autumn.

  • Like 2

Share this post


Link to post
Share on other sites

Hi, I recently bought the Mediamanager but I am not able to configure tagging of single media files properly. I followed the instructions on https://mediamanager.kongondo.com/documentation/getting-started/enabling-media-tags/ but no matter what option of tagging I choose ("User enters tags by text input", "User selects from list of predefined tags" or "User selects from list of predefined tags + can input their own") only the first option seems to work (entering text by myself). That is not very comfortable for the user and also kind of error prone. Are the other options just not implemented correctly or am I doing something wrong. Any help would be appreciated.

Share this post


Link to post
Share on other sites
19 minutes ago, ampersand83 said:

Hi, I recently bought the Mediamanager but I am not able to configure tagging of single media files properly.

Hi @ampersand83,

Many thanks for the purchase. Welcome to the forums as well :-).

Predefined tags in ProcessWire are relatively new. Updating Media Manager to include the feature is planned, although it may not make it in the next (soon) release.

Share this post


Link to post
Share on other sites

Just to clarify my post above, @ampersand83, my answer is in reference to bulk adding/editing tags. In the upcoming version, media will be edited in a modal in its original page. Hence, you will be able to use any tags input as normal.

Share this post


Link to post
Share on other sites
On 10/9/2018 at 12:21 PM, kongondo said:

Just to clarify my post above, @ampersand83, my answer is in reference to bulk adding/editing tags. In the upcoming version, media will be edited in a modal in its original page. Hence, you will be able to use any tags input as normal.

Thank you @kongondo  for your quick reply. That sounds nice. I really hope you will be able to release the new version this year. I'm looking forward to hopefully many improvements to that already nice module.

Share this post


Link to post
Share on other sites

Hi,

I'm new to Processwire. I've recently bought and installed Media Manager, and I have a couple of questions.

I've added Media Manager field as part of a fieldgroup which is placed in a Repeater field (for users to specify image sets for the masthead). There's a small bug in which closing the media manager Insert media dialog box will remove the new Repeater row that is added. It doesn't happen to regular images field. I've attached a video below for illustration purposes.

 

Also, is there a way to consolidate all the files under 1 directory? Most of the time we upload the files into 1 directory (example: assets/images ) and upload them through FTP and the content editors add in the files from the same directory.

 

 

 

Share this post


Link to post
Share on other sites

Hi @Nekorin,

On 11/7/2018 at 3:57 AM, Nekorin said:

I'm new to Processwire.

Welcome to ProcessWire and the forum ūüôā

On 11/7/2018 at 3:57 AM, Nekorin said:

I've recently bought and installed Media Manager

Many thanks for the purchase.

On 11/7/2018 at 3:57 AM, Nekorin said:

There's a small bug in which closing the media manager Insert media dialog box will remove the new Repeater row that is added.

Thanks for reporting this. I'll have a look. I couldn't see this happening in your illustration video though; must have missed it :-).

On 11/7/2018 at 3:57 AM, Nekorin said:

Also, is there a way to consolidate all the files under 1 directory? Most of the time we upload the files into 1 directory (example: assets/images ) and upload them through FTP and the content editors add in the files from the same directory.

I'm not sure I follow completely. You are able to FTP files into the directory /sites/assets/MediaManager/uploads/. You can then use the scan feature in the uploads dashboard to move the files to the Media Manager library. The main purpose of Media Manager is to create one large, central bucket for all your media. Content editors should then be able to pick any of the images in Media Manager to use in any page. Please let me know if I misunderstood your request.

Share this post


Link to post
Share on other sites
5 hours ago, kongondo said:

Thanks for reporting this. I'll have a look. I couldn't see this happening in your illustration video though; must have missed it :-).

Sorry that the previous video doesn't depict what I was doing correctly and might have caused some confusion. Below is a more accurate representation of what it is about. Basically whenever I add a new row and insert a media element with the media manager, upon closing the media manager dialog window, it 'erases' all the repeater/repeater_matrix rows for the entire page. I'll have to add back all the rows (it kind of makes it a bit annoying to use. Although I can get it to save in the end, I'll have to do it 25 times if the masthead carousel has 5 rotating images). 

 

There is a JS error too when I access media manager or add an image. 

image.thumb.png.9ae616177be72deeebb456fad963e7f1.png

 

5 hours ago, kongondo said:

I'm not sure I follow completely. You are able to FTP files into the directory /sites/assets/MediaManager/uploads/. You can then use the scan feature in the uploads dashboard to move the files to the Media Manager library. The main purpose of Media Manager is to create one large, central bucket for all your media. Content editors should then be able to pick any of the images in Media Manager to use in any page. Please let me know if I misunderstood your request.

Thanks for the tips. What i'm referring to is after scanning, each individual image is placed in its own separate folder with an id as the folder name. Is there any way to keep everything within a single folder after scanning? It is tedious to make changes to images, can't just ftp them in and see the changes reflected immediately on the frontend. 

Does scan have an overwrite existing files function?

Share this post


Link to post
Share on other sites

Hey @kongondo,

I just purchased your media manager module, thank you for providing it. As far as I can see it works, but it looks broken with AdminThemeUiKit. When I bought it I was expecting it to look like in the screenshots. Now I don't want to show it to the client like that. Do you have a V12-beta I can use?

Also when I upload mp4 videos I get an error saying "filetype not allowed", although mp4 is in the list of allowed extensions. Is this aknown error?

Share this post


Link to post
Share on other sites

Hi @Youbility,

First, please accept my apologies for not getting back to you earlier. I've had some serious computer issues that have set me back a couple of weeks. I hope to be back to 'normal' by the end of this week.

On 11/9/2018 at 11:40 AM, Youbility said:

I just purchased your media manager module, thank you for providing it

Many thanks for your purchase.

 

On 11/9/2018 at 11:40 AM, Youbility said:

When I bought it I was expecting it to look like in the screenshots.

I think you saw the screenshots for the upcoming beta version. Its release has now also been delayed (some unforseen bugs, etc). The current version is not compatible with UIKit. The beta version is not production ready too. 

 

On 11/9/2018 at 11:40 AM, Youbility said:

 Now I don't want to show it to the client like that. Do you have a V12-beta I can use?

This is totally understandable. How would you like to proceed? The beta version may not be out soon. If using an older admin theme, e.g. Reno, is out of the question, then the only option left is not to use Media Manager until the new version is out. I'm happy to offer a refund if you'd rather not wait for the new version. Please do let me know.

Thanks.

Share this post


Link to post
Share on other sites
On 11/9/2018 at 2:30 AM, Nekorin said:

a JS error too when I access media manager or add an image. 

Yes. This has been fixed in the upcoming version. The bug had to do with satisfying some ProcessLister requirement.

On 11/9/2018 at 2:30 AM, Nekorin said:

after scanning, each individual image is placed in its own separate folder with an id as the folder name.

Behind the scenes each image is a page in ProcessWire. That's why you see this. The ID is the id of the page with the media.

On 11/9/2018 at 2:30 AM, Nekorin said:

Is there any way to keep everything within a single folder after scanning?

Currently no, but sounds like an idea/feature request to consider. Maybe a checkbox or a pattern to detect if images should be kept together e.g. house-1.jpg, house-2.jpg, etc. The upcoming version of Media Manager allows to add images to an existing media page. 

On 11/9/2018 at 2:30 AM, Nekorin said:

ÔĽŅIt is tedious to make changes to images,

What sort of changes are these? Changing the images? Cropping? Other?

On 11/9/2018 at 2:30 AM, Nekorin said:

Does scan have an overwrite existingÔĽŅ files function?

No. I'll see if I can add this. Yes, it does. it respects your media manager settings. The settings apply across board. Sorry for the erroneous info.

Edited by kongondo
Misleading info

Share this post


Link to post
Share on other sites
On 11/9/2018 at 11:40 AM, Youbility said:

I get an error saying "filetype not allowed", although mp4 is in the list of allowed extensions. Is this aknown error?

That would only happen if the MIME type of the video is some other format not recognised by the system. Are you able to check the MIME type and let me know? If not, I can send you some code to help.

Share this post


Link to post
Share on other sites

Hello @kongondo

 

Our users are getting the error "Empty file upload result" when trying to upload images, documents etc...

649332669_Bildschirmfoto2018-11-29um10_07_19.thumb.png.8759fdf87a0f987cb7c7c3c6fe7aa04f.png

 

But the image still gets uploaded successfully.

424296831_Bildschirmfoto2018-11-29um10_08_05.png.a49778b335b0c1f221bd6e7b95728fed.png

 

 

After that i checked with Chrome dev tools the ajax response when uploading the placeholder image:

I get this error:

1630049281_Bildschirmfoto2018-11-29um10_22_44.thumb.png.86c9ec94b81d90ce5528c9198470c407.png

 

I searched for that page "peter-fractures-lac-37499" but only found the page "peter-fractures-lac". But it is a media manager audio page.

378183065_Bildschirmfoto2018-11-29um10_36_10.thumb.png.299585fb3491131424e33aae86548a2d.png

 

It looks like the module is trying to create a new mm-audio page called "peter-fractures-lac" but since there is already a page with the same name this error happens.

But the question is why is he trying to create a audio page when I am uploading an image?

 

Processwire Version: 2.7.3 dev

MediaManager Version: 0.0.9

JqueryFileUpload Version: 0.0.2

PHP-Version: 7.0.32

 

Kind Regards

Orkun

Share this post


Link to post
Share on other sites

Hi @Orkun,

You say this is happening with all media types you try to upload? That's strange. I think I've experienced this once when Media Manager was not installed properly and every created child (media page) was heading to the first available media parent, and that happens to be 'Audio'. 

  • Is this a fresh install? Or has Media Manager on that site been working OK previously?
  • Is it possible to have a copy of the images and any non-sensitive documents you are trying to upload so that I can debug?
  • Clearing cache several times and deleting the offending¬†
  • Is reinstalling Media Manager and option? Does that help? Any errors?
  • We've previously had a similar problem with Imagick but I'm not sure whether that's the case.
By the way, JqueryFileUpload Version: 0.0.2 is a bit outdated :-). Grab the latest version if you can.
 
Thanks.

Share this post


Link to post
Share on other sites

Hi @kongondo

Sorry for my late answer. I could resolve the issue with renaming the audio pagename from "peter-fractures-lac" to "peter-fractures-lac-old" after I have done that somehow a new page was generated automatically called "peter-fractures-lac" with the same audio file like the "old" page ("peter-fractures-lac-old"). From now on I could upload images documents etc... and it worked fine. The Error "Empty file upload result" doesn't come anymore. I also removed now the new generated audio page and renamed "peter-fractures-lac-old" back to "peter-fractures-lac" and everything still works fine. Very strange behavior.

Quote

Is this a fresh install? Or has Media Manager on that site been working OK previously?

- It was working OK previously

 

Quote

By the way, JqueryFileUpload Version: 0.0.2 is a bit outdated :-). Grab the latest version if you can.

I upgraded to 0.0.6 now. Thanks.

 

Kind Regards
Orkun

  • Like 1

Share this post


Link to post
Share on other sites

Hi @kongondo,

I have a proposal for a future version of MediaManager: There are other CMS, where you can preset a internal or external link for each media object. Would this be a useful feature in MediaManager, too?

Greetings,

Thomas.

Share this post


Link to post
Share on other sites
1 hour ago, xportde said:

There are other CMS, where you can preset a internal or external link for each media object. Would this be a useful feature in MediaManager, too?

Hi @xportde,

It would be and it doesn't need to wait for the future. It is already here ūüôā. With the new version (announcement imminent), you can add as many fields as you want to your respective Media Manager templates. Let's say you want a URL for your images. All you would need is to:

  1. Add a URL field (in this example, called link) to the Media Manager image template (media-manager-image). 
  2. If not accessing your Media Manager Library directly, create a Media Manager Field (let's call it albums) and add it to your page's template, say basic-page. In the Media Manager Field (albums) settings, enable 'Allow users to edit selected media'. 
  3. Edit a page using basic-page template.
  4. Add images to the field 
  5. Hover over an image and click the Edit link. 
  6. Edit your link field to add your URL. 
  7. In your template file, you can access your URL like this:

 

$albums = $page->albums;
$out = '<div>';
$out .= $albums->each(function($m) {
    if($m->typeLabel !='image') return;
    $thumb = $m->media->height(260);
    $img = "<img src='{$thumb->url}' alt='{$m->media->description}' height='130'>";
    $o = "<div><a href='$m->links'>$img</a></div>";
    return $o;
  });
$out .= '</div>';

// OR: Using foreach
/*
$out = '<div>';
foreach ($albums as $a) {
    if($m->typeLabel !='image') return;
    $thumb = $m->media->height(260);
    $img = "<img src='{$thumb->url}' alt='{$m->media->description}' height='130'>";
    $out .= "<div><a href='$m->links'>$img</a></div>";
    $out .= $m->body;
}

$out .= '</div>';
*/
echo $out;

 

And that's it. Any field you add to your Media Manager template is available as $m->name_of_field, where $m is an instance of MediaManager field as per the example above. More examples in my next (eventual) post(s).

I tried to make a video, or an animated GIF, even a simple screen capture to show you what I mean but everything failed! Lots of artefacts, etc. I've recently moved to Linux, so still finding my way round. 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Robin S
      Another little admin helper module...
      Template Field Widths
      Adds a "Field widths" field to Edit Template that allows you to quickly set the widths of inputfields in the template.

      Why?
      When setting up a new template or trying out different field layouts I find it a bit slow and tedious to have to open each field individually in a modal just to set the width. This module speeds up the process.
      Installation
      Install the Template Field Widths module.
      Config options
      You can set the default presentation of the "Field widths" field to collapsed or open. You can choose Name or Label as the primary identifier shown for the field. The unchosen alternative will become the title attribute shown on hover. You can choose to show the original field width next to the template context field width.  
      https://github.com/Toutouwai/TemplateFieldWidths
      https://modules.processwire.com/modules/template-field-widths/
    • By horst
      Croppable Image 3
      for PW 3.0.20+
      Module Version 1.1.16
      Sponsored by http://dreikon.de/, many thanks Timo & Niko!
      You can get it in the modules directory!
      Please refer to the readme on github for instructions.
       
      -------------------------------------------------------------------------
       
      Updating from prior versions:
       
      Updating from Croppable Image 3 with versions prior to 1.1.7, please do this as a one time step:
      In the PW Admin, go to side -> modules -> new, use "install via ClassName" and use CroppableImage3 for the Module Class Name. This will update your existing CroppableImage3 module sub directory, even if it is called a new install. After that, the module will be recogniced by the PW updater module, what makes it a lot easier on further updates.
      -------------------------------------------------------------------------
       
      For updating from the legacy Thumbnail / CropImage to CroppableImage3 read on here.
       
      -------------------------------------------------------------------------
       
    • By MoritzLost
      UPDATE: I have published a stable version of this module!
      Discussion thread:
      Github: https://github.com/MoritzLost/TextformatterPageTitleLinks
      ---
      Hello there,
      I'm working on a tiny textformatter module that searches the text for titles of other pages on your site and creates hyperlinks to them. I'm not sure if something like this exists already, but I haven't found anything in the module directory, so I wrote my own solution ūüôā
      It's not properly tested yet and is still missing some functionality I would like to implement, so at the moment it should be considered in BETA. Features include limiting the pages that will get searched by template, and adding a custom CSS class to the generated hyperlinks. As I'm writing this I noticed that it will probably include unpublished and hidden pages at the moment, so yeah ... it's still in development alright ūüėÖ
      You can download the module from Github:
      https://github.com/MoritzLost/TextformatterPageTitleLinks
      There's some more information in the readme as well.
      Anyway, let me know what you think! I'm happy about any feedback, possible improvements or ideas on how to improve the module. Cheers.
    • By blad
      Hi guys!
      I just uploaded a module to explore files based on elFinder. By default it will show the "Files" folder.
      Screenshots:

      Video:
       
      To do:
       More options To fix:
       The function of rotating or scaling an image fails  Image editors V 1.01 (view issue)
      Fixed the bug working with the Multi-Language support ( translation of folders ). Fixed the name of elfinder.en  Github:
      https://github.com/LuisSantiago/ProcessElFinder/
      I hope you like it.
    • By BitPoet
      I'm really in love with FormBuilder, but the one thing missing to match all my end users' expectations were repeatable field groups. Think repeaters, in ProcessWire terms. Our primary application of PW is our corporate intranet, so "lines" of fields are quite common in the forms I build. We have all kinds of request forms where the information for a varying number of colleagues needs to be entered (from meal order to flight booking request) and where it is simply impractical to send a form for each, and I don't want to clutter my forms with multiple instances of fields that may only get used ten percent of the time.
      That's why I started to build FormBuilderMultiplier (link to GitHub).
      What it does:
      Adds an option to make a regular Fieldgroup repeatable Lets you limit the number of instances of a Fieldgroup on the form Adds an "Add row" button the form that adds another instance of the Fieldgroup's fields Adds a counter suffix at the end of every affected field's label Stores the entered values just like regular fields Makes the entered values available in preview and email notifications Supports most text based fields, textareas and selects (really, I haven't had enough time to test all the available choices yet) What it doesn't do (yet):
      Support saving to ProcessWire pages (i.e. real Repeaters) I haven't tested all the validation stuff, Date/Time inputs etc. yet, but since I'm utterly swamped with other stuff at work, I didn't want to wait until I have it polished. Any feedback is welcome. There might also be some issues with different output frameworks that I haven't encountered yet. The forms I work with mostly use UIKit.
      Status:
      Still alpha, so test well before using it in the field.
      Known issues:
      When rows are added, the form's iframe needs to be resized, which isn't completely clean yet.
      How it works:
      The Fieldgroup settings are added through regular hooks, as is the logic that adds the necessary field copies for processing the form and displaying previews.
      "Multiplied" field instances are suffixed with _NUM, where NUM is an incremental integer starting from 1. So if you have add two fields named "surname" and "givenname" to a fieldgroup and check the "multiply" checkbox, the form will initially have "surname_1" and "givenname_1" field (I'm still considering changing that to make the risk to shoot oneself into the foot by having a regular "surname_1" field somewhere else in the form less likely).
      When a "row" is added, the first row is cloned through JS and the counter in the fields' IDs, names and "for" attributes as well as the counter in the label are incremented before appending the copies to the Fieldset container in the form.
      To keep backend and frontend in sync, a hidden field named [name of the fieldset]__multiplier_rows is added to the form. Both the backend and the frontend script use this to store and retrieve the number of "rows".
      ToDo:
      Naturally, add the option to store the data in real repeaters when saving to pages. Do a lot of testing (and likely fixing). Make a few things (like the "Add row" button label etc.) configurable in field(set) context. Add a smooth API to retrieve the multiplied values as WireArrays. The mandatory moving screenshot: