[resolved] [Plugin: WordPress Download Monitor] use image for download? (7 posts)

  1. wpelvis
    Posted 6 years ago #

    Hi i am trying to have an image before the download link.

    i have set the custom output format to:
    <img src="{image-url}" class="dlimg"> Download: {title} - {description}

    this gives me:

    <img class="dlimg" src="{image-url}"/>
    - test

    ie. the image url doesn't get unpacked.

    if i try set the custom output format to:
    "{image-url}" Download: {title} - {description}

    then it puts in the actual image-url as text.

    Is there a way to get an image by the download link?

    in the post i am using the pulldown menu so post reads:
    [download id="1"]


  2. Mike
    Posted 6 years ago #

    {image_url} is one of the settings in config, you have a dash instead of an underscore.

    Regardless, it looks like you want to use the custom fields for the image right? So its different for each one?

    In which case, if your custom field was called image-url you should use:


  3. wpelvis
    Posted 6 years ago #

    thanks! i could've sworn i copied and pasted it, but must have written it by hand and copied it wrong!

    thanks for speedy reply, I love the plugin.


  4. quaker
    Posted 6 years ago #

    I dont understand ,

    i used the in the custom field name:{meta-image-url}
    and in the value I used the location to the image.

    I want the image to be used for the item instead of the Down arrow.

    scott @ nalan dot org

  5. quaker
    Posted 6 years ago #

    ok i got it working...

    I used the code thumbnail in the custom field

    and the image location for the value.

    I would liek to see this added to the guide on ur site.



  6. TopazAaron
    Posted 6 years ago #

    i cant get this to work. i want the http://tech-orgy.us.to/wp-content/plugins/download-monitor/page-addon/thumbnail.gif image changed so i can use diffrent pictures there for each plugin

  7. pramudita
    Posted 5 years ago #

    Make a custom field
    Example :
    custom field name : image_url
    custom field value : url to your image

    set the custom output format to:
    <img src="{meta-image_url}" class="dlimg"> Download: {title} - {description}

    Also you can try this custom output format
    <img src="{meta-image_url}" alt="{title}" />

    Nice and great plugin, I like it !

Topic Closed

This topic has been closed to new replies.

About this Topic