Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Suggestions:
scaling thumbnails
blindmime



Joined: 07 Mar 2004
Posts: 1107

Posted: 08/28/13 22:50 
Is it possible or would you consider scaling thumbnails so logos and other non-square profile images are acceptable?




_________________
tapegerm.com
homemademusic.com
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 08/29/13 16:44 

blindmime:
Is it possible or would you consider scaling thumbnails so logos and other non-square profile images are acceptable?


You can remove the crop="auto" from the image function call in the template - it is what is making it square.

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
blindmime



Joined: 07 Mar 2004
Posts: 1107

Posted: 08/29/13 22:21 
Getting this:

There is a syntax error in your template - please fix and try again

All I did was take out the crop in index_list_profiles.tpl:


Code

{if isset($_items)}
  {foreach from=$_items item="row"}
  <div style="display:table">
      <div style="display:table-cell">
          <a href="{$jamroom_url}/{$row.profile_url}">{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$row._profile_id size="small" alt=$row.profile_name title=$row.profile_name class="iloutline"}</a>
      </div>
      <div class="p5" style="display:table-cell;vertical-align:middle">
          <a href="{$jamroom_url}/{$row.profile_url}" class="media_title">{$row.profile_name}</a>
      </div>
  </div>
  {/foreach}
{/if}


The editor doesn't seem to let me make any changes to that template. Even if I just put a space somewhere and save the change. Does the same with the index songs list. Not with index.tpl.


_________________
tapegerm.com
homemademusic.com
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/29/13 22:28 
means the code is wrong.

Whats the code?


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
blindmime



Joined: 07 Mar 2004
Posts: 1107

Posted: 08/29/13 22:29 
Was editing as you replied. See above.

thanks


_________________
tapegerm.com
homemademusic.com
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/29/13 22:30 
guessed that when I saw my reply.

Your code above looks fine to me.

got some steps so I can try on my system to recreate the issue?


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
blindmime



Joined: 07 Mar 2004
Posts: 1107

Posted: 08/29/13 22:32 
Anything I do in that template causes that error. Just putting a space in and saving the changes will do it.


_________________
tapegerm.com
homemademusic.com
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/29/13 22:37 
Your talking about using the template editor on the skin templates on the jrElastic skin in the ACP
site.com/core/skin_admin/templates/skin=jrElastic

I can see that now.

Its a bug. That's not working right.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
blindmime



Joined: 07 Mar 2004
Posts: 1107

Posted: 08/29/13 22:42 
Right.

Now, it's working. I'm not sure what I did. I tried a space in another non-list template and it worked. Then went back into the index profiles list tried the space at the very end and it worked. Then deleted the crop attribute and it worked. Probably not a fix, but that's all I did. Oh, I went to the FTP in filezilla and opened data/cache/template. This is a clone of jrElastic, by the way.

What are the other options for the crop attribute?


_________________
tapegerm.com
homemademusic.com
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/29/13 23:19 
It still looks like a bug to me.

What are the other options? not sure. when I run a search for ' crop=" ' I get:
crop="auto"
crop="width"

so I guess crop="height" would work too.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 08/30/13 05:38 
It looks like you can use on of the following with the crop parameter...

crop="auto"
crop="square"
crop="width"
crop="height"


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Suggestions

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.