Jump to content

(DP34) Advanced Thumbnails


DawPi

Recommended Posts

  • Replies 239
  • Created
  • Last Reply
  • 3 weeks later...

THL, open this file: admin/applications_addon/other/athumbnails/xml/hooks/hook.xml
Find:

$data['prefix'] = "<img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /> &nbsp;" . $data['prefix'];[/CODE]

Change to:

[CODE]$data['tags']['formatted']['prefix'] = "<img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' height='" . $data['adt_height'] . "px' title='" . $data['title'] . "' /> &nbsp;" . $data['tags']['formatted']['prefix'];


Save and click on the Reimport Application Hooks on the Hooks management page.

Link to comment
Share on other sites

  • 3 weeks later...

Howdy. Nice mod but I'm having a couple of issues.

With thumbs that don't show and only have a white box with a red cross, its looking in here for a thumbnail.............

/public/style_emoticons/%3C#EMO_DIR#


While the thumns that are showing correctly are loading from this driectory.............

/uploads/monthly_08_2012/post-1-0-58718400-1344669302.jpg

I have it set for internal images.

Not sure why that is.

The particular forum I'm trying this in is here .........

http://www.australas...forum/18-avian/

You will notice the red X boxes.

The other issue and this might be impossible. Rather than have set dimensions for thumbnails, is it possible to have a % of the image size. The problem is with vertical images. They still show in a wide scale and look completely wrong in scale. A percentage size would cure that problem.

All the best and any help is good help. If you need access, not a problem.

Danny.

Link to comment
Share on other sites

Using the new version 1.04 which worked great for a couple of days and now its just dead. Tried all the settings and now I'm just running "internal images" and yet they are not working either. Any ideas. Link to one of the forums its set up for..............

http://www.australasiaforum.net/afn/index.php?/forum/18-avian/

Images 1, 2, 3 and 5 are all internal and thats what its set for. Tried all the other settings as well.

Thanks.

Danny.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...