andiamine VIP
Total posts: 295
05 Feb 2015 04:20

i think i found a small bug in line 288 of file : components/com_cobalt/fields/image/image.php

i changed this line

$full_file_path = JPATH_ROOT . DIRECTORY_SEPARATOR . $this->value['image'];

to

$full_file_path = JPATH_ROOT . DIRECTORY_SEPARATOR . $file;

this solve deleting picture problem, also i think it's logic, cuz deleteImage() function called from ajax ($this->value['image'] will be empty)


Konstantin
Total posts: 1,113
05 Feb 2015 11:45

Fixed.


andiamine VIP
Total posts: 295
05 Feb 2015 20:26

thanks my friend !

Powered by Cobalt