Support

  1. Hackwar
  2. Bug Report
  3. Wednesday, May 21 2014, 01:03 PM
Hello,
I have 3 image fields and when uploading files, it correctly displays them in the profile and when viewing the edit screen for the profile. But when I don't select new images to be uploaded, the old values are deleted upon saving the profile again. In my opinion, the image should not be removed as long as I don't upload something new or click a delete link in my profile/next to the field.
admin Accepted Answer
Admin
Which file upload you use? Standard or crop&webcam?
  1. more than a month ago
  2. Bug Report
  3. # 1
peacetree Accepted Answer
Avatar (Standard)

and

Image Advanced (Standard)

Both fields behave the same.
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
Ok,
I found the problem.
When there are "_" char in alias not work.

in file /administrator/components/com_jsn/model/fields/image.php at line 53 replace this
str_replace('_', 'mini_', $this->value);

with this
preg_replace('~_(?!.*_)~', 'mini_', $this->value);


There are other places where you need to replace. But what generates the problem is this. Today or tomorrow I will release a new version
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Also at line 119
this
str_replace('_', 'mini_', $this->value)

with this
preg_replace('~_(?!.*_)~', 'mini_', $this->value)
  1. more than a month ago
  2. Bug Report
  3. # 4
peacetree Accepted Answer
New release doesnt fix this issue : (
  1. more than a month ago
  2. Bug Report
  3. # 5
admin Accepted Answer
Admin
Sorry, try now we have reloaded
  1. more than a month ago
  2. Bug Report
  3. # 6
peacetree Accepted Answer
Nope, not working for me.

When I try to save a profile in backend that has images the program removes the thumbnails and gives alert "invalid filed: fieldname".
  1. more than a month ago
  2. Bug Report
  3. # 7
admin Accepted Answer
Admin
Please post your site details. You can use the form below the reply in site details tab.
  1. more than a month ago
  2. Bug Report
  3. # 8
peacetree Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 9
admin Accepted Answer
Admin
Yes, you can try on http://dev01.newdigilab.com/
  1. more than a month ago
  2. Bug Report
  3. # 10
peacetree Accepted Answer
the issue occures in the backend.
  1. more than a month ago
  2. Bug Report
  3. # 11
admin Accepted Answer
Admin
I also tried on backend and works!
Please post me more info,
Example Screenshot of easy profile fields, backend error mesaage and backend.
  1. more than a month ago
  2. Bug Report
  3. # 12
admin Accepted Answer
Admin
Also php version
  1. more than a month ago
  2. Bug Report
  3. # 13
Hackwar Accepted Answer
Ok, so the issue is, that we have around 20 GB of existing image data with 10k+ users that we migrated from CB to EP. Those images are in a multitude of folders and while we plan to migrate those images into a different folder structure, we definitely wont copy all ~100k+ files into /images/profiler.

We need:
1. an option to select an upload folder per field and
2. we need the image-rule to also allow existing images from arbitrary locations. So the rule would have to load the current data set, compare it against the new data and if there is no different image set in the new data, it should keep the existing data instead and that is it.
3. Last but not least, we would need the field to not resize the images at all, since we do that at a different place.
  1. more than a month ago
  2. Bug Report
  3. # 14
admin Accepted Answer
Admin
an option to select an upload folder per field and

I like that. in the future we will, even for file type fields.

we need the image-rule to also allow existing images from arbitrary locations. So the rule would have to load the current data set, compare it against the new data and if there is no different image set in the new data, it should keep the existing data instead and that is it.

Sorry I do not understand. In DB on #__jsn_users table you can insert image from arbitrary locations.
if you want some rule you can use our triggers, see docs at https://www.easy-profile.com/docs/44-triggers.html

Last but not least, we would need the field to not resize the images at all, since we do that at a different place.

In future we will.

We not have timeline to implement new features, and these requests are too complex for minor customizations supported for free.:(
  1. more than a month ago
  2. Bug Report
  3. # 15
Hackwar Accepted Answer
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 16
admin Accepted Answer
Admin
ok, I understand.:)
in next release we will change this.
  1. more than a month ago
  2. Bug Report
  3. # 17
peacetree Accepted Answer
please post the fix in case you can provide it before next release. for us its pretty urgent because we are already live with the system and cant save profiles from backend....
  1. more than a month ago
  2. Bug Report
  3. # 18
admin Accepted Answer
Admin
Install this plugin from Joomla Installer and try.;)
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 19
peacetree Accepted Answer
wunderful. you are a super star.
  1. more than a month ago
  2. Bug Report
  3. # 20
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.