1. verdelino
  2. Features Request
  3. Thursday, April 16 2015, 12:43 PM
Hi,

so in Options Image Field,Ii put parameters:
Width 1024
Height 1024
Thumb Width 700
Thumb Height 700

I expected an image is going to be visible on user's profile in 700x700 size, and that onclick, the image will like popup or something to 1024x1024 or open in another window or something.

What I got, is in the screenshot - image is 170x170, and in inspect element it has a class img.avatar (width 170).

So my questions are:

Do I have to hack CSS - img.avatar class?
If I have to, what is the purpose of Options Image Field parameters?

Thank you!
Attachments (1)
Accepted Answer
admin Accepted Answer
Admin
Hi,
yes this is a small bug, in each image field our system add "avatar" class, we will fix in next release (some day to release).

To solve now replace in file /administrator/components/com_jsn/models/fields/image.php at line 129 this code
'class' => 'avatar '.$this->element['imageclass']

with this
'class' => $this->element['imageclass']
  1. more than a month ago
  2. Features Request
  3. # Permalink
verdelino Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 1
  • 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.