b0y-101 Mini Shell


Current Path : E:/www/instructor/panisara/components/com_eventgallery/library/interface/
File Upload :
Current File : E:/www/instructor/panisara/components/com_eventgallery/library/interface/image.php

<?php

/**
 * @package     Sven.Bluege
 * @subpackage  com_eventgallery
 *
 * @copyright   Copyright (C) 2005 - 2019 Sven Bluege All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;


interface  EventgalleryLibraryInterfaceImage
{

    public function getFullImgTag($width, $height, $showImageTitle, $showImageCaption);

    /**
     * @param int $width
     * @param int $height
     * @param string $cssClass
     * @param bool $crop
     * @param $alternateThumbUrl String In case we don't want to use the default url.
     * @return string
     */
    public function getThumbImgTag($width, $height, $cssClass, $crop, $alternateThumbUrl, $showImageTitle, $showImageCaption);

    public function getLazyThumbImgTag($width, $height, $cssClass, $crop, $customDataAttributes, $showImageTitle, $showImageCaption);

    public function getImageUrl($width, $height, $fullsize=false, $larger = false);

    public function getThumbUrl($width = 104, $height = 104, $larger = true);

    /**
     * Returns the original download url for the image
     *
     * @return mixed
     */
    public function getOriginalImageUrl();

    /**
     * returns a url which provides the image url to be read by Facebook & stuff
     *
     * @return String
     */
    public function getSharingImageUrl();
    /**
     * @param EventgalleryLibraryImagelineitem $lineitem
     *
     * @return string
     */
    public function getMiniCartThumb($lineitem);

    /**
     * @param EventgalleryLibraryImagelineitem $lineitem
     *
     * @return string
     */
    public function getCartThumb($lineitem);

    /**
     * @param EventgalleryLibraryImagelineitem $lineitem
     *
     * @return string
     */
    public function getOrderThumb($lineitem);

    /**
     * Returns an URL which can be used to show images even if they are protected
     *
     * @param EventgalleryLibraryImagelineitem $lineitem
     *
     * @return string
     */
    public function getMailThumbUrl($lineitem);

    /**
     * returns the binary file.
     *
     * @return mixed
     */
    public function getOriginalFile();

    /**
     * @return \components\com_eventgallery\site\library\Data\Exif
     */
    public function getExif();

    /**
     * Delete the image from disk/cloud/whatever
     *
     * @return bool
     */
    public function deleteImageFile();

}

Copyright © 2019 by b0y-101