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">
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.
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.
Comments on Category images, thumbnail.php
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
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?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Forum Regular
Usergroup: Customer
Joined: Jan 25, 2005
Location: Croatia
Total Topics: 46
Total Comments: 136
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:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.