لمنحك أفضل تجربة ممكنة ، يستخدم هذا الموقع ملفات تعريف الارتباط. راجع سياسة الخصوصية و شروط الخدمة لمعرفة المزيد أكثر.
فهمت!
Player FM - Internet Radio Done Right
Checked 12M ago
Menambahkan one tahun yang lalu
المحتوى المقدم من Jan van den Berg. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرة بواسطة Jan van den Berg أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
Player FM - تطبيق بودكاست انتقل إلى وضع عدم الاتصال باستخدام تطبيق Player FM !
<div class="span index">1</div> <span><a class="" data-remote="true" data-type="html" href="/series/know-what-you-see-with-brian-lowery">Know What You See with Brian Lowery</a></span>
The “Know What You See” podcast delves into the ways our fundamental need to connect with others profoundly shapes our experience of life. On each episode, through conversations with experts and people just trying to make sense of it all, Brian Lowery takes a journey of exploration—answering and raising questions to deepen our understanding of and appreciation for the often surprising, sometimes perplexing, and now and then transcendent lives we create together.
المحتوى المقدم من Jan van den Berg. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرة بواسطة Jan van den Berg أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
المحتوى المقدم من Jan van den Berg. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرة بواسطة Jan van den Berg أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
In classic yak shaving fashion; this weekend I created a static responsive image gallery generator. It’s one PHP file that — when run from the command line — generates a clean , fast and responsive (aka mobile friendly ) video and image gallery with navigation from a directory of images and videos. The output is one single index.html file. The generator itself is a single PHP file (~300 LOC). And running it on a sample folder with images and videos looks like this: Notice it converts .mov files to .mp4 which are playable in the browser The above generates one single index.html, that looks like this on a desktop browser: Notice: The evenly spaced grid with a mix of portrait and landscape images also evenly spaced The Fancybox image animations The navigation buttons The slider at the bottom The indication of video files with a SVG play button The autoplay of video files How the user doesn’t leave the gallery page In the above example I use both the mouse and keyboard for navigation, both are possible. Here you can look at the sample gallery yourself. What does it do? Here’s what the generator does: Checks for image orientation (landscape vs portrait) issues and fixes those. Generates thumbnails from valid images (png/jpg etc.) with respect to orientation. Converts non-web friendly video formats (3gp/mov) to mp4 with ffpmeg ( few other tools do this! ). Adds a play button overlay to video files, to make them stand out. Generates one index.html file, that together with your image and thumb folder constitute your gallery: copy it to any webserver and it will run, you don’t even need PHP to the gallery (hence static ). Generates a nice looking, evenly spaced, grid with thumbs that point to your images and videos and that looks good on mobile. Uses Fancybox to pop and animate images and videos in a container with navigation . Single PHP file that does everything (~300 LOC), you need FFmpeg to process videos, and it pulls in Fancybox via CDN. Why did I make Corbin? Because it’s fun, and because I was looking for a way to quickly share a folder of images and videos , with nice previews (i.e. thumbs), that also is viewable on a smartphone — and that is *not* Google Photos. Most solutions can’t do that. Other things I wanted: Portable generator: one single PHP file is just that. It will run on any server with PHP 7.x and FFmpeg. Portable output: one self-contained index.html file, one images folder, one thumbs folder. That’s it. There is no database or a bunch of help files (e.g. CSS). Something understandable: most other solutions are more complex or clutter your system with files. This tool does not touch the original image folder, it just creates one thumb dir and one html file (converted videos also get saved in the original image folder). Something malleable. E.g. it’s pretty easy to add the file names to the index.html. Just edit one line of CSS. Corbin? Yes, because: Anton Corbijn is my favorite photographer Corbin sounds like core bin aka core binary. And this tool does one core thing for me. According to Urban Dictionary a corbin “is a very trust worthy , funny and amazing person”! What’s next? Corbin does what I need for now. Things that might be added later: Recursive folder gallery generation. Sorting options for images (name, date etc.). Pagination? More templating options? On successive runs don’t convert mp4 videos or regenerate thumbs. More error checking (file types etc.), much more error checking. I know there are tons of solutions out there, but this one is mine. And it does exactly what I want. Feel free to poke around! I assure you there are bugs. The post Corbin: static responsive image and video gallery generator appeared first on Jan van den Berg .…
مرحبًا بك في مشغل أف ام!
يقوم برنامج مشغل أف أم بمسح الويب للحصول على بودكاست عالية الجودة لتستمتع بها الآن. إنه أفضل تطبيق بودكاست ويعمل على أجهزة اندرويد والأيفون والويب. قم بالتسجيل لمزامنة الاشتراكات عبر الأجهزة.