Giter Club home page Giter Club logo

Comments (14)

sandeepone avatar sandeepone commented on August 15, 2024

I would like to merge both media and imagecache into single media controller. The route example is good.

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

@sandeepone
Yes! It's perfect idea 👍
May be also you would be interested to look at the imagefly module?

I understand you correctly - you do make it module?

from cms.

sandeepone avatar sandeepone commented on August 15, 2024

The original idea was based on Drupal imagecache module. I saw the module lately and adopted the remote source option.

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

I have skills with a small part in the development of the Wordpress Backup module We could have fork it for Gleez..

from cms.

sandeepone avatar sandeepone commented on August 15, 2024

Thats a great add on, i'l join as well..

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

Somebody busy with the Gleez Media? :)

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

This should be moved from core class Gleez_Core:

  /**
   * Create a image tag for sprite images
   *
   * @param   mixed   $class  Image class name
   * @param   string  $title  Image title [Optional]
   * @return  string  An HTML-prepared image
   */
  public static function spriteImg($class, $title = NULL)
  {
    $attr           = array();
    $attr['width']  = 16;
    $attr['height'] = 16;
    $image_class    = '';

    if (is_array($class))
    {
            foreach ($class as $name)
            {
                    $image_class .= $name;
            }
    }
    elseif (is_string($class))
    {
            $image_class = $class;
    }

    $attr['class'] = 'icon ' . $image_class;

    if (!is_null($title))
    {
            $attr['title'] = $title;
    }

    return HTML::image(Route::get('media')->uri(array(
            'file' => 'images/spacer.gif'
    )), $attr);
  }

from cms.

sandeepone avatar sandeepone commented on August 15, 2024

Lets move it to html class..

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

I made it. See #43

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

Hi @sandeepone!

Today I started to develop Gleez Media module, because the currently available solution is not flexible enough.
Assign this issue to me please.

And if possible, create a repository (eg https://github.com/gleez/media) so that we can connect to Gleez Media module as a git submodule, and develop Gleez Media module separately.
Or if it is permissible, we can use this address for Gleez Media repo: https://github.com/sergeyklay/gleez-media

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

Hi @sandeepone!
beta version of the Gleez Media module is ready
I need you to estimate it, so that we could include this in the main stream

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

For compressing example, please see https://github.com/azampagl/kohana-compress

from cms.

sandeepone avatar sandeepone commented on August 15, 2024

I'm aware of kohana-compress.

from cms.

sergeyklay avatar sergeyklay commented on August 15, 2024

Yep! No obstacles to creating a good module :)

from cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.