before I used MSN thumb to show the screenshots of sites, since it doesn't work any more, so I go back to attachment images.
the old upload of images are still showing correctly, but new upload does't show up, I check the DB, it has the new entry, but the thumb just doesn't display on the site.
I used this to show in debug mode, and got some warnings.
..../thumbnail.php?id=0&attachid=89&debug=1
Warning: imagecreatefrompng(templates/lightblue/images/nothumbnail.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/classes/gd.php on line 204
Warning: imagesx(): supplied argument is not a valid Image resource in /home/xxxxx/public_html/classes/gd.php on line 205
Warning: imagesy(): supplied argument is not a valid Image resource in /home/xxxxx/public_html/classes/gd.php on line 206
Warning: Division by zero in /home/xxxxx/public_html/classes/gd.php on line 207
Warning: Division by zero in /home/xxxxx/public_html/classes/gd.php on line 207
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/classes/database.php:248) in /home/xxxxx/public_html/classes/gd.php on line 228
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/xxxxx/public_html/classes/gd.php on line 229
Before I was on wsnlinks_3.4.2, and I upgraded to 4.0.31 last year.
I check with the 'attachments' folder, the problem here is the script doesn't make the thumb_xxxxxxxxxxxxxxxxx.jpg for the new upload/edit. That is why no image shows up.
id=0 would be a nonexistant link #0. You could remove that parameter entirely in 4.1, but 4.0 requires a valid link be specified. What HTML are you using?
Does /home/urlznet/public_html/attachments/17ce698c0a47fd826d4c50d03a023370.wsn exist?
"CREATOR: gd-jpeg v1.0" may imply that GD 1 is in use, which is ancient. It may not work with something that old, I'd recommend GD 2. At any rate your GD seems different than mine: my output vs. yours.
I also see you're running PHP 4.4.7. That's still supported for the moment, but PHP is abandoning version 4 at the end of this year -- which means three days from now.
Comments on Attachment images not showing
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
I am with WSN Links 4.0.31.
before I used MSN thumb to show the screenshots of sites, since it doesn't work any more, so I go back to attachment images.
the old upload of images are still showing correctly, but new upload does't show up, I check the DB, it has the new entry, but the thumb just doesn't display on the site.
I used this to show in debug mode, and got some warnings.
..../thumbnail.php?id=0&attachid=89&debug=1
Before I was on wsnlinks_3.4.2, and I upgraded to 4.0.31 last year.
Any idea what the warning indicates?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The warning indicates you're missing the nothumbnail.png file which should be in your images directory.
Did you get nothing but that in debug mode? Debug mode is supposed to show the queries, have you ommited them?
before I used MSN thumb to show the screenshots of sites, since it doesn't work any more, so I go back to attachment images.
I'd recommend thumbshots.org -- it'll be integrated as a switch in 4.1.23 (probably released this weekend).
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
I removed the queries.
I check with the 'attachments' folder, the problem here is the script doesn't make the thumb_xxxxxxxxxxxxxxxxx.jpg for the new upload/edit. That is why no image shows up.
This is working one for the old upload.
This is new upload that is not working.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
id=0 would be a nonexistant link #0. You could remove that parameter entirely in 4.1, but 4.0 requires a valid link be specified. What HTML are you using?
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
id=0 would be a nonexistant link #0. You could remove that parameter entirely in 4.1, but 4.0 requires a valid link be specified.
I get this image URL if the thumb image doesn't show up.
If the thumb image shows up, I will get
What HTML are you using?
What do you mean by that? I am using the customized template.
This is what I used in the template to display thumb image.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Does /home/urlznet/public_html/attachments/17ce698c0a47fd826d4c50d03a023370.wsn exist?
"CREATOR: gd-jpeg v1.0" may imply that GD 1 is in use, which is ancient. It may not work with something that old, I'd recommend GD 2. At any rate your GD seems different than mine: my output vs. yours.
I also see you're running PHP 4.4.7. That's still supported for the moment, but PHP is abandoning version 4 at the end of this year -- which means three days from now.
Since there are no errors in your output (though I thought I saw one before), this may require inspection if it's not the GD version: scripts.webmastersite.net/w...dex.php?section=inspection
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
I also upgraded the script to 4.0.42, but it still did not work.
The server has no problem, it has multi-stable versions of GD installed.
I have 4.0.39 installed in the sub-folder, the thumbnail is working perfectly.
However after comparing the setting with 4.0.39, I select 'No' for 'Resize large images on upload?', then, the thumbnail shows up again.
anyway, thank you Paul.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That means it had nothing to do with thumbnails, but rather the images themselves weren't showing either.
it has multi-stable versions of GD installed.
"multi-stable" isn't a version number. GD 1 may be stable, but it doesn't support much.