Search the Community
Showing results for tags 'mediahub'.
-
Hello! That’s me and that’s MediaHub I’m pointing vaguely to. 🙂 So, it looks like another promising module has entered the Bermuda Triangle. Despite lots of initial energy and exciting updates, we now have silence and a little head scratching. I sincerely hope the developer is OK if the reasons for their disappearance is personal. But It did remind me of an insight someone shared with me recently and specifically in relation to MediaHub (which is not going away). He said people and agencies have been burned before with modules, and there is a reluctance to use something that could be abandoned. Understandably, that experience has made them cautious about embracing anything new. If an agencey or client site depends on a module, could it end up with no development, no support, no documentation and worse still, no security patches. Again, I'm not being judgemental. Life can take over. But what I did want to say is that MediaHub and I (touches wood) have no plans to enter the Bermuda Triangle of module development. In case that was a barrier to you. It's in active development. I'm supporting customers, working on improvements and listening to people. Do I ship updates as often as I'd like, or spend as much time on it as I'd like? Of course not. And if anything were to happen that meant I could no longer be part of the community or do the job I love, the project would be handed over to one or more trusted developers. So, finally, to the point: our work is too important to me to disappear with no answers. I can't guarantee or see the future, but MediaHub is very much alive. I've been self employed and doing this for probably 26 or 27 years. I'm hoping to be doing this for a good few more at least. If you want to come along with me and MediaHub for some of those years, we would very much like to help you and your clients' sites with media and asset management. So hit me up, DM me or tell me here. What would you need to see to feel confident trying it? Cheers, Peter PS On a side note, MediaHub is a monster of a project. A much much larger and more complicated Module than I ever imagined. When I somewhat naively started putting it together, I had no idea how many aspects of ProcessWire functionality it would have to work with. Stuff I hadn't even considered. That's probably another whole essay, but suffice to say, I've put far too much personal time, professional time, and real money, into it to not continue. If that helps close your doubts, great.
-
Introducing MediaHub AI - the next MediaHub companion add-on
Peter Knight posted a topic in MediaHub
Hi Following the release of Palette for MediaHub, the next companion module is here. MediaHub AI brings provider-backed AI tools to your MediaHub fields, starting with AI-generated ALT text for your images. What it does MediaHub AI adds an AI tools group to the MediaHub Actions panel. For any image in a MediaHub field or on the media library detail page, editors get: Quick Alt: one click, one result. The AI analyses the image and writes a ready-to-use ALT description instantly. 3x Options: asks for three alternatives so you can pick the best fit for the context. SEO / preferred words: type in terms you want included before generating. Works best for words that truthfully fit what is in the image; anything that does not fit is left out. Shorten: trims a chosen alternative to around 125 characters in one click. Apply: writes the result straight into the ALT field. Save the page to keep it. This first release works on one image at a time and generates ALT text in English. A multi-language version is already in testing and will follow shortly. Backend config settings All settings live in Modules > MediaHub AI: Filename and title as context Passes the image title and words from the filename to the AI as a hint. Only visible, meaningful words are used; camera codes and numeric IDs are ignored. Site context A short paragraph of house style or site facts sent with every request. Editors can override this per-image using the SEO words field in the dialog. Output language Tells the AI which language to write in. On multilingual sites, each language tab gets its own name so the AI writes in the right one. Provider credentials (API key, model, provider name) are set in config (for now). Supported providers at launch: OpenAI, DeepSeek, and any OpenAI-compatible endpoint (bring your own key). $config->MediaHubAI = [ 'provider' => 'openai', 'providers' => [ 'openai' => ['apiKey' => 'sk-...', 'model' => 'gpt-4.1-nano'], ], ]; Free companion, same install pattern as Palette Like Palette, MediaHub AI is a free companion. Install it alongside MediaHub, add a $config->MediaHubAI block to config with your provider key, and the AI tools group appears in the Actions panel automatically. No field or template changes needed. More AI applications will follow. Thanks @Stefanowitsch for the suggestion 🙂 -
Last week I mentioned the new Actions menu on MediaHub input fields. I started with Copy to field function. Next up is Palette. It's a free companion module that analyses image colours and lets you copy a hex value from a photo. Why I built it I was building a site with a hero banner consisting of a photo on the left and a solid colour block on the right. I needed colour options that complemented the image and a quick way to grab a hex code and paste it into a block colour field. Nothing in my usual workflow did that without leaving the admin or opening the image through external tools. What it does Palette analyses an image and surfaces the most prominent colours, with an indication of how much of the image each one accounts for. In the module settings you can choose how many swatches to show (anywhere from 1 to 10). Click a colour to copy its hex code to the clipboard, then paste it wherever you need it (a colour field, theme token, inline style, etc.). It does not write to a field for you. That part is still manual for now. There are also a few colour-wheel views if you want to explore alternatives, plus a custom picker if you already know roughly what you’re after. How to use it Install the MediaHub Palette companion module (see below). Set your preferred swatch count in the module config. On a MediaHub field card, open Actions → Generate palette on an image. Pick a swatch, copy the hex, paste it where you need it. It also appears on library asset page so you can explore a palette from the MediaHub library. Get it Palette is free for Media Hub users. It will shortly live as a separate download in your licence account area. Because it's fairly niche, I didn't bundle it inside the main MediaHub package. What’s not in it (yet) Extracted colours are not stored on the asset and are not exposed through the MediaHub API at the moment. I’m considering that for a future release. E.g. saving a palette against an asset or piping a chosen colour into a custom field automatically. For now it’s a practical “analyse this image and give me copyable hex codes” tool. Cheers P
-
Hi everyone MediaHub 1.22.0 out and features... Added: 3 new Admin translations I've added Dutch, Polish and French admin translations. Same coverage as the existing German (and English) strings. Approx 1000+ each contained in languages/nl.csv, languages/pl.csv, languages/fr.csv. Taking requests for other translations too. Added: Inputfield Actions MediaHub fields now have an Actions button that opens a dropdown. Sitting beside the existing Crop, Focus and Edit options, Actions is built as an extensible shell for field-level actions with more capabilities in progress for future releases. Added: Copy to sibling field Illustrating what the new Actions menu is for, our first Action is Copy to Field. Copy to field lists sibling MediaHub fields you can send an asset to. Real handy when you have multiple MH input fields on a page and might need to inject a sibling field with an asset from another field. And of course, the beauty of this is also that it doesn't duplicate the underlying MediaHub asset. Copying honours the target sibling fields maxItems, skips duplicates, clears single-mode fields first, and copies per-field alt/tags meta when available. Changed: Fewer auto-generated variations on MediaHub fields Each image on a field card now creates two ProcessWire size variations (260w card thumb + 800w preview/lightbox) instead of four. Lightbox and retina srcset reuse the 800px file rather than generating separate 900px and 520px copies. Thanks for reading. Licence holders can download from the account area. Full changelog Buy MediaHub P
- 2 replies
-
- 4
-
-
- mediahub
- asset library
-
(and 3 more)
Tagged with:
-
Hey everyone Well, last week turned into this week, and 1.19.50 turned into 1.19.51. So apologies for the slight delay, but I do have a larger release and a special offer for you. Get an extra 20% off any plan using the discount code: wowmediahub11951 It's good for the first three signups only. What’s new in 1.19.51 YouTube and Vimeo as library assets YouTube and Vimeo in MediaHub fields and rich text Inline audio and video preview Preview covers for PDFs, audio, and documents German admin UI Front End Editing Resizable library sidebar and much more... Full details on the blog, short version below. https://www.peterknight.digital/blog/posts/mediahub-1-19-51-release/ YouTube and Vimeo as library assets Paste a YouTube or Vimeo URL into Import → By URL. MediaHub creates an embed asset without storing the video file. Provider thumbnails show in the library; optional custom covers are available when you want your own poster. YouTube and Vimeo in fields and rich text Pick embeds from the same library as images and PDFs. Insert into MediaHub fields or TinyMCE with alignment, max width, and playback options — including start-at. Optional image captions (figure/figcaption) are also available in the MediaHub image dialog. Inline audio and video preview On the asset detail page, play supported audio and video with native browser controls — handy for a quick check before you use the file. BTW that track Feuervogel is by our very own @Stefanowitsch and his band Dayfly’s Diary. Buy See the Light on Bandcamp. Preview covers PDFs and audio can get an automatic cover on import where the server supports it (first PDF page, embedded artwork). Or pick any library image or crop as a manual override. Covers show across the library, picker, and inputfield cards. German admin UI Bundled Deutsch translation for the full MediaHub interface. With Language Support and a de language installed, translations import on module refresh. Front End Editing (Beta) The MediaHub TinyMCE button works with ProcessWire’s PageFrontEdit. Image alignment survives save on the live site. Resizable library sidebar On desktop, drag the sidebar edge to widen or narrow collections/labels. The width is remembered for next time. That's it. Thanks for reading 🙂 Peter Full details, screenshots, and the full changelog: https://www.peterknight.digital/blog/posts/mediahub-1-19-51-release/ Downloads (licensed users): https://www.peterknight.digital/downloads/
-
A big thanks to @@Mikel for flagging some of the items which form 1.19.1. Uninstall (fixed) The safety check that requires you to opt-in via `$config->MediaHubUninstall` in `site/config.php` was firing a beat too late. By the time the error showed, companion modules and their pages were already partially torn down. 1.19.1 hoists that check into a `hookBefore('Modules::uninstall')` so nothing is touched if the flag is missing. Also tightened companion module cleanup, admin page deletion, and crop-field removal so the whole flow is now atomic: succeeds completely or aborts cleanly. Import (fixed) Importing existing images on a non-MediaHub site (Setup → Media Hub → Import Existing) wasn't generating thumbnails. Bonus: retina `srcset` (1x/2x) and lazy loading on inputfield thumbnails. Icons (aligned) The library and the MediaHub inputfield each have view-mode toggles (grid, proportional or masonry, detail or list), but 1.19.0 used slightly different icon sets between the two surfaces. 1.19.1 aligns them on the same Lucide set. Labels bug (fixed) The new Labels section in 1.19.0 shared structural class names with Collections. This meant Labels were incorrectly displayed on some Collections filters nd menus. Labels and Collections are now strictly separate row types throughout the sidebar. Full changelog 1.19.1 blog post 1.19.1 download
-
Hey everyone, MediaHub 1.19.0 is ready. That is good news for two reasons: you might find it useful, and you might be too distracted to wonder where 1.18 went. 🙂 Anywho, MH 1.19 has two main areas of improvement: the main MediaHub library screen (for editors) a new read API for galleries at scale (for developers). MediaHub Library changes A) Redesigned sidebar The sidebar has been redesigned and refined, with new shortcut filters at the top B) Favourites Mark any asset as a favourite (site-wide) and filter the library to favourites only. You can favourite from the asset detail page, the tile menu, or by dragging tiles onto Favourites in the sidebar. I am still debating Favourite/unfavourite vs star/unstar for the wording. Open to opinions there. C) Recent See your newest uploads and choose what “recent” means: last 24 hours, last 7 days, and other presets. More flexibility planned here soon. D) Filter breadcrumb type thing When you filter the library, a breadcrumb-style trail shows where you are (for example All Assets › Labels: Dublin). Clear a filter with one click instead of guessing how you narrowed the view. E) Labels If you use Labels for organisation, they are now a first-class shortcut in the sidebar, with counts per label. The section collapses when you do not need it. Drag assets onto a label row to assign in bulk; rename or delete from the row menu. F) Hover info on asset cards Hover over an asset to quickly see the title and filename without turning on Details view or opening the full asset page. This way, you get a really clean Library grid and still benefit from an in-betweeny view. G) Favourites (pt2) You can mark an asset as a favourite from the assets card/panel. Admittedly, 'unfavourite' is a little awkward-sounding. How does it read in German, Austrian, Bulgarian, Irish? I'll find out shortly. I might change this to star/unstar. MediaHub - drag and drop Another gap closed. You can drag and drop assets directly onto a MediaHub field. If you want to disable that function, you can do it on a field-by-field basis. You can also re-order assets as per the native input field. And if you're not a drag-and-drop fan, you can use the buttons instead. The MediaHub button will open your Library. Upload button opens your Finder. Uploads and drag-and-drop currently land new files in the root of the library in the background. I am planning more flexibility there soon. getRaw () API (beta) I'll be straight: I have not fully tested this myself on production sites yet, but I did run it through rigorous automated test scripts, and the performance benefits look promising. There is a more comprehensive write-up in the MediaHub docs. And I want to thank @David Karich for pushing this feature forward and flagging the original limitation in the first instance. Not strictly 1.19 related Search the docs The MediaHub documentation has a new search box in the sidebar Limitations and planned improvements Created a page with the known gaps in MediaHub. This is going to be a living (but rapidly shrinking) list as I move towards MediaHub 1.20.X. Get 1.19: About MediaHub: https://www.peterknight.digital/products/mediahub/ Upgrade to 1.19: https://www.peterknight.digital/downloads/mediahub/ Read the blog: https://www.peterknight.digital/blog/posts/mediahub-1-19-release/ Full changelog: https://www.peterknight.digital/docs/mediahub/v1/changelog/ Cheers 🍻 Peter
-
Hey everyone, MediaHub v1.17.0 is now available and introduces Focus Point support, SVG uploads, Input Field UI enhancements, and improved KONKAT compatibility. Existing customers: visit your account downloads area. New to MediaHub?: visit my in-progress landing page Full changelog: https://www.peterknight.digital/docs/mediahub/v1/changelog/ Release blog post https://www.peterknight.digital/blog/posts/mediahub-1-17-release/ Happy to answer questions here, but in the meantime, here are some screenshots. Focus Point support and focus point aware cropping. In the crop editor, you can now set and change the Focus point target.... As you might expect, crop presets and auto-generated crops snap to the focus point... SVG support Also in 1.17, driven by a request from @Stefanowitsch: SVG support for logos, icons, and illustrations that need to scale cleanly. SVG uploads are off by default. Enable them under Modules → Configure → MediaHub in the new SVG Support section. When turned on, uploads require the native ProcessWire FileValidatorSvgSanitizer module. If the sanitiser isn’t installed, uploads are refused rather than letting an unsanitised file through. InputField UI polishes Detail view is meant to show more per card, but the layout felt cluttered. Detail-mode cards now use a cleaner layout with a Crop · Focus · Edit action strip and inline file metadata. More to come on that front. It's somewhat based on the native Input Field view, but with a few tweaks. Konkat Theme If you run the ProcessWire KONKAT light admin theme, 1.17 includes improved compatibility across MediaHub’s admin screens. The asset detail page gets a cleaner card layout, a Modified column in the Crops table, and usage-aware delete confirmations (not shown) IE MediaHub warns you before deleting an asset or crop that’s still referenced elsewhere. Next up, as promised, I am working on improved support for batch operations, such as bulk upload and getRaw() support for massive libraries. Thans for reading. If you like what you see, I hope you can make MediaHub part of your next ProcessWire project 🙂 P