Viewing 10 replies - 1 through 10 (of 10 total)
  • I’d like the plugin to autogenerate a thumbnail of the file… like gmail does, making the thumbnail a clickable link.

    Plugin Author dFactory

    (@dfactory)

    You can custom code that. There filer hooks and pluggable functions available in the plugin.

    Use it.

    Wow fantastic!

    Can you tell me where to find those please?

    “filer hooks and pluggable functions available in the plugin.”

    Where?

    Please help

    Plugin Author dFactory

    (@dfactory)

    plugin folder includes/fuctions.php

    Thanks dF

    I don’t get it. Inside functions.php it refers to a css file.

    Are you saying that I’d have to code the whole thing myself? Apologies… I thought you were saying that it was an option that we just had to enable.

    Oops – apologies again! I was looking at the wrong file.

    …Investigating…

    I can’t work that out.

    Over on the plugin website someone wrote:

    In the functions.php file change a code

    $html .= '<a href="plugins_url('download-attachments/includes/download.php?id='.$attachment['attachment_id'])).'" title="'.$title.'">'.$title.'</a>

    on

    $attachment_id = $attachment['attachment_id']; // ID вложения
    $attachment_page = wp_get_attachment_url( $attachment_id );
    $html .= '<a href="'.$attachment_page.'">

    I don’t understand what they meant by “on”. Do you replace the top section of code with the bottom section?

    Many thanks

    Plugin Author dFactory

    (@dfactory)

    Sorry, this is a custom feature, you have to work on it on your own.

    OK thanks

    Any chance you could build that into a future version?

    Do you know of any similar plugins that achieve this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Link Through Image’ is closed to new replies.