Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    The way I have done this to add the WordPress default class ‘alignleft’ or ‘alignright’ to the outermost element in the appropriate template.

    So for a simple thumbnail I created a new template called ‘thumb left’ with the following content:

    <div class="alignleft al_found%FOUND%">
     %LINK_OPEN%
      <img alt="%TITLE%" title="%TITLE%" src="%THUMB%" class="%IMAGE_CLASS%">
     %LINK_CLOSE%
    </div>

    Hope that helps,

    Paul

    Thread Starter pabnews

    (@pabnews)

    that seems to work Paul.. ! many thanks.

    One other quicky….

    If i want to use my own photo, but have localised links, how do i go about doing that?

    KRs
    Paul

    Thread Starter pabnews

    (@pabnews)

    Also,.. what code would i need to align&justify left/right the iframe?

    Thread Starter pabnews

    (@pabnews)

    sok.. ive sussed the align iframe issue..!

    Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    You can manually specify the image that the template displays, someone else asked this recently, see here:

    https://www.ads-software.com/support/topic/using-localisation?replies=12#post-3512667

    Cheers,

    Paul

    Thread Starter pabnews

    (@pabnews)

    Thanks again Paul..

    Thread Starter pabnews

    (@pabnews)

    One issue i have found Paul..

    When the amazon item, has different ASINs in the US and UK.. For example, ive just found this to be the case for Google Chromebooks…

    In this case it either works in the UK or the US but not both.. and u get an error.

    An ideal solution would be have different ASINs depending on the country..

    Any ideas?

    Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    You can manually specify the ASIN for each country if you know it using the format:

    asin[uk]=0123456789&asin[us]=9876543210

    Is this what you want to do?

    Cheers,

    Paul

    Thread Starter pabnews

    (@pabnews)

    spot on Paul!
    Many thanks for your time.

    regards
    Paul

    Thread Starter pabnews

    (@pabnews)

    Hi Paul

    Is it possible to link to a non-product specific page… i.e. bestselling digital cameras… i.e. there is no specific ASIN number?…
    links would be, (without my affiliate ID):
    UK
    https://www.amazon.co.uk/Bestsellers-Electronics-Digital-Cameras/zgbs/electronics/560836/ref=zg_bs_nav_ce_2_560834
    or
    US
    https://www.amazon.com/best-sellers-camera-photo/zgbs/photo/ref=zg_bs_nav_0

    thanks
    Paul

    Plugin Author paulstuttard

    (@paulstuttard)

    The development version of the plugin allows you to specify the URL to use, but you would have to manually include the TAG as part of the URL so you wouldn’t gain much.

    The current version will let you manually create your links, so its pretty labour intensive but you keep the localisation:

    In the shortcode:

    [amazon template=manual&url[uk]=https://www.amazon.co.uk/Bestsellers-Electronics-Camera-Photo/zgbs/electronics/560834&url[us]=https://www.amazon.com/best-sellers-camera-photo/zgbs/photo&title=Bestselling Cameras]

    With a template containing something like:

    <div class="al_found%FOUND%">
       <a href="%URL%?tag=%TAG%">%TITLE%</a>
    </div>

    Make sure the template is set to Type “No ASIN”.

    That might do what you want?

    Paul

    Thread Starter pabnews

    (@pabnews)

    Thanks for that Paul…. However, just to clarify, are you saying I need to create a new template containing the code you specify?.. If so, how would I go about doing that?

    thanks
    Paul

    Thread Starter pabnews

    (@pabnews)

    Actually Paul.. I’ve figured it out and got it working…. easy peasy!
    Thanks again
    Paul

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘justify images’ is closed to new replies.