• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: [Solved] Settings Image field in FrontEndUsers
PostPosted: Mon Mar 16, 2009 2:14 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 4131
Location: The Netherlands
Hello all,

Want to use the image-field within FrontEndUsers to let the users upload their own personal photo.
I noticed that the width of the inputfield (in characters) is the same as the width of the picture (in pixels).
If the image has to be a reasonable size, let say 150px, the inputfield is to big for the screen...  :-\
And all the other normal text inputfields are only set to 30 characters.

Is their another way to set the width of the image?

I'm using:
- CMSMS 1.5.3
- FrontEndUsers 1.6.3

Thanks in advance,

Rolf  :)

_________________
De vijfde Nederlandstalige CMSMS Workshop: Lees meer...
--------------------------
My multilingual website and playground Buispost.eu (Pneumatic Tube System / Rohrpost)
And my other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


Last edited by Rolf on Sat Mar 21, 2009 12:59 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Settings Image field in FrontEndUsers
PostPosted: Tue Mar 17, 2009 8:18 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 4131
Location: The Netherlands
For the time being solved by using CSS to set the width of the input field.

Code:
input {
width: 150px;
}



Rolf  :)

_________________
De vijfde Nederlandstalige CMSMS Workshop: Lees meer...
--------------------------
My multilingual website and playground Buispost.eu (Pneumatic Tube System / Rohrpost)
And my other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


Last edited by Rolf on Sat Mar 21, 2009 12:59 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Wed Apr 08, 2009 1:20 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Apr 08, 2009 1:09 pm
Posts: 85
Location: Rotterdam, The Netherlands
Hello!

Could you elaborate on this sollution?

I'm having the same issue. I display the image in a profile page, but the image is very small(50x21). While the original is larger(235x100).

Now how can I make the image larger. So when users upload it, it will be bigger than (50x21)?

kind regards,

Rednes

_________________
Display flv vid's on your site
Show content of all pages


Last edited by Rednes on Wed Apr 08, 2009 1:26 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Wed Apr 08, 2009 2:09 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 4131
Location: The Netherlands
Hi Rednes

Will try to explain it some more...
I set the width of the image-field in FrontEndUsers on the required size of the image on the website.
The width of the input field is now way to big for the screen.
To solve this I placed in an attached (relevant) stylesheet the code:

Code:
input {
width: 150px;
}


The width of the inputfield is now hardcoded to 150px;
The image size can now be 235px in your case, with a field width of 150px.

Hope this helps...

Grtz. Rolf  :)

_________________
De vijfde Nederlandstalige CMSMS Workshop: Lees meer...
--------------------------
My multilingual website and playground Buispost.eu (Pneumatic Tube System / Rohrpost)
And my other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Fri May 22, 2009 11:43 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri May 25, 2007 10:57 am
Posts: 1137
Location: Germany
Rolf wrote:
Code:
input {
width: 150px;
}


The width of the inputfield is now hardcoded to 150px;


This solution does not work in Firefox. The only solution I have found is to change the FEUsers file function.user_changesettings.php:

Look for

Code:
$onerow->control = $this->CreateFileUploadInput($id,'feu_'.$onerow->name, '', $defn['length']);


and replace by

Code:
$onerow->control = $this->CreateFileUploadInput($id,'feu_'.$onerow->name);


Bug has been submitted http://dev.cmsmadesimple.org/bug/view/3054 and fixed in svn.

_________________
CMS Made Simple 1.6: Beginner's Guide
Overview of modules, themes, tutorials and websites made with CMS Made Simple
Webseiten mit CMS erstellen


Last edited by Sonya on Fri May 22, 2009 11:47 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Fri Jul 03, 2009 12:45 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Tue Nov 06, 2007 9:04 am
Posts: 239
Location: Brighton, UK
I wish this worked, but it doesn't (for me).

Still broken in CMSMS 1.6 and FEU 1.6.5. I tried Sonya's suggested change, but no luck.

_________________
Ocean Theme exclusively for CMS Made Simple - jQuery, cufón, 3x page templates, and more!

View the demo site | Download the Ocean Theme

Latest site: Sentori email marketing


Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Fri Jul 03, 2009 2:58 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Tue Nov 06, 2007 9:04 am
Posts: 239
Location: Brighton, UK
Update, I pulled FEU 1.6.6 from the repository and that fixes the problem for me. There was also a label missing:

Quote:
it is the last field in the "Field Settings" fieldset - the label is missing (atleast on my install) "--Add Me - module:FrontEndUsers string: prompt_thumbnail_size--:"


Cheers to ajprog and RonnyK for their help on this.

_________________
Ocean Theme exclusively for CMS Made Simple - jQuery, cufón, 3x page templates, and more!

View the demo site | Download the Ocean Theme

Latest site: Sentori email marketing


Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Tue Dec 01, 2009 3:44 pm 
Offline
Forum Members
Forum Members

Joined: Fri Oct 16, 2009 12:24 pm
Posts: 10
A user of mine still has this problem in FireFox. I use CMSMS version 1.6.6

Sonyas trick did it for me.

Best regards,

/Bo


Top
 Profile  
 
 Post subject: Re: [Solved] Settings Image field in FrontEndUsers
PostPosted: Mon Jan 03, 2011 2:54 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jul 14, 2010 9:41 am
Posts: 22
Hello,

I was wondering whether there would be a fix for this at the moment? I'd like to have user photo's with a max width of 150 instead of 75.

Unfortunately the above methods did not work for me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner