Keyword for url of the asset thumbnail image variety

Hi
does anyone know the keyword for url of the asset thumbnail image variety?

thanks

Tim

[quote]
Hi

does anyone know the keyword for url of the asset thumbnail image variety?

thanks

Tim

[/quote]

Hi Tim,

You are looking for %asset_thumbnail_v_<variety_name>%. More of the keywords can be found here.



Ash

[quote]
does anyone know the keyword for url of the asset thumbnail image variety?

[/quote]



If you were using an asset listing with an Image type format you would use:


    %image_v__url%

[quote]
Hi Tim,

You are looking for %asset_thumbnail_v_<variety_name>%. More of the keywords can be found here.



Ash

[/quote]



Hi Ash

thanks - unfortunately that doesn’t print the URL

thanks anyway

Tim

[quote]
If you were using an asset listing with an Image type format you would use:


    %image_v__url%

[/quote]



Hi Nic

thanks for that

unfortunately that didn't work for me

thanks anyway

Tim

[quote]
Hi Nic

thanks for that

unfortunately that didn't work for me

thanks anyway

Tim

[/quote]



That is straight from the manuals. How are you trying to use this?

[quote]
Hi Ash

thanks - unfortunately that doesn't print the URL

thanks anyway

Tim

[/quote]



What Nic said. And also the keyword for the url is : %image_v_<variety_name>_url%. Is any other keyword for the image variety working for you from the manuals page?





Ash

[quote]
What Nic said. And also the keyword for the url is : %image_v_<variety_name>url%. Is any other keyword for the image variety working for you from the manuals page?





Ash

[/quote]

Hi Ash

I'm using it within an asset listing to show the variety image of the thumnail for a news item. I wanted to align the variety image to the right by something like this: <img src="%image_v
<variety_name>url%" align="right" />

But the only way I can get the image to display is using this keyword %asset_thumbnail_v
<variety_name>% - but then I can't add the align code.

So to do it I ended up creating a new class in the css.



I suspect the reason it's not working is because when I went from %asset_thumbnail_v_<variety_name>% to %image_v_<variety_name>url% the reference to the thumbnail is lost so matrix doesn't know to look at the thumbnail of the asset. I could see this keyword %image_v<variety_name>url% working if I was just printing a list images, but because the images that I want to print are connected to assets as thumbnails - then this keyword %image_v<variety_name>url% isn't working.



So what I'm after is something like: %asset_thumbnail_v
<variety_name>_url%. I tried a few different combos but nothing worked



Thanks anyway

[quote]
So what I'm after is something like: %asset_thumbnail_v_<variety_name>url%. I tried a few different combos but nothing worked

[/quote]



Yeah, there isn't a %asset_thumbnail_v
<variety_name>_url% keyword unfortunately. If I were you, I would always have the image as a child of the news item, then you can use list_current_asset_id for a great amount of flexibility that you are needing here.

Hi,


This works for me on 4.2.1



%asset_thumbnail_v_<variety_name>_url%



Used in asset listing of news items.

[quote]
Hi,



This works for me on 4.2.1



%asset_thumbnail_v_<variety_name>_url%



Used in asset listing of news items.

[/quote]



Yeah? I was basing my comment off of the manuals (http://manuals.matrix.squizsuite.net/keyword-replacements/chapters/image/), don't think I tested it myself.