Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
item image url var
MONEE



Joined: 28 Oct 2007
Posts: 433

Posted: 06/24/13 09:47 
Is there a variable for item image url?

for example something like this

$item.action_data.blog_image

or like
{$jamroom_url}/{$item.profile_url}/{$murl}/{$item.action_item_id}/{$item.action_data.blog_image_url}

but that gives working image url

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 06/24/13 10:18 
The image url will look like this:

Quote:
/audio/image/audio_image/1/medium

You'd need to put {debug} in whichever template you are working in to see which variables are available at that point - as you can see, you will need the module url, the image field name, and the item id.

Quote:
/{$the_module_url}/image/{$the_field_name}/{$the_item_id}/medium


But better to use the smarty image function if possible, then you just need the module rather than the module url:

Code
{jrCore_module_function function="jrImage_display" module="jrAudio" type="audio_image" item_id=$item._item_id size="medium"}



_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
MONEE



Joined: 28 Oct 2007
Posts: 433

Posted: 06/24/13 11:59 
I got it worked out
thanks Cool

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
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.