Webmastersite.net
Register Log In

Category images, thumbnail.php

Comments on Category images, thumbnail.php

Damir
Forum Regular

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia

Total Topics: 46
Total Comments: 136
Damir
Posted Oct 10, 2008 - 12:50 PM:

i have a problem i have created custom file filed for category. I have uploaded a image to some categories and now i would like to show images in different sizes for a category.

I have tried this:
<img src="thumbnail.php?catid={CATID}&field=iconattach&thumbwidth=170&thumbheight=130">
<img src="download.php?catid={CATID}&field=iconattach&thumbwidth=170&thumbheight=130">

but nothing works can someone help?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 13, 2008 - 4:47 PM:

As far as I can tell, category custom attachments don't work at all right now... so the issue of resizing doesn't arise. Fixed them.
Damir
Forum Regular

Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia

Total Topics: 46
Total Comments: 136
Damir
Posted Oct 17, 2008 - 2:06 PM:

I believe that thumbnail.php is not working properly with png on categories ... The background is the same color as the image that has been resized.

See the screen shot use this code
<img src="thumbnail.php?catid={CATID}&field=iconattach& thumbwidth=30&thumbheight=30">

Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 18, 2008 - 4:04 PM:

GD does an ugly job with transparent PNGs. IE 6 can't display them anyway though, so it's not a high priority to find a workaround that'd still only work in some browsers.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.