Is it possible to use multiple crop (with multiple upload) in FileApi or FileApi Advanced ?
via this Yii2 libraries
https://github.com/vova07/yii2-start/blob/master/common/extensions/fileapi/FileAPI.php
or
https://github.com/vova07/yii2-start/blob/master/common/extensions/fileapi/FileAPIAdvanced.php
At least: my task it's make photo gallery. With multiupload, crop, to every photo in submodel can be attached description, title and checkbox for is it cover for album
Relation : Gallery HAS_MANY Gallery_photos
any suggestions, other libraries ?
You can do this but, you need to add this functionality by your self.
At this moment I write an extension FileAPI for Yii 2, that will can do multiple upload and crop at the same time by default.
For future details watch this issue.
Related
It seems that Sonata Media has only two strategies when it comes to cropping/resizing the uploaded image, Sonata\MediaBundle\Resizer\SimpleResizer and Sonata\MediaBundle\Resizer\SquareResizer. Both these strategies are automatic, meaning that the users don't have a say in how they want the image to be resized/croppped.
I would like to give the user an option to select the portion of the image that is more relevant, kind like the jQuery Image Cropper library used by GenemuFormBundle, but I don't even know where to start. Will I need to create my own Admin class instead of using Sonata\MediaBundle\Admin\BaseMediaAdmin? Has anyone write a bundle that I can use? How do you manage your galleries usually?
You should look at ComurImageBundle. It's far easier than Sonata Media, doesn't create anything in database and lets you upload with jquery file uploader, crop with jcrop and other useful things.
I wrote a simple admin extension that give you the ability to customize the images by format. It's actually a Work In Progress that needs some test, documentation and refactoring, but it does the job, it's lightweight and it's shipped with a resizer to handle fixed dimensions.
You can find it here: https://github.com/julien-maitan/sonata-media-crop
If you are using sonata media bundle with sonata admin, there is a picasa photo editor already in place in media edit form.
Please check.
I am working on the admin section of a website in codeigniter. I am using Grocery CRUD for the
add edit delete operations. I've used 'set_field_upload' function to provide a video upload field inside the form. I need to add a thumbnail for the video, so require another upload field.
Is it possible to implement multiple upload field inside the form using grocery crud? Are there any other methods to create thumbnail other than ffmpeg ?
I recommend invoking ffmpeg on the server once the upload is complete using PHP's exec(). Have a look at these SE answers for some ideas:
FFMPEG Generate N Evenly Spaced PNG Screenshots
Video Thumbnails using ffmpeg
Temporarily store the images generated by ffmpeg, echo their paths back to the client using AJAX and have them select the one they wish.
I've got the PyroStreams module for PyroCMS and made a stream called portfolio. Everything is working as expected, however it only allows to upload just one image for my file field. That is obvious, but I'd like to know if there's a way to upload multiple images for one stream entry without adding x number of extra file fields. Or do I need to code an extra field type myself to support this? Maybe someone's got it already?
Thanks
According to me you have to create a separate database table that will hold all the images those are related to particular portfolio and the portfolio id by id by which you can fetch the images for particular record and then use any multiple image upload library like http://www.plupload.com/example_queuewidget.php to upload multiple images in the portfolio image table. Hopefully this will help you in achieving what you want.
There's a multi-upload files field type available on the pyrostore.
I am looking for some open source or commercial script which can allow me to have a gallery component in my website. This component will allow users to publish photos
(add title, album name, small description) and also let them provide their video urls from youtube. For youtube videos also they will provide the title, album name and small description.
Another nice to have feature would be to let users vote on these photos and videos.
Does anyone know of any script that can be easily integrated in symfony php framework?
Rgds,
Sapan
There is nothing written that meets your exact requirements - but there this could be a starting point - or at least give you some ideas of how to store / manage assets -> http://www.symfony-project.org/plugins/sfAssetsLibraryPlugin
I'm looking for some easy to implement gallery for my site.
The best option for me would be gallery that has those futures.
Number of stars shows how important is that for me.
Load all images from directory **
Resize images to fit to gallery area (landscape, portrait) *
Show images title *
easy to implement **
Works on all browsers *
galleria! (honest) It took me 3 hours to set up a complete slideshow with Picasa from scratch. Galleria is a JavaScript image gallery framework built on top of the jQuery library. The aim is to simplify the process of creating professional image galleries for the web and mobile devices. It supports all of your requirements.
docs here