Code Monkey home page Code Monkey logo

image's Introduction

JBZoo CCK - Community Edition

Build Status Latest Stable Version HitCount

  • All Features are included
  • GPL v2.0 or later license
  • No ioncube or any other PHP-encoders (open source)
  • No activations
  • No domain limits
  • For any private/commercial use (see license conditions)
  • On your own risk (see license conditions)
  • Of course, you can add your fixes via Github (PR)

System requirements

  • YooTheme Zoo Component Zoo
  • Joomla! CMS Joomla
  • PHP 7.2.0+ is recommended with modules mbstring, xml, json, opcache, mysqli.
  • Works fine with PHP v5.5, v5.6, v7.1, v7.2, v7.3, v7.4
  • Joomla! CMS 4.0 (on your own risk)

FAQ

1. How to subscribe to updates ?

Watch and star this repo (see buttons in the top) and Github will send you notification. It's easy!

2. How to GPL previous JBZoo version <= 2.4.x ?

First of all, we recommend you to upgrade your JBZoo to the latest paid version 2.4.x (only if you wish). After that, just use a special patch from that repository

3. How to build Joomla installer/update package (distr)?

Run in the root directory of project make prod build and see ./build/ folder

4. I have found some bugs. What should I do?

Just create new issue and we will try to fix it.

5. How to use jbzoo_update.zip?

  • Backup your website (database, all files)
  • Install file "jbzoo_update.zip" as Joomla Extention (via control Panel).
  • That's all.
  • If you have any bugs - just create new issue

6. Where I can download the ready-to-use JBZoo?

See files jbzoo_clean_install.zip and jbzoo_update.zip in releases

Useful links

General websites

Our Related Projects

About YooTheme ZOO

Contributors

PHP Unit tests

Unfortunately now we are checking only copyrights, and some code styles. See details.

make dev
make test

LICENSE

GNU GPL v2.0 or later. See details

image's People

Contributors

arrisco avatar claviska avatar hikouki avatar josepanguera avatar melihucar avatar mikedidomizio avatar nazar-pc avatar smetdenis avatar tampler6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

image's Issues

Black box appears when trying to add an overlay

I'm having a very weird issue I really can't understand :

I am trying to add a watermark over an image. It works fine, except that it will add a black box constantly below my overlay image. Here's what the final results looks like : https://i.imgur.com/pfPHrWN.png

My base image : https://i.imgur.com/OtMY1o1.png
My watermark image : https://i.imgur.com/zbgtXzd.png

The images above are dummies for this issue reporting, but I have tried with a bunch of images (both base & overlay) and with JPG, PNG & GIF types...

My code is very basic :

$image = new JBZoo\Image\Image( $baseImagePath );
$image->overlay( $watermarkImagePath )->saveAs( $newImage );

As for my environment, I'm using PHP 5.5.26 and GD bundled (2.1.0 compatible)

saveAs

Hi,
Do the ->saveAs, if the file already exists have a replace option?

Text alignment not working properly in a specific font

Hi
text filter method used in my project
here is my code

<?php
$image = new Image($image_path);
$image->addFilter('text', 
				'Text For Testing',  
				 $font_file ,             
				 array(                                  
					'font-size'      => $font_size,                       
					'color'          => $font_color,
					'stroke-size'    => 0,  
					'offset-x'       => 0,      
					'offset-y'       => $offset_y,        
					'position'       => 'c',        
					'angle'          => 0,          
			));

When i use "Centrury Gothic Bold" as font family i got result like this
issue_one
but if i use "Eurostile Bold" as font family then it seems like this
issue_two

fonts : https://drive.google.com/drive/folders/0Bwq4DvGGbHVfYTgzUi1kMzlhV0E

any idea ?

thanks

Problem with the tags versions

Hi,

this porting is very usefull, i love the new methods, but i found that the tag version 3.0.* released differs from the master and the documentation.
I downloaded the library with composer
Mariano

Complete fork

Since you've done a lot of work on this, you should think about completely branching this into your own project.

how to wordwrap text on images ?

how to wordwrap text on images ? sometimes text is too long and it does not fit to the size of image . please help, is it possible todo this with this class ? if yes "how"?

Black background at png images.

Hi. I didn't find any solution or problems like mine, so i try ask here.
I try to save an image preview with some height and width, but then i saved it, the image have black background if the background was transparent. Here the code:
$img = (new Image(base_path() .'/public/img/products/'.$new_filename)); if ($img->getHeight() != $img->getWidth()) { if ($img->getWidth() < 175) { $img->fitToWidth($img->getWidth()); } else { $img->fitToWidth(175); } } else { $img->bestFit(175, 175); } $img->saveAs(base_path() .'/public/img/products/preview/'.$new_filename);
Here the picture's:
with black
original

UPD: theversion is "jbzoo/image": "^3.0",

Gaussian Blur more than 2 passes

Hello,

I think this library is very useful, it helped me working with images.

I would to blur an image more than 2 passes. A heavy blur. I can do it calling the function more than one time:

$img = (new Image($source))
->addFilter('blur', Filter::BLUR_SEL)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('blur', Filter::BLUR_GAUS, 2)
->addFilter('smooth', -10)
->saveAs($destination);

But there's a overhead doing this. Is there any way to blur the image with more intensity with just one call?

I've tried shrinking and increasing and applying the blur, but I only have got a pixelate image.

Thanks in advance,

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.