Linc Posted March 27, 2006 Share Posted March 27, 2006 Hey everyone,I'm hoping someone here can help me. Basically, I'm trying to put together a really simply product catalog for someone. The problem is that I'm using a thumbnail generator to make the thumbs for product images and it works on every computer I'm tried it on...including friend's computers I've IMed the link to. However, on the clients computers it says that the image uploaded does't exist. Here's the fun part...everything works fine every computer I've tried it on! Their photos are uploaded and the thumbs are running fine.Here's a link to the current site: [a href=\"http://store.miracleperformance.com/listing.php?cat=2\" target=\"_blank\"]http://store.miracleperformance.com/listing.php?cat=2[/a]If anyone has some suggestions or anything, please help! Quote Link to comment https://forums.phpfreaks.com/topic/5959-thumbnail-generator-gives-errors-on-some-browsers/ Share on other sites More sharing options...
kenrbnsn Posted March 27, 2006 Share Posted March 27, 2006 We need to see your code.Ken Quote Link to comment https://forums.phpfreaks.com/topic/5959-thumbnail-generator-gives-errors-on-some-browsers/#findComment-21338 Share on other sites More sharing options...
Linc Posted March 27, 2006 Author Share Posted March 27, 2006 Well, the actual thumbnail code is courtesy of phpThumb (http://phpthumb.sourceforge.net).As for the invocation, it's:[code]while (($prod_row = mysql_fetch_array ($products, MYSQL_ASSOC))) { echo "<tr>"; echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p align='center'>[b]<img src=\"phpthumb/phpThumb.php?src=" . UPLOAD_PATH . $prod_row['filename'] . "&w=310\" width=\"95\">[/b]</p></td>"; echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>$prod_row[product_number]</p></td>"; echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>$prod_row[title]<br><br></td>"; echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>24 hours</p></td>"; echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>$$prod_row[price]</p></td>"; echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p><a href='product.php?product=$prod_row[prod_id]'>View Product</a><br /><br /><a href='#'>Add to Cart</a></p></td>"; //echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'>$prod_row[description]</td>"; echo "</tr>"; }[/code]An example of the final <img> code would be: [a href=\"http://store.miracleperformance.com/phpthumb/phpThumb.php?src=/upload/MP2202.jpg&w=310\" target=\"_blank\"]http://store.miracleperformance.com/phpthu...P2202.jpg&w=310[/a]src = path to the file including filenamew = width of the imageHope that helps.--Joel Quote Link to comment https://forums.phpfreaks.com/topic/5959-thumbnail-generator-gives-errors-on-some-browsers/#findComment-21344 Share on other sites More sharing options...
ToonMariner Posted March 27, 2006 Share Posted March 27, 2006 Are your clients getting any error messages back?Are you operating the machine or are they? (as impossible as it sems NEVER think that a user is doing everything right - although it should be that they can't!).Are they trying to upload enourmous bitmaps?....sned us some more info on what they are doing, how they get the errors and some snippets.BTW What you have done is not exaclty thumnails - you are just re-sizing the images. No biggie I suppose but will affect page download time, pic quality etc. etc. Quote Link to comment https://forums.phpfreaks.com/topic/5959-thumbnail-generator-gives-errors-on-some-browsers/#findComment-21345 Share on other sites More sharing options...
Linc Posted March 28, 2006 Author Share Posted March 28, 2006 No, they're not getting any error messages. Well, what happens is when there is an error, it displays the error message in the pic. The error message it's giving them is that the file it's trying to re-size doesn't exist. The wierd thing is that I'm able to see everything fine on my end. They're adding everything properly as far as I can tell since I'm on the phone going through it step by step...plus, I can see the new image on the site as soon as they're done. And I know they're not nuts (relatively) because I walked them through taking a screen shot and emailing it to me. It honestly looks like the server-side code only craps out on 3 computers in the country :-P!They're not trying to upload bitmaps or anything, the system only takes jpegs, gifs, and pngs and there's a size limit. Quote Link to comment https://forums.phpfreaks.com/topic/5959-thumbnail-generator-gives-errors-on-some-browsers/#findComment-21441 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.