Jump to content

(DP34) Advanced Thumbnails


DawPi

Recommended Posts

  • Replies 239
  • Created
  • Last Reply

I can't use the Tool setting, it give me an Error. Also is there anyway to change the Thumbnail size on all forum at once? Right now if I want to change the Thumbnail size, I have to do individually on all forums.

Well I still like want the option to change individual forum to certein height and width of course, but be nice there an extra option to change all the forum to a height and width too.

Thanks!

Link to comment
Share on other sites

Hello Kandice,


I can't use the Tool setting, it give me an Error.



You think it's enough to write me? Maybe you could extend this to describe the error - screen would be best! :smile:


Also is there anyway to change the Thumbnail size on all forum at once? Right now if I want to change the Thumbnail size, I have to do individually on all forums.



Run this query:

UPDATE dp3_adt_thumbnails SET t_width = XXX, t_height = YYY


Where XXX and YYY are new dimensions

Link to comment
Share on other sites

Oh sorry, thought it was a common error. Here screen shot. [img]

[/img] Can you tell me how to do a Run Query in Admin Control Panel?


Strange.. Please reupload all files.. I just updated the file and should be fine.

Can you tell me how to do a Run Query in Admin Control Panel?


Go to:
ACP -> Support -> SQL Management -> SQL Toolbox -> Run Query (below the tables list)
Link to comment
Share on other sites

I'd like to set a width on thumbnails, but not a height (so that correct aspect ratio is maintained and images are not stretched). I can't see a way to do this currently - if I leave the height setting blank, height="50" still appears in the img tag.

Is this possible? If not, could you consider adding this option?

Link to comment
Share on other sites

insectdude, open 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['prefix'] = "<img src='" . $data['attach_thumb_location'] . "' width='" . $data['adt_width'] . "px' " . ( $data['adt_height'] ? "height='" . $data['adt_height'] . "px'" : '' ) . " title='" . $data['title'] . "' /> &nbsp;" . $data['prefix'];

Then open: admin/applications_addon/other/athumbnails/sources/classes/library.php Find:

$topic_data[ $ck['tid'] ]['adt_height'] = $info['t_height'] ? $info['t_height'] : '50';

Change to:

$topic_data[ $ck['tid'] ]['adt_height'] = $info['t_height'] ? $info['t_height'] : '0';   [/code]

And reimport it in: ACP -> System -> Applications & Modules -> Manage Hooks -> Install a New Hook




Link to comment
Share on other sites

Dawpi you can compare it just using site that have using this mod with firefox and other browser. Firefox the thumbnail scale is bad compare to other browser.

And will there be option in the future where we can set the size of the thumbnail image according to the width and height of the original image. Like keep the image aspect ratio, just re-scale it. Kind of like what insectdude mention. All image size now is a fix size meaning some image look good and some look really stretch and bad. Can still enter the height and width too for other people if they don't like this feature.

If not, that's ok. I will just use the hack you just give for now.

Link to comment
Share on other sites

  • 2 weeks later...

DawPi, I hope you fix the Internal Image Thumbnail generated. Because right now can't use Internal Image at all because it is so blurry. Example below is first picture I have Advance Thumbnail setting to show Internal Image and using image attachment. 2nd one is External. As you can see, Internal is very blurry for some reason making using Internal image useless right now.

%7Boption%7D

Link to comment
Share on other sites

Does this mod have a global setting where it affects all the forums instead of having to set them up one by one?

Also, is there a way we can change the layout to look like the image attached?
The current layout has too much of a gap and it looks a bit weird.

Link to comment
Share on other sites

Hello iWeb,


Does this mod have a global setting where it affects all the forums instead of having to set them up one by one?



http://community.invisionpower.com/topic/310808-download-dp32-advanced-thumbnails/page__st__100#entry2235126


Also, is there a way we can change the layout to look like the image attached?


The current layout has too much of a gap and it looks a bit weird.



For now no.. I'll check it when I finish a new version of this mod.
Link to comment
Share on other sites

In regards to the global settings, the pixel size wasn't what I was referring to, but I the idea how to change things from the link you posted.

I had been looking for this type of mod for a while. Thanks!

Link to comment
Share on other sites


Kandice, what you suggest? What I should do?




Hi DawPI, sorry for my late reply. I want to suggest that when you use Internal Image and use it as an attachment. The Thumbnail don't get resize base on the Thumbnail Attachment size. It just blow up the icon of the Thumbnail attachment. I would suggest it take original thumbnail image and resize it instead.

I just want to know if it's possible to make the image resize for the thumbnail to look like External because when I use Internal it is very blurry and pixelated.
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...