symfony-bundle readable-path-bundle
        Extends the sonata media bundle with a possibility for readable image paths.
    
            
                
                    
                    
                    
                    
                        
                            
    
        
        
            kai-grassnick/readable-path-bundle
            Extends the sonata media bundle with a possibility for readable image paths.
         
     
    
        
            -  Monday, October 16, 2017
-  by KaiGrassnick
-  Repository
-  1 Watchers
-  0 Stars
-  6 Installations
 
    
        
                            - PHP
-  0 Dependents
-  0 Suggesters
-  0 Forks
-  0 Open issues
-  3 Versions
-  0 % Grown
 
 
    
        
            
    
    
    
Allow readable image (thumbnails) path
Add a thumbnail-filter which allows us to use the image name as a readable path, (*1)
To allow a new type, we have to overwrite the original FormatThumbnail function, (*2)
Requirements
How to install
- Add path to parameters.yml
sonata.media.thumbnail.format: "KaiGrassnick\ReadablePathBundle\Thumbnail\FormatThumbnail"
- Add new KaiGrassnick\ReadablePathBundle\KaiGrassnickReadablePathBundle()toAppKernel.php
- Done! Now we have a new thumbnail format
How to use
$provider = $this->get("sonata.media.provider.image");
$provider->generatePublicUrl($media, 'readable');
License
Credits
         
     
 
    
        
            
                                    
                        
                        
                        
                            dev-master
                            9999999-dev
                                                        
                                Extends the sonata media bundle with a possibility for readable image paths.
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                
                            
                            
                                                                    sonata
                                                                    media
                                                                    thumbnail
                                                                    path
                                
                            
                         
                     
                                    
                        
                        
                        
                            1.0.1
                            1.0.1.0
                                                        
                                Extends the sonata media bundle with a possibility for readable image paths.
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires
                                    
                                     
                                                                                            
                            
                                                                    
                                
                            
                            
                                                                    sonata
                                                                    media
                                                                    thumbnail
                                                                    path
                                
                            
                         
                     
                                    
                        
                        
                        
                            1.0.0
                            1.0.0.0
                                                        
                                Extends the sonata media bundle with a possibility for readable image paths.
                                
                                                                     
                                    Sources
                                                                                                     
                                    Download
                                                                
                                
                                                                            MIT
                                    
                                
                                                                    The Requires