andiamine VIP
Total posts: 289
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: 289
05 Feb 2015 20:26

thanks my friend !

Replay Topic
Uploading
Click here to upload and insert file from you hard drive: (png, gif, jpg, jpeg, zip, txt, rar)
Powered by Cobalt