Fixed fade-in affect problem of not loading the affect when added.

This commit is contained in:
2016-05-31 06:36:31 +01:00
parent 7f52decf16
commit 02f9523e1b
10 changed files with 151 additions and 12 deletions

View File

@ -75,11 +75,9 @@ abstract class ComponentbuilderHelper
{
// set image
$image = JPATH_SITE.'/'.$path;
// chack if exists
if (file_exists($image))
// check if exists
if (file_exists($image) && $result = @getimagesize($image))
{
// get image info
$result = getimagesize($image);
// return type request
switch ($request)
{